Germany is about to report a second straight year of economic contraction, reminding politicians before February snap election of the daunting task they face.