Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002681/0.002685, allocations: 363.8 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.927/3.927, allocations: 388.9 MB / 405.6 MB, free: 9.641 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003504/0.003504, allocations: 225.6 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.6657/0.6657, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004753, allocations: 19.66 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09562, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3): time 0.3846/0.4803, allocations: 47.38 MB / 0.7264 GB, free: 11.87 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02718/0.5075, allocations: 9.564 MB / 0.7357 GB, free: 11.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01096/0.5186, allocations: 214.2 kB / 0.7359 GB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008802/0.5274, allocations: 2.343 MB / 0.7382 GB, free: 10.76 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02675/0.5542, allocations: 7.893 MB / 0.7459 GB, free: 7.875 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003328/0.5576, allocations: 318.2 kB / 0.7462 GB, free: 7.793 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00617/0.5638, allocations: 3.365 MB / 0.7495 GB, free: 6.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007852/0.5717, allocations: 3.901 MB / 0.7533 GB, free: 5.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002295/0.5741, allocations: 0.8641 MB / 0.7542 GB, free: 5.07 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003247/0.5774, allocations: 1.393 MB / 0.7555 GB, free: 4.602 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008773/0.5783, allocations: 122.4 kB / 0.7556 GB, free: 4.602 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002383/0.5807, allocations: 0.5537 MB / 0.7562 GB, free: 4.457 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00242/0.5832, allocations: 1.311 MB / 0.7575 GB, free: 4.008 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001168/0.5844, allocations: 0.6812 MB / 0.7581 GB, free: 3.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006956/0.5914, allocations: 4.643 MB / 0.7626 GB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.096e-06/0.5914, allocations: 0 / 0.7626 GB, free: 1.262 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.528e-06/0.5915, allocations: 0 / 0.7626 GB, free: 1.262 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002441/0.5917, allocations: 3.938 kB / 0.7627 GB, free: 1.258 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01011/0.6018, allocations: 3.111 MB / 0.7657 GB, free: 14.7 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.582e-05/0.6019, allocations: 8.031 kB / 0.7657 GB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01315/0.6151, allocations: 2.05 MB / 0.7677 GB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005268/0.6204, allocations: 1.615 MB / 0.7693 GB, free: 11.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003063/0.6208, allocations: 208.8 kB / 0.7695 GB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.6223, allocations: 260.3 kB / 0.7697 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0258/0.6481, allocations: 8.396 MB / 0.7779 GB, free: 2.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001278/0.6483, allocations: 11.88 kB / 0.7779 GB, free: 2.578 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.6497, allocations: 128.2 kB / 0.7781 GB, free: 2.484 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005266/0.655, allocations: 1.755 MB / 0.7798 GB, free: 0.7383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02446/0.6795, allocations: 7.064 MB / 0.7867 GB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06081/0.7404, allocations: 25.81 MB / 0.8119 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009703/0.7501, allocations: 2.535 MB / 0.8143 GB, free: 12.73 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/0.7531, allocations: 0.9806 MB / 0.8153 GB, free: 11.74 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01491/0.7681, allocations: 4.447 MB / 0.8196 GB, free: 7.188 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.7682, allocations: 39.56 kB / 0.8197 GB, free: 7.137 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 8.135e-06/0.7682, allocations: 4 kB / 0.8197 GB, free: 7.133 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.0138/0.782, allocations: 2.712 MB / 0.8223 GB, free: 4.414 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.9e-05/0.7821, allocations: 68.41 kB / 0.8224 GB, free: 4.336 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005719/0.7879, allocations: 2.216 MB / 0.8246 GB, free: 2.078 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002643/0.7882, allocations: 43.03 kB / 0.8246 GB, free: 2.031 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/0.7909, allocations: 2.302 MB / 0.8269 GB, free: 15.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008561/0.7918, allocations: 464.6 kB / 0.8273 GB, free: 15.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.7922, allocations: 64 kB / 0.8274 GB, free: 15.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004061/0.7926, allocations: 466 kB / 0.8278 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003601/0.7963, allocations: 1.108 MB / 0.8289 GB, free: 13.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00631/0.8026, allocations: 3.26 MB / 0.8321 GB, free: 9.324 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005345/0.808, allocations: 1.882 MB / 0.8339 GB, free: 7.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.041e-05/0.8082, allocations: 20 kB / 0.8339 GB, free: 7.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01371/0.8219, allocations: 4.272 MB / 0.8381 GB, free: 3.148 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.71e-05/0.822, allocations: 40 kB / 0.8381 GB, free: 3.109 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/0.8222, allocations: 76 kB / 0.8382 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.8224, allocations: 108 kB / 0.8383 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005361/0.8278, allocations: 0.8149 MB / 0.8391 GB, free: 2.113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002062/0.828, allocations: 147.4 kB / 0.8392 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004049/0.8321, allocations: 0.4911 MB / 0.8397 GB, free: 1.473 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008345/0.833, allocations: 234.6 kB / 0.84 GB, free: 1.246 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (447): * Single equations (assignments): 442 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004776/0.8378, allocations: 1.695 MB / 0.8416 GB, free: 15.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004737/0.8383, allocations: 197.4 kB / 0.8418 GB, free: 15.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004605/0.8429, allocations: 1.509 MB / 0.8433 GB, free: 13.83 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.158e-05/0.843, allocations: 7.922 kB / 0.8433 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.843, allocations: 0 / 0.8433 GB, free: 13.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007501/0.8437, allocations: 274.2 kB / 0.8435 GB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005033/0.8443, allocations: 16 kB / 0.8436 GB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/0.8454, allocations: 39.97 kB / 0.8436 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.8456, allocations: 48.92 kB / 0.8436 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004355/0.8499, allocations: 1.403 MB / 0.845 GB, free: 12.04 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004006/0.854, allocations: 1.595 MB / 0.8466 GB, free: 10.42 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001795/0.8558, allocations: 0.6129 MB / 0.8472 GB, free: 9.809 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0036/0.8595, allocations: 1.362 MB / 0.8485 GB, free: 8.426 MB / 442.7 MB Notification: Performance of Backend: time 1.132e-06/0.8596, allocations: 0 / 0.8485 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007628/0.8672, allocations: 2.173 MB / 0.8506 GB, free: 6.273 MB / 442.7 MB Notification: Performance of SimCode: time 0.02139/0.8886, allocations: 8.281 MB / 0.8587 GB, free: 13.94 MB / 458.7 MB Notification: Performance of Templates: time 0.08131/0.97, allocations: 22.85 MB / 0.881 GB, free: 7.188 MB / 474.7 MB