Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004158/0.004163, allocations: 352.3 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.402/3.402, allocations: 341.5 MB / 358.2 MB, free: 12.56 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003469/0.003469, allocations: 229.2 kB / 397.9 MB, free: 4.906 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5117/0.5117, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004632, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0849/0.0854, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.4512/0.5366, allocations: 119.4 MB / 0.7234 GB, free: 9.074 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.08081/0.6175, allocations: 23.42 MB / 0.7462 GB, free: 1.703 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.06308/0.6806, allocations: 0.5379 MB / 0.7468 GB, free: 1.164 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0317/0.7124, allocations: 5.891 MB / 0.7525 GB, free: 11.25 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4222/1.135, allocations: 19.71 MB / 0.7718 GB, free: 7.594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009489/1.144, allocations: 1.234 MB / 0.773 GB, free: 7.57 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.09248/1.237, allocations: 43.63 MB / 0.8156 GB, free: 13 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02146/1.258, allocations: 10.17 MB / 0.8255 GB, free: 6.008 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006741/1.265, allocations: 2.617 MB / 0.8281 GB, free: 4.309 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009966/1.275, allocations: 4.363 MB / 0.8323 GB, free: 1.246 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002735/1.278, allocations: 332 kB / 0.8326 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00599/1.284, allocations: 1.239 MB / 0.8339 GB, free: 15.9 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007033/1.291, allocations: 3.818 MB / 0.8376 GB, free: 13.16 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004191/1.295, allocations: 1.804 MB / 0.8393 GB, free: 12.55 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01999/1.315, allocations: 12.17 MB / 0.8512 GB, free: 1.996 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.315, allocations: 4 kB / 0.8512 GB, free: 1.992 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.166e-06/1.315, allocations: 0 / 0.8512 GB, free: 1.992 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005766/1.316, allocations: 0 / 0.8512 GB, free: 1.992 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: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.03549/1.351, allocations: 9.242 MB / 0.8603 GB, free: 9.52 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.352, allocations: 12.03 kB / 0.8603 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03534/1.387, allocations: 4.173 MB / 0.8643 GB, free: 5.555 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02087/1.408, allocations: 5.972 MB / 0.8702 GB, free: 1.297 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006798/1.409, allocations: 0.5288 MB / 0.8707 GB, free: 1.004 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003741/1.412, allocations: 0.6994 MB / 0.8714 GB, free: 0.5469 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06863/1.481, allocations: 22.49 MB / 0.8933 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004917/1.482, allocations: 93.33 kB / 0.8934 GB, free: 15.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003277/1.485, allocations: 329.4 kB / 0.8937 GB, free: 15.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01039/1.495, allocations: 3.868 MB / 0.8975 GB, free: 11.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06699/1.562, allocations: 19.17 MB / 0.9162 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7463/2.309, allocations: 80.88 MB / 0.9952 GB, free: 166.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04064/2.349, allocations: 9.406 MB / 1.004 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01276/2.362, allocations: 6.032 MB / 1.01 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005692/2.363, allocations: 86.8 kB / 1.01 GB, free: 164.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/2.363, allocations: 80.69 kB / 1.01 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 8.546e-06/2.363, allocations: 0 / 1.01 GB, free: 164.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.2133/2.576, allocations: 49.63 MB / 1.059 GB, free: 132.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/2.576, allocations: 278 kB / 1.059 GB, free: 131.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0219/2.598, allocations: 8.291 MB / 1.067 GB, free: 123.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0021/2.6, allocations: 97.7 kB / 1.067 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005581/2.606, allocations: 6 MB / 1.073 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003242/2.609, allocations: 1.755 MB / 1.075 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002339/2.612, allocations: 235.7 kB / 1.075 GB, free: 115.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001026/2.613, allocations: 0.7938 MB / 1.076 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01429/2.627, allocations: 5.477 MB / 1.081 GB, free: 109.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01869/2.646, allocations: 11.57 MB / 1.093 GB, free: 95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01787/2.664, allocations: 7.789 MB / 1.1 GB, free: 87.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/2.664, allocations: 60 kB / 1.1 GB, free: 87.37 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1509) (initialization): time 0.05708/2.721, allocations: 19.99 MB / 1.12 GB, free: 67.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/2.721, allocations: 99.28 kB / 1.12 GB, free: 67.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002812/2.722, allocations: 208 kB / 1.12 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01538/2.737, allocations: 3.384 MB / 1.123 GB, free: 63.93 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01914/2.756, allocations: 2.788 MB / 1.126 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05299/2.809, allocations: 20.16 MB / 1.146 GB, free: 40.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01988/2.829, allocations: 0.71 MB / 1.146 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002874/2.832, allocations: 0.6539 MB / 1.147 GB, free: 39.24 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1413): * Single equations (assignments): 1407 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01191/2.844, allocations: 4.186 MB / 1.151 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002913/2.847, allocations: 0.7328 MB / 1.152 GB, free: 34.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03992/2.887, allocations: 12.21 MB / 1.164 GB, free: 22.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001493/2.887, allocations: 28.47 kB / 1.164 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.605e-05/2.887, allocations: 0 / 1.164 GB, free: 22 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006068/2.893, allocations: 1.678 MB / 1.166 GB, free: 20.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003561/2.897, allocations: 80.56 kB / 1.166 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008811/2.906, allocations: 383.4 kB / 1.166 GB, free: 19.84 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001954/2.908, allocations: 332.2 kB / 1.166 GB, free: 19.51 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04419/2.952, allocations: 12.41 MB / 1.178 GB, free: 7.137 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.3493/3.301, allocations: 15.93 MB / 1.194 GB, free: 193.7 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01126/3.313, allocations: 4.479 MB / 1.198 GB, free: 192.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0156/3.328, allocations: 5.278 MB / 1.203 GB, free: 190.7 MB / 0.5105 GB Notification: Performance of Backend: time 1.854e-06/3.328, allocations: 0 / 1.203 GB, free: 190.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0367/3.365, allocations: 9.794 MB / 1.213 GB, free: 187.1 MB / 0.5105 GB Notification: Performance of SimCode: time 0.05262/3.418, allocations: 23.38 MB / 1.236 GB, free: 175.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.2817/3.7, allocations: 111.3 MB / 1.345 GB, free: 74.84 MB / 0.5105 GB