Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.Forces.FrameForcesAndTorques2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002629/0.002633, allocations: 369 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.854/3.854, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003528/0.003528, allocations: 222.2 kB / 451 MB, free: 145.1 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.4822/0.4822, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000465/0.0004654, allocations: 12 kB / 0.6265 GB, free: 96.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09437/0.09486, allocations: 54.88 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.4374/0.5323, allocations: 81.25 MB / 0.7594 GB, free: 2.461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0512/0.5836, allocations: 16.52 MB / 0.7756 GB, free: 6.383 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0188/0.6024, allocations: 377.2 kB / 0.7759 GB, free: 6.328 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01503/0.6175, allocations: 3.987 MB / 0.7798 GB, free: 3.375 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04804/0.6656, allocations: 13.48 MB / 0.793 GB, free: 5.852 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007137/0.6728, allocations: 0.9089 MB / 0.7939 GB, free: 4.941 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06358/0.7364, allocations: 29.52 MB / 0.8227 GB, free: 7.379 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01557/0.752, allocations: 7.076 MB / 0.8296 GB, free: 244 kB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004995/0.7571, allocations: 1.895 MB / 0.8315 GB, free: 14.34 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007349/0.7645, allocations: 3.139 MB / 0.8345 GB, free: 11.19 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001735/0.7663, allocations: 240 kB / 0.8348 GB, free: 10.95 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004675/0.771, allocations: 1.174 MB / 0.8359 GB, free: 9.777 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005125/0.7762, allocations: 2.747 MB / 0.8386 GB, free: 7.023 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00281/0.779, allocations: 1.322 MB / 0.8399 GB, free: 5.691 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01476/0.7938, allocations: 8.892 MB / 0.8486 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.7939, allocations: 0 / 0.8486 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.7939, allocations: 4 kB / 0.8486 GB, free: 12.77 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003818/0.7943, allocations: 0 / 0.8486 GB, free: 12.77 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.0251/0.8194, allocations: 6.702 MB / 0.8551 GB, free: 5.992 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/0.8195, allocations: 8.562 kB / 0.8551 GB, free: 5.984 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02686/0.8464, allocations: 3.384 MB / 0.8584 GB, free: 2.586 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01451/0.8609, allocations: 4.239 MB / 0.8626 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005116/0.8615, allocations: 389.8 kB / 0.863 GB, free: 13.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002601/0.8641, allocations: 0.4994 MB / 0.8634 GB, free: 13.41 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05017/0.9143, allocations: 16.68 MB / 0.8797 GB, free: 11.77 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003076/0.9147, allocations: 63.38 kB / 0.8798 GB, free: 11.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/0.9168, allocations: 239.8 kB / 0.88 GB, free: 11.47 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007985/0.9248, allocations: 2.935 MB / 0.8829 GB, free: 8.531 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04878/0.9736, allocations: 14.28 MB / 0.8968 GB, free: 10.24 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4328/1.406, allocations: 60.55 MB / 0.956 GB, free: 130.6 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03456/1.441, allocations: 8.207 MB / 0.964 GB, free: 126.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008356/1.45, allocations: 4.201 MB / 0.9681 GB, free: 124.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003153/1.45, allocations: 59.55 kB / 0.9681 GB, free: 124.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.125e-05/1.45, allocations: 66.45 kB / 0.9682 GB, free: 124.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 8.546e-06/1.45, allocations: 3.688 kB / 0.9682 GB, free: 124.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.1605/1.61, allocations: 36.2 MB / 1.004 GB, free: 90.16 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.551e-05/1.611, allocations: 218.1 kB / 1.004 GB, free: 89.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01244/1.623, allocations: 6.298 MB / 1.01 GB, free: 83.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001115/1.624, allocations: 78.88 kB / 1.01 GB, free: 83.5 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003782/1.628, allocations: 4.521 MB / 1.014 GB, free: 78.98 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002157/1.63, allocations: 1.244 MB / 1.016 GB, free: 77.75 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001309/1.632, allocations: 178.8 kB / 1.016 GB, free: 77.58 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006447/1.632, allocations: 0.6819 MB / 1.016 GB, free: 76.89 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/1.642, allocations: 4.07 MB / 1.02 GB, free: 72.81 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01318/1.656, allocations: 8.902 MB / 1.029 GB, free: 61.53 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/1.669, allocations: 5.872 MB / 1.035 GB, free: 55.66 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.669, allocations: 48 kB / 1.035 GB, free: 55.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.04173/1.711, allocations: 14.87 MB / 1.049 GB, free: 40.73 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.711, allocations: 76 kB / 1.049 GB, free: 40.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002438/1.712, allocations: 168 kB / 1.05 GB, free: 40.49 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/1.722, allocations: 2.307 MB / 1.052 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01393/1.736, allocations: 2.082 MB / 1.054 GB, free: 36.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02654/1.762, allocations: 13.5 MB / 1.067 GB, free: 22.32 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01129/1.774, allocations: 0.5539 MB / 1.068 GB, free: 21.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002125/1.776, allocations: 0.5011 MB / 1.068 GB, free: 21.27 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 766 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1081): * Single equations (assignments): 1076 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0087/1.785, allocations: 3.15 MB / 1.071 GB, free: 18.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/1.786, allocations: 0.5437 MB / 1.072 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02661/1.813, allocations: 8.45 MB / 1.08 GB, free: 9.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001067/1.813, allocations: 19.94 kB / 1.08 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/1.813, allocations: 0 / 1.08 GB, free: 9.02 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004323/1.817, allocations: 1.247 MB / 1.081 GB, free: 7.746 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002458/1.82, allocations: 53.48 kB / 1.081 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006323/1.826, allocations: 283.6 kB / 1.082 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001339/1.828, allocations: 221.9 kB / 1.082 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3583/2.186, allocations: 8.672 MB / 1.09 GB, free: 155.1 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02966/2.216, allocations: 11.48 MB / 1.101 GB, free: 151.9 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007836/2.223, allocations: 3.197 MB / 1.105 GB, free: 150.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01018/2.234, allocations: 4 MB / 1.108 GB, free: 149.3 MB / 490.7 MB Notification: Performance of Backend: time 1.062e-06/2.234, allocations: 0 / 1.108 GB, free: 149.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02216/2.256, allocations: 7.25 MB / 1.116 GB, free: 146.6 MB / 490.7 MB Notification: Performance of SimCode: time 0.03648/2.292, allocations: 17.15 MB / 1.132 GB, free: 137.4 MB / 490.7 MB Notification: Performance of Templates: time 0.205/2.497, allocations: 81.72 MB / 1.212 GB, free: 57.47 MB / 490.7 MB