Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.FrameForcesAndTorques3,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.1_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002582/0.002582, allocations: 355.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.397/3.397, 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.003541/0.003541, allocations: 221.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.4579/0.4579, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08369/0.08418, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.3581/0.4424, allocations: 77.86 MB / 0.6828 GB, free: 34.78 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04183/0.4843, allocations: 15.95 MB / 0.6984 GB, free: 18.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01642/0.5007, allocations: 359.2 kB / 0.6987 GB, free: 18.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01264/0.5134, allocations: 3.822 MB / 0.7024 GB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03923/0.5527, allocations: 12.95 MB / 0.7151 GB, free: 1.715 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00658/0.5594, allocations: 0.9416 MB / 0.716 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.06436/0.6238, allocations: 29.4 MB / 0.7447 GB, free: 3.328 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01837/0.6422, allocations: 7.248 MB / 0.7518 GB, free: 12.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007066/0.6493, allocations: 1.903 MB / 0.7537 GB, free: 10.29 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007123/0.6565, allocations: 3.069 MB / 0.7566 GB, free: 7.211 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001671/0.6582, allocations: 236 kB / 0.7569 GB, free: 6.98 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004465/0.6627, allocations: 1.166 MB / 0.758 GB, free: 5.812 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004889/0.6677, allocations: 2.676 MB / 0.7606 GB, free: 3.129 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002797/0.6705, allocations: 1.294 MB / 0.7619 GB, free: 1.824 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.648/1.319, allocations: 8.794 MB / 0.7705 GB, free: 37.64 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.319, allocations: 0 / 0.7705 GB, free: 37.64 MB / 410.8 MB Notification: Performance of FrontEnd: time 3.587e-06/1.319, allocations: 0 / 0.7705 GB, free: 37.64 MB / 410.8 MB Notification: Performance of Transformations before backend: time 0.0004842/1.319, allocations: 3.25 kB / 0.7705 GB, free: 37.64 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.02796/1.347, allocations: 6.609 MB / 0.7769 GB, free: 34.93 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.347, allocations: 9.031 kB / 0.7769 GB, free: 34.93 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02719/1.374, allocations: 3.338 MB / 0.7802 GB, free: 34.49 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01563/1.39, allocations: 4.205 MB / 0.7843 GB, free: 33.79 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005651/1.391, allocations: 386.2 kB / 0.7847 GB, free: 33.78 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003291/1.394, allocations: 0.4954 MB / 0.7852 GB, free: 33.77 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.054/1.448, allocations: 16.7 MB / 0.8015 GB, free: 30.56 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004071/1.448, allocations: 62.48 kB / 0.8015 GB, free: 30.55 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003146/1.452, allocations: 236.3 kB / 0.8018 GB, free: 30.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007401/1.459, allocations: 2.935 MB / 0.8046 GB, free: 29.96 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04841/1.508, allocations: 14.44 MB / 0.8187 GB, free: 24.63 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1198/1.627, allocations: 58.97 MB / 0.8763 GB, free: 8.473 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03304/1.661, allocations: 7.355 MB / 0.8835 GB, free: 2.797 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01054/1.671, allocations: 4.482 MB / 0.8879 GB, free: 96 kB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04397/1.715, allocations: 15.43 MB / 0.9029 GB, free: 1.5 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.029e-05/1.715, allocations: 71.66 kB / 0.903 GB, free: 1.426 MB / 458.8 MB Notification: Performance of pre-optimization done (n=306): time 8.395e-06/1.715, allocations: 0 / 0.903 GB, free: 1.426 MB / 458.8 MB Notification: Performance of matching and sorting (n=348): time 0.1698/1.885, allocations: 33.59 MB / 0.9358 GB, free: 15.74 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/1.885, allocations: 216 kB / 0.936 GB, free: 15.48 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/1.899, allocations: 5.293 MB / 0.9412 GB, free: 10.21 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001289/1.9, allocations: 81.7 kB / 0.9413 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005444/1.906, allocations: 4.32 MB / 0.9455 GB, free: 5.816 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.00287/1.909, allocations: 1.279 MB / 0.9467 GB, free: 4.547 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/1.91, allocations: 168 kB / 0.9469 GB, free: 4.383 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000827/1.911, allocations: 0.6576 MB / 0.9475 GB, free: 3.715 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3536/2.264, allocations: 3.88 MB / 0.9513 GB, free: 204.4 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01671/2.281, allocations: 8.365 MB / 0.9595 GB, free: 198.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01608/2.297, allocations: 5.585 MB / 0.9649 GB, free: 197.6 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002793/2.298, allocations: 44 kB / 0.965 GB, free: 197.6 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1101) (initialization): time 0.04822/2.346, allocations: 14.17 MB / 0.9788 GB, free: 192.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/2.346, allocations: 71.12 kB / 0.9789 GB, free: 192.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002918/2.346, allocations: 157.8 kB / 0.979 GB, free: 192.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01048/2.357, allocations: 2.286 MB / 0.9813 GB, free: 192.3 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01372/2.371, allocations: 1.985 MB / 0.9832 GB, free: 192.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02772/2.398, allocations: 13.48 MB / 0.9964 GB, free: 185.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/2.409, allocations: 0.5052 MB / 0.9969 GB, free: 185 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002349/2.412, allocations: 487 kB / 0.9973 GB, free: 184.6 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1029): * Single equations (assignments): 1024 * 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.009644/2.421, allocations: 3.081 MB / 1 GB, free: 181.9 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001535/2.423, allocations: 0.4898 MB / 1.001 GB, free: 181.7 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02796/2.451, allocations: 8.378 MB / 1.009 GB, free: 175 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001123/2.451, allocations: 19.31 kB / 1.009 GB, free: 175 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/2.451, allocations: 0 / 1.009 GB, free: 175 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004311/2.455, allocations: 1.154 MB / 1.01 GB, free: 174.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002031/2.458, allocations: 59.98 kB / 1.01 GB, free: 174 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005671/2.463, allocations: 270.7 kB / 1.01 GB, free: 173.8 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009517/2.464, allocations: 234 kB / 1.011 GB, free: 173.5 MB / 0.4949 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0311/2.495, allocations: 8.703 MB / 1.019 GB, free: 164.8 MB / 0.4949 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02752/2.523, allocations: 11.33 MB / 1.03 GB, free: 153.4 MB / 0.4949 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007344/2.53, allocations: 3.178 MB / 1.033 GB, free: 150.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008287/2.539, allocations: 3.322 MB / 1.037 GB, free: 146.9 MB / 0.4949 GB Notification: Performance of Backend: time 1.282e-06/2.539, allocations: 0 / 1.037 GB, free: 146.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.02277/2.561, allocations: 6.969 MB / 1.043 GB, free: 140 MB / 0.4949 GB Notification: Performance of SimCode: time 0.0422/2.604, allocations: 16.81 MB / 1.06 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.1982/2.802, allocations: 77.08 MB / 1.135 GB, free: 46.75 MB / 0.4949 GB