Hey guys hoping somebody can help me out with this,

I went to smog my 2006 srt about 200 miles after installing a new battery, I was not able to pass because "four drive cycles were incomplete"....