DS1302

Your sketch is too long to include between code tags but you could have attached it to your post as a file.

The real question is why a sketch that purports to demonstrate that the RTC isn't working is more than 9000 characters. I could have demonstrated that in less than 1000.