Thirring model partition functions and harmonic differentials