Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.ForcesAndTorques.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.ForcesAndTorques,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.ForcesAndTorques") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004046/0.004053, allocations: 371 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.889/3.889, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.004951/0.00495, allocations: 228 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.4956/0.4956, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004354, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09982/0.1003, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForcesAndTorques): time 0.4223/0.5226, allocations: 92.35 MB / 0.7703 GB, free: 10.51 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05771/0.5804, allocations: 18.39 MB / 0.7882 GB, free: 10.71 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0205/0.601, allocations: 427.1 kB / 0.7887 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01691/0.6179, allocations: 4.542 MB / 0.7931 GB, free: 5.734 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05384/0.6718, allocations: 15.32 MB / 0.8081 GB, free: 6.348 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007791/0.6797, allocations: 0.9948 MB / 0.809 GB, free: 5.352 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07043/0.7502, allocations: 30.58 MB / 0.8389 GB, free: 6.723 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02015/0.7704, allocations: 8.906 MB / 0.8476 GB, free: 13.75 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005644/0.7761, allocations: 2.203 MB / 0.8497 GB, free: 11.54 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01061/0.7867, allocations: 3.598 MB / 0.8533 GB, free: 7.926 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00266/0.7894, allocations: 268 kB / 0.8535 GB, free: 7.664 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006382/0.7959, allocations: 1.092 MB / 0.8546 GB, free: 6.57 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007526/0.8035, allocations: 3.195 MB / 0.8577 GB, free: 3.367 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004468/0.808, allocations: 1.512 MB / 0.8592 GB, free: 1.844 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02218/0.8302, allocations: 10.23 MB / 0.8692 GB, free: 7.59 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8303, allocations: 0 / 0.8692 GB, free: 7.59 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.8303, allocations: 0 / 0.8692 GB, free: 7.59 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000448/0.8308, allocations: 4 kB / 0.8692 GB, free: 7.586 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.03616/0.867, allocations: 7.711 MB / 0.8767 GB, free: 15.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.867, allocations: 8.031 kB / 0.8767 GB, free: 15.78 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03054/0.8976, allocations: 3.535 MB / 0.8802 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0168/0.9145, allocations: 4.813 MB / 0.8849 GB, free: 7.336 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006494/0.9152, allocations: 451.5 kB / 0.8853 GB, free: 6.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003022/0.9182, allocations: 0.5894 MB / 0.8859 GB, free: 6.305 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05768/0.9759, allocations: 18.86 MB / 0.9043 GB, free: 2.395 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000332/0.9763, allocations: 71.3 kB / 0.9043 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002083/0.9784, allocations: 283.8 kB / 0.9046 GB, free: 2.047 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.6139/1.592, allocations: 3.306 MB / 0.9078 GB, free: 170.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05445/1.647, allocations: 15.93 MB / 0.9234 GB, free: 166.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1247/1.772, allocations: 70.17 MB / 0.9919 GB, free: 101.4 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03762/1.809, allocations: 8.674 MB / 1 GB, free: 92.64 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009988/1.819, allocations: 4.985 MB / 1.005 GB, free: 87.64 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02863/1.848, allocations: 11.86 MB / 1.017 GB, free: 75.65 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.019e-05/1.848, allocations: 73.17 kB / 1.017 GB, free: 75.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=347): time 7.825e-06/1.848, allocations: 0 / 1.017 GB, free: 75.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=389): time 0.1692/2.017, allocations: 39.78 MB / 1.056 GB, free: 35.55 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/2.017, allocations: 244.9 kB / 1.056 GB, free: 35.27 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01659/2.034, allocations: 7.36 MB / 1.063 GB, free: 27.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001127/2.035, allocations: 81.7 kB / 1.063 GB, free: 27.83 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004504/2.04, allocations: 5.201 MB / 1.068 GB, free: 22.64 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002454/2.042, allocations: 1.446 MB / 1.07 GB, free: 21.2 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001734/2.044, allocations: 200 kB / 1.07 GB, free: 21.01 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0009142/2.045, allocations: 0.7478 MB / 1.071 GB, free: 20.25 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01188/2.057, allocations: 4.42 MB / 1.075 GB, free: 15.83 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/2.072, allocations: 10.03 MB / 1.085 GB, free: 3.074 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3501/2.422, allocations: 6.521 MB / 1.091 GB, free: 150.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001768/2.422, allocations: 56.31 kB / 1.091 GB, free: 150.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=1340) (initialization): time 0.04838/2.471, allocations: 16.36 MB / 1.107 GB, free: 144.9 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000177/2.471, allocations: 90.97 kB / 1.107 GB, free: 144.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003806/2.471, allocations: 195.3 kB / 1.107 GB, free: 144.9 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01106/2.482, allocations: 2.35 MB / 1.11 GB, free: 144.5 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01555/2.498, allocations: 2.433 MB / 1.112 GB, free: 144.2 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02938/2.528, allocations: 13.48 MB / 1.125 GB, free: 137.5 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01675/2.544, allocations: 0.5986 MB / 1.126 GB, free: 137.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002788/2.547, allocations: 0.5872 MB / 1.126 GB, free: 137.3 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 887 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.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 (1258): * Single equations (assignments): 1251 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 22,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01192/2.559, allocations: 3.609 MB / 1.13 GB, free: 135.5 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002168/2.561, allocations: 0.6363 MB / 1.131 GB, free: 135.2 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03541/2.597, allocations: 9.172 MB / 1.14 GB, free: 127.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.324e-05/2.597, allocations: 23.42 kB / 1.14 GB, free: 127.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.677e-05/2.597, allocations: 0 / 1.14 GB, free: 127.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007272/2.604, allocations: 1.358 MB / 1.141 GB, free: 126.8 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003323/2.608, allocations: 64 kB / 1.141 GB, free: 126.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009553/2.617, allocations: 263 kB / 1.141 GB, free: 126.6 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001638/2.619, allocations: 249.5 kB / 1.141 GB, free: 126.5 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.04648/2.665, allocations: 9.29 MB / 1.151 GB, free: 117.3 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.03553/2.701, allocations: 12.17 MB / 1.162 GB, free: 105.1 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.007442/2.708, allocations: 3.364 MB / 1.166 GB, free: 101.7 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01617/2.725, allocations: 4.683 MB / 1.17 GB, free: 97.05 MB / 490.8 MB Notification: Performance of Backend: time 1.252e-06/2.725, allocations: 0 / 1.17 GB, free: 97.05 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02452/2.749, allocations: 8.012 MB / 1.178 GB, free: 89.09 MB / 490.8 MB Notification: Performance of SimCode: time 0.04041/2.79, allocations: 19.51 MB / 1.197 GB, free: 69.54 MB / 490.8 MB Notification: Performance of Templates: time 0.6068/3.397, allocations: 88.58 MB / 1.284 GB, free: 148.9 MB / 0.4949 GB