Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2.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.Force2,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|Revolute7.phi|Revolute7.w|Revolute8.phi|Revolute8.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Force2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002703/0.002707, 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.74/3.74, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003446/0.003446, allocations: 225.2 kB / 397.9 MB, free: 4.898 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.4837/0.4837, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 8 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08316/0.0837, allocations: 48.71 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force2): time 0.8804/0.9642, allocations: 165.8 MB / 0.7686 GB, free: 1.355 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.08909/1.053, allocations: 31.59 MB / 0.7995 GB, free: 24 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03983/1.093, allocations: 0.7632 MB / 0.8002 GB, free: 24 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03185/1.125, allocations: 8.239 MB / 0.8083 GB, free: 11.54 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.09352/1.219, allocations: 27.34 MB / 0.835 GB, free: 14.26 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01302/1.232, allocations: 1.7 MB / 0.8366 GB, free: 13.83 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.1231/1.355, allocations: 58.66 MB / 0.8939 GB, free: 14.05 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03406/1.389, allocations: 15.68 MB / 0.9092 GB, free: 2.902 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009483/1.399, allocations: 3.726 MB / 0.9128 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01369/1.412, allocations: 6.052 MB / 0.9188 GB, free: 10.73 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 0.003741/1.416, allocations: 448 kB / 0.9192 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006992/1.423, allocations: 1.237 MB / 0.9204 GB, free: 9.219 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.01019/1.433, allocations: 5.366 MB / 0.9256 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 0.005792/1.439, allocations: 2.466 MB / 0.928 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.02715/1.467, allocations: 16.52 MB / 0.9442 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 9.928e-06/1.467, allocations: 4 kB / 0.9442 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.356e-06/1.467, allocations: 1.5 kB / 0.9442 GB, free: 5.109 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007797/1.467, allocations: 4 kB / 0.9442 GB, free: 5.105 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4378 * Number of variables: 4378 Notification: Performance of Generate backend data structure: time 0.6702/2.138, allocations: 12.98 MB / 0.9569 GB, free: 224.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/2.138, allocations: 9.938 kB / 0.9569 GB, free: 224.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1003/2.238, allocations: 5.099 MB / 0.9618 GB, free: 223.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03104/2.269, allocations: 8.442 MB / 0.9701 GB, free: 219.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001131/2.27, allocations: 0.734 MB / 0.9708 GB, free: 219.6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005293/2.276, allocations: 0.9828 MB / 0.9718 GB, free: 219.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08977/2.365, allocations: 30.29 MB / 1.001 GB, free: 192.2 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006575/2.366, allocations: 115 kB / 1.001 GB, free: 192.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004686/2.371, allocations: 463.4 kB / 1.002 GB, free: 191.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01113/2.382, allocations: 4.996 MB / 1.007 GB, free: 186.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08274/2.465, allocations: 25.61 MB / 1.032 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1976/2.662, allocations: 111.8 MB / 1.141 GB, free: 48.16 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06966/2.732, allocations: 15.34 MB / 1.156 GB, free: 32.66 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01772/2.75, allocations: 8.804 MB / 1.165 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05201/2.802, allocations: 20.56 MB / 1.185 GB, free: 3.129 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.881e-05/2.802, allocations: 95.19 kB / 1.185 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=566): time 1.068e-05/2.802, allocations: 0 / 1.185 GB, free: 3.027 MB / 0.5105 GB Notification: Performance of matching and sorting (n=650): time 0.7216/3.524, allocations: 76.37 MB / 1.259 GB, free: 169.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001382/3.524, allocations: 376.7 kB / 1.26 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02662/3.551, allocations: 11.97 MB / 1.271 GB, free: 157 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.002248/3.553, allocations: 131 kB / 1.271 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.007283/3.56, allocations: 8.238 MB / 1.28 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.004448/3.565, allocations: 2.396 MB / 1.282 GB, free: 146.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003291/3.568, allocations: 319.7 kB / 1.282 GB, free: 146 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001338/3.57, allocations: 0.9799 MB / 1.283 GB, free: 145 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01942/3.589, allocations: 7.382 MB / 1.29 GB, free: 137.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02526/3.614, allocations: 15.7 MB / 1.306 GB, free: 118.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03614/3.65, allocations: 10.52 MB / 1.316 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003486/3.651, allocations: 84 kB / 1.316 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2081) (initialization): time 0.09596/3.747, allocations: 27.08 MB / 1.342 GB, free: 80.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001877/3.747, allocations: 132 kB / 1.343 GB, free: 80.49 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003917/3.748, allocations: 289.5 kB / 1.343 GB, free: 80.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/3.768, allocations: 4.52 MB / 1.347 GB, free: 75.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03543/3.803, allocations: 3.805 MB / 1.351 GB, free: 71.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06699/3.871, allocations: 26.53 MB / 1.377 GB, free: 44.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02067/3.891, allocations: 0.9597 MB / 1.378 GB, free: 43.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004059/3.895, allocations: 0.8905 MB / 1.379 GB, free: 42.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1307 * Number of states: 0 () * Number of discrete variables: 117 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],force4.connectionLineColor[3],force4.connectionLineColor[2],force4.connectionLineColor[1],force4.torqueColor[3],force4.torqueColor[2],force4.torqueColor[1],force4.forceColor[3],force4.forceColor[2],force4.forceColor[1],force3.connectionLineColor[3],force3.connectionLineColor[2],force3.connectionLineColor[1],force3.torqueColor[3],force3.torqueColor[2],force3.torqueColor[1],force3.forceColor[3],force3.forceColor[2],force3.forceColor[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixed6.color[3],fixed6.color[2],fixed6.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],fixed5.color[3],fixed5.color[2],fixed5.color[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1943): * Single equations (assignments): 1932 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(3,100.0%) 22,(3,100.0%) 21,(2,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01624/3.912, allocations: 5.667 MB / 1.384 GB, free: 37.29 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004117/3.916, allocations: 1.049 MB / 1.385 GB, free: 36.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3909/4.307, allocations: 16.69 MB / 1.402 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002433/4.307, allocations: 33.64 kB / 1.402 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-05/4.307, allocations: 1.344 kB / 1.402 GB, free: 181.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009022/4.316, allocations: 2.265 MB / 1.404 GB, free: 181.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00478/4.321, allocations: 105 kB / 1.404 GB, free: 181.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0128/4.334, allocations: 476.6 kB / 1.404 GB, free: 181 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003042/4.337, allocations: 444.2 kB / 1.405 GB, free: 181 MB / 0.5105 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06215/4.399, allocations: 16.58 MB / 1.421 GB, free: 175.7 MB / 0.5105 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05467/4.454, allocations: 21.1 MB / 1.442 GB, free: 167.6 MB / 0.5105 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01351/4.467, allocations: 5.903 MB / 1.447 GB, free: 164.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.02001/4.487, allocations: 7.661 MB / 1.455 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of Backend: time 2.535e-06/4.488, allocations: 0 / 1.455 GB, free: 156.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.04328/4.531, allocations: 13.13 MB / 1.468 GB, free: 143.9 MB / 0.5105 GB Notification: Performance of SimCode: time 0.1158/4.647, allocations: 32.03 MB / 1.499 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.7385/5.385, allocations: 149.3 MB / 1.645 GB, free: 140.7 MB / 0.5105 GB