Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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.Torque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002717/0.002716, allocations: 367.4 kB / 15.96 MB, free: 6.18 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 4.015/4.015, allocations: 388.9 MB / 405.6 MB, free: 9.555 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.003509/0.003508, allocations: 227.1 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.4948/0.4948, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000456/0.0004563, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09376, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.3999/0.4937, allocations: 78.74 MB / 0.757 GB, free: 4.234 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04709/0.5409, allocations: 15.87 MB / 0.7725 GB, free: 8.793 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/0.5593, allocations: 367.5 kB / 0.7728 GB, free: 8.742 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01481/0.5741, allocations: 3.854 MB / 0.7766 GB, free: 5.883 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05228/0.6265, allocations: 13.11 MB / 0.7894 GB, free: 9.512 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009539/0.6361, allocations: 0.8738 MB / 0.7903 GB, free: 8.637 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.09192/0.7281, allocations: 29.72 MB / 0.8193 GB, free: 10.87 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02476/0.7529, allocations: 7.432 MB / 0.8265 GB, free: 3.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006848/0.7598, allocations: 1.981 MB / 0.8285 GB, free: 1.367 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01031/0.7702, allocations: 3.193 MB / 0.8316 GB, free: 14.16 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002411/0.7727, allocations: 232 kB / 0.8318 GB, free: 13.94 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006181/0.7789, allocations: 1.061 MB / 0.8328 GB, free: 12.88 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007095/0.7861, allocations: 2.817 MB / 0.8356 GB, free: 10.05 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004108/0.7902, allocations: 1.333 MB / 0.8369 GB, free: 8.707 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02011/0.8104, allocations: 8.775 MB / 0.8455 GB, free: 15.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.8105, allocations: 0 / 0.8455 GB, free: 15.91 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.8105, allocations: 0 / 0.8455 GB, free: 15.91 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004286/0.811, allocations: 0 / 0.8455 GB, free: 15.91 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: 2388 * Number of variables: 2388 Notification: Performance of Generate backend data structure: time 0.03677/0.8477, allocations: 6.976 MB / 0.8523 GB, free: 8.852 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.225e-05/0.8478, allocations: 11.97 kB / 0.8523 GB, free: 8.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03973/0.8876, allocations: 3.36 MB / 0.8556 GB, free: 5.465 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0223/0.91, allocations: 4.461 MB / 0.8599 GB, free: 0.9219 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007396/0.9108, allocations: 381.9 kB / 0.8603 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003524/0.9143, allocations: 0.5035 MB / 0.8608 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06689/0.9813, allocations: 15.94 MB / 0.8764 GB, free: 15.07 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005174/0.9818, allocations: 67.39 kB / 0.8764 GB, free: 15.01 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002981/0.9849, allocations: 243.8 kB / 0.8766 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01119/0.9961, allocations: 2.829 MB / 0.8794 GB, free: 11.93 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04429/1.04, allocations: 13.42 MB / 0.8925 GB, free: 14.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4306/1.471, allocations: 61.48 MB / 0.9526 GB, free: 129.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04239/1.514, allocations: 6.878 MB / 0.9593 GB, free: 127.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01042/1.524, allocations: 4.012 MB / 0.9632 GB, free: 125.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02276/1.547, allocations: 9.476 MB / 0.9724 GB, free: 119.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.891e-05/1.547, allocations: 73.22 kB / 0.9725 GB, free: 119.2 MB / 490.7 MB Notification: Performance of pre-optimization done (n=269): time 7.744e-06/1.547, allocations: 0 / 0.9725 GB, free: 119.2 MB / 490.7 MB Notification: Performance of matching and sorting (n=311): time 0.1586/1.706, allocations: 33.37 MB / 1.005 GB, free: 87.85 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.536e-05/1.706, allocations: 235.9 kB / 1.005 GB, free: 87.57 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/1.72, allocations: 6.926 MB / 1.012 GB, free: 80.65 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009716/1.721, allocations: 74.8 kB / 1.012 GB, free: 80.57 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004184/1.725, allocations: 4.752 MB / 1.017 GB, free: 75.83 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002043/1.727, allocations: 1.185 MB / 1.018 GB, free: 74.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/1.729, allocations: 184.5 kB / 1.018 GB, free: 74.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005715/1.729, allocations: 0.7027 MB / 1.019 GB, free: 73.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009674/1.739, allocations: 3.878 MB / 1.023 GB, free: 69.88 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01259/1.752, allocations: 9.188 MB / 1.032 GB, free: 58.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01277/1.765, allocations: 5.828 MB / 1.037 GB, free: 52.27 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/1.765, allocations: 55.94 kB / 1.037 GB, free: 52.22 MB / 490.7 MB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.04043/1.805, allocations: 14.89 MB / 1.052 GB, free: 37.31 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001244/1.805, allocations: 84 kB / 1.052 GB, free: 37.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002632/1.806, allocations: 184 kB / 1.052 GB, free: 37.05 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01432/1.82, allocations: 2.326 MB / 1.054 GB, free: 34.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01801/1.838, allocations: 2.16 MB / 1.057 GB, free: 32.55 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02676/1.865, allocations: 13.46 MB / 1.07 GB, free: 18.83 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/1.876, allocations: 0.5394 MB / 1.07 GB, free: 18.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00199/1.878, allocations: 0.543 MB / 1.071 GB, free: 17.75 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 845 * Number of states: 0 () * Number of discrete variables: 60 (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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[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 (1137): * Single equations (assignments): 1130 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00844/1.886, allocations: 3.234 MB / 1.074 GB, free: 14.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/1.888, allocations: 0.5822 MB / 1.074 GB, free: 13.92 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02453/1.913, allocations: 7.699 MB / 1.082 GB, free: 6.195 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.913, allocations: 19.94 kB / 1.082 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.913, allocations: 0 / 1.082 GB, free: 6.176 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004288/1.917, allocations: 1.196 MB / 1.083 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002752/1.92, allocations: 48 kB / 1.083 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005965/1.926, allocations: 223.7 kB / 1.083 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001287/1.927, allocations: 202 kB / 1.084 GB, free: 4.492 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.3638/2.291, allocations: 8.002 MB / 1.091 GB, free: 153.7 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.02506/2.316, allocations: 10.19 MB / 1.101 GB, free: 150.4 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.009035/2.325, allocations: 2.766 MB / 1.104 GB, free: 149.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01589/2.341, allocations: 4.392 MB / 1.108 GB, free: 147.9 MB / 490.7 MB Notification: Performance of Backend: time 1.983e-06/2.341, allocations: 3.75 kB / 1.108 GB, free: 147.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02864/2.37, allocations: 7.15 MB / 1.115 GB, free: 145.2 MB / 490.7 MB Notification: Performance of SimCode: time 0.04381/2.414, allocations: 17.45 MB / 1.132 GB, free: 135.7 MB / 490.7 MB Notification: Performance of Templates: time 0.2264/2.64, allocations: 78.77 MB / 1.209 GB, free: 58.91 MB / 490.7 MB