Converted test testCoMTask to new QPOasesProblem