City man gets 30 years for child molestation