Calibrating the system dynamics of LISA Pathfinder