Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque2.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.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.1_ModelicaTest.MultiBody.Forces.Torque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004082/0.004088, allocations: 348.5 kB / 15.94 MB, free: 6.219 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.31/3.31, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003581/0.003581, allocations: 226.8 kB / 397.9 MB, free: 6.016 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5174/0.5174, allocations: 76.09 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004687/0.000469, allocations: 11.98 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09813, allocations: 48.71 MB / 0.6067 GB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque2): time 0.5858/0.684, allocations: 166.2 MB / 0.769 GB, free: 3.242 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.09561/0.7797, allocations: 31.64 MB / 0.7999 GB, free: 3.508 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03487/0.8146, allocations: 0.7639 MB / 0.8007 GB, free: 2.742 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.03004/0.8447, allocations: 8.22 MB / 0.8087 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.5072/1.352, allocations: 27.36 MB / 0.8354 GB, free: 8.473 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0128/1.365, allocations: 1.668 MB / 0.837 GB, free: 8.445 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.134/1.499, allocations: 58.75 MB / 0.8944 GB, free: 1.305 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.08146/1.58, allocations: 15.72 MB / 0.9098 GB, free: 6.223 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01304/1.594, allocations: 3.753 MB / 0.9134 GB, free: 3.777 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01929/1.613, allocations: 6.093 MB / 0.9194 GB, free: 15.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.005053/1.618, allocations: 456 kB / 0.9198 GB, free: 15.07 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009532/1.628, allocations: 1.231 MB / 0.921 GB, free: 14.02 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01375/1.641, allocations: 5.421 MB / 0.9263 GB, free: 9.82 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.008097/1.65, allocations: 2.499 MB / 0.9287 GB, free: 8.469 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03775/1.687, allocations: 16.71 MB / 0.9451 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/1.688, allocations: 0 / 0.9451 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.022e-05/1.688, allocations: 0 / 0.9451 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0007711/1.688, allocations: 9.688 kB / 0.9451 GB, free: 9.969 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4446 * Number of variables: 4446 Notification: Performance of Generate backend data structure: time 0.07209/1.76, allocations: 13.08 MB / 0.9579 GB, free: 14 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/1.761, allocations: 8.031 kB / 0.9579 GB, free: 14 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05835/1.819, allocations: 5.127 MB / 0.9629 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02917/1.848, allocations: 8.475 MB / 0.9711 GB, free: 2.668 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009848/1.849, allocations: 0.7453 MB / 0.9719 GB, free: 2.254 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005045/1.854, allocations: 0.9914 MB / 0.9728 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09339/1.948, allocations: 30.22 MB / 1.002 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007775/1.948, allocations: 114.5 kB / 1.002 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004556/1.953, allocations: 471.9 kB / 1.003 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01323/1.966, allocations: 5.052 MB / 1.008 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6586/2.625, allocations: 25.4 MB / 1.033 GB, free: 243.4 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.203/2.828, allocations: 112.3 MB / 1.142 GB, free: 141.3 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06388/2.892, allocations: 14.37 MB / 1.156 GB, free: 126.8 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01651/2.909, allocations: 8.681 MB / 1.165 GB, free: 118.1 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0491/2.958, allocations: 20.19 MB / 1.185 GB, free: 97.73 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/2.958, allocations: 103.1 kB / 1.185 GB, free: 97.62 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=562): time 1.063e-05/2.958, allocations: 0 / 1.185 GB, free: 97.62 MB / 0.5418 GB Notification: Performance of matching and sorting (n=646): time 0.3584/3.316, allocations: 74.63 MB / 1.258 GB, free: 22.58 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/3.317, allocations: 378.1 kB / 1.258 GB, free: 22.14 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02796/3.344, allocations: 12.08 MB / 1.27 GB, free: 10.08 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.002064/3.347, allocations: 125.7 kB / 1.27 GB, free: 9.953 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.008007/3.355, allocations: 8.369 MB / 1.278 GB, free: 1.594 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.3349/3.69, allocations: 2.379 MB / 1.28 GB, free: 229.8 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003395/3.693, allocations: 325.6 kB / 1.281 GB, free: 229.8 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.001423/3.694, allocations: 0.9936 MB / 1.282 GB, free: 229.5 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02146/3.716, allocations: 7.397 MB / 1.289 GB, free: 229.5 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02741/3.743, allocations: 15.87 MB / 1.304 GB, free: 215.9 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02435/3.768, allocations: 10.59 MB / 1.315 GB, free: 211.8 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004178/3.768, allocations: 83.16 kB / 1.315 GB, free: 211.8 MB / 0.5418 GB Notification: Performance of matching and sorting (n=2103) (initialization): time 0.07959/3.848, allocations: 27.26 MB / 1.341 GB, free: 201.4 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.000211/3.848, allocations: 134.5 kB / 1.341 GB, free: 201.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004568/3.849, allocations: 292 kB / 1.342 GB, free: 201 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02087/3.87, allocations: 4.539 MB / 1.346 GB, free: 197.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02569/3.895, allocations: 3.805 MB / 1.35 GB, free: 194.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05333/3.949, allocations: 26.8 MB / 1.376 GB, free: 168.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02024/3.969, allocations: 0.9665 MB / 1.377 GB, free: 167.8 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003873/3.973, allocations: 0.9042 MB / 1.378 GB, free: 166.9 MB / 0.5418 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.01693/3.99, allocations: 5.735 MB / 1.384 GB, free: 161.3 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00418/3.994, allocations: 1.057 MB / 1.385 GB, free: 160.8 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05289/4.047, allocations: 16.65 MB / 1.401 GB, free: 144.1 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002249/4.047, allocations: 31.84 kB / 1.401 GB, free: 144.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.113e-05/4.047, allocations: 7.984 kB / 1.401 GB, free: 144.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008557/4.056, allocations: 2.258 MB / 1.403 GB, free: 141.9 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005676/4.062, allocations: 104 kB / 1.403 GB, free: 141.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01179/4.073, allocations: 474.8 kB / 1.404 GB, free: 141.3 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002787/4.076, allocations: 438.1 kB / 1.404 GB, free: 140.9 MB / 0.5418 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05521/4.132, allocations: 16.47 MB / 1.42 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.04732/4.179, allocations: 20.97 MB / 1.441 GB, free: 103.4 MB / 0.5418 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01245/4.191, allocations: 5.862 MB / 1.446 GB, free: 97.53 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01763/4.209, allocations: 7.718 MB / 1.454 GB, free: 89.84 MB / 0.5418 GB Notification: Performance of Backend: time 1.653e-06/4.209, allocations: 0 / 1.454 GB, free: 89.84 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03903/4.248, allocations: 13.14 MB / 1.467 GB, free: 76.75 MB / 0.5418 GB Notification: Performance of SimCode: time 0.07056/4.319, allocations: 32.39 MB / 1.498 GB, free: 44.3 MB / 0.5418 GB Notification: Performance of Templates: time 0.7368/5.056, allocations: 149.7 MB / 1.644 GB, free: 109.4 MB / 0.5418 GB