Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Torque2.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.Torque2,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.2_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002618/0.002618, allocations: 371.5 kB / 15.97 MB, free: 6.195 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.875/3.875, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.004952/0.004952, allocations: 218.6 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.6059/0.6059, allocations: 80.03 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004545, allocations: 10.69 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 54.88 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.636/0.7375, allocations: 166.2 MB / 0.8425 GB, free: 3.121 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1006/0.8382, allocations: 31.68 MB / 0.8734 GB, free: 3.332 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03569/0.8739, allocations: 0.7639 MB / 0.8741 GB, free: 2.566 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03009/0.9041, allocations: 8.224 MB / 0.8822 GB, free: 10.3 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.5046/1.409, allocations: 27.36 MB / 0.9089 GB, free: 11.98 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01676/1.426, allocations: 1.659 MB / 0.9105 GB, free: 11.95 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.1607/1.586, allocations: 58.77 MB / 0.9679 GB, free: 3.184 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04894/1.635, allocations: 15.72 MB / 0.9832 GB, free: 8.098 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01295/1.648, allocations: 3.754 MB / 0.9869 GB, free: 5.648 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01933/1.668, allocations: 6.11 MB / 0.9929 GB, free: 1.371 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 0.00493/1.673, allocations: 452 kB / 0.9933 GB, free: 0.9297 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009634/1.682, allocations: 1.229 MB / 0.9945 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.01404/1.697, allocations: 5.435 MB / 0.9998 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.008333/1.705, allocations: 2.502 MB / 1.002 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.03843/1.743, allocations: 16.73 MB / 1.019 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/1.743, allocations: 0 / 1.019 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.186e-06/1.743, allocations: 0 / 1.019 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0008572/1.744, allocations: 4 kB / 1.019 GB, free: 12.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4454 * Number of variables: 4454 Notification: Performance of Generate backend data structure: time 0.07281/1.817, allocations: 13.1 MB / 1.031 GB, free: 0.6211 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.573e-05/1.817, allocations: 8.031 kB / 1.031 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05913/1.876, allocations: 5.129 MB / 1.036 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0289/1.905, allocations: 8.478 MB / 1.045 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.906, allocations: 0.745 MB / 1.045 GB, free: 5.281 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005008/1.911, allocations: 1.001 MB / 1.046 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0925/2.004, allocations: 30.25 MB / 1.076 GB, free: 13.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006596/2.005, allocations: 116.5 kB / 1.076 GB, free: 13.35 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004173/2.009, allocations: 468.8 kB / 1.076 GB, free: 13.23 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01292/2.022, allocations: 5.055 MB / 1.081 GB, free: 9.125 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08794/2.11, allocations: 25.42 MB / 1.106 GB, free: 7.328 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8509/2.961, allocations: 112.4 MB / 1.216 GB, free: 208.3 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06445/3.025, allocations: 14.38 MB / 1.23 GB, free: 202 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01772/3.043, allocations: 8.671 MB / 1.239 GB, free: 197.6 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06165/3.105, allocations: 20.2 MB / 1.258 GB, free: 179.3 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/3.105, allocations: 101.8 kB / 1.258 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=562): time 1.567e-05/3.105, allocations: 0 / 1.258 GB, free: 179.2 MB / 0.6043 GB Notification: Performance of matching and sorting (n=646): time 0.4115/3.517, allocations: 74.63 MB / 1.331 GB, free: 104.2 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001408/3.517, allocations: 388 kB / 1.332 GB, free: 103.8 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02739/3.544, allocations: 12.06 MB / 1.343 GB, free: 91.77 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.002137/3.546, allocations: 127.7 kB / 1.344 GB, free: 91.64 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.007845/3.554, allocations: 8.388 MB / 1.352 GB, free: 83.27 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004285/3.559, allocations: 2.381 MB / 1.354 GB, free: 80.91 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003206/3.562, allocations: 320 kB / 1.354 GB, free: 80.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001306/3.563, allocations: 1.002 MB / 1.355 GB, free: 79.59 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01971/3.583, allocations: 7.395 MB / 1.363 GB, free: 72.18 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0246/3.608, allocations: 15.86 MB / 1.378 GB, free: 52.29 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02378/3.631, allocations: 10.59 MB / 1.388 GB, free: 41.7 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002529/3.632, allocations: 84 kB / 1.388 GB, free: 41.61 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2103) (initialization): time 0.08236/3.714, allocations: 27.25 MB / 1.415 GB, free: 14.33 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003295/3.715, allocations: 132 kB / 1.415 GB, free: 14.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005097/3.715, allocations: 292 kB / 1.415 GB, free: 13.92 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02814/3.743, allocations: 4.544 MB / 1.42 GB, free: 9.359 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03366/3.777, allocations: 3.809 MB / 1.424 GB, free: 5.543 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4719/4.249, allocations: 26.77 MB / 1.45 GB, free: 238.1 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02147/4.27, allocations: 0.9654 MB / 1.451 GB, free: 237.8 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005/4.276, allocations: 0.9066 MB / 1.452 GB, free: 237.7 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1333 * 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],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.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],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 (1963): * Single equations (assignments): 1952 * 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,(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01964/4.295, allocations: 5.742 MB / 1.457 GB, free: 235.5 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004485/4.3, allocations: 1.052 MB / 1.458 GB, free: 235.5 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0557/4.355, allocations: 16.64 MB / 1.474 GB, free: 229.9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000226/4.356, allocations: 41.28 kB / 1.475 GB, free: 229.9 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.031e-05/4.356, allocations: 0 / 1.475 GB, free: 229.9 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0093/4.365, allocations: 2.264 MB / 1.477 GB, free: 229.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006618/4.372, allocations: 110.7 kB / 1.477 GB, free: 229.2 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01258/4.384, allocations: 476.4 kB / 1.477 GB, free: 229.1 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002887/4.387, allocations: 432.7 kB / 1.478 GB, free: 229 MB / 0.6043 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05822/4.446, allocations: 16.48 MB / 1.494 GB, free: 223.8 MB / 0.6043 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.05439/4.5, allocations: 20.97 MB / 1.514 GB, free: 204.1 MB / 0.6043 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01374/4.514, allocations: 5.863 MB / 1.52 GB, free: 198.2 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.02058/4.535, allocations: 7.71 MB / 1.528 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of Backend: time 9.62e-07/4.535, allocations: 3.844 kB / 1.528 GB, free: 190.6 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.04405/4.579, allocations: 13.14 MB / 1.54 GB, free: 177.7 MB / 0.6043 GB Notification: Performance of SimCode: time 0.07686/4.656, allocations: 32.42 MB / 1.572 GB, free: 145.7 MB / 0.6043 GB Notification: Performance of Templates: time 0.7845/5.44, allocations: 149.7 MB / 1.718 GB, free: 230.2 MB / 0.6043 GB