25kHz PWM signal to analog voltage (DC) using low-pass filter: Weird output

Yeah, those resistors are too small, letting too much current flow, dragging the generator output down.