Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.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.Sensors.CutForceAndTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002715/0.002715, allocations: 368.9 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.878/3.878, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003553/0.003552, allocations: 235.5 kB / 451 MB, free: 145.1 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.5943/0.5943, allocations: 80.02 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004542/0.0004546, allocations: 8.969 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/0.09436, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1): time 0.4681/0.5625, allocations: 115.8 MB / 0.7932 GB, free: 5.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0721/0.6347, allocations: 22.7 MB / 0.8154 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02535/0.6601, allocations: 0.5339 MB / 0.8159 GB, free: 14.35 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02095/0.6811, allocations: 5.74 MB / 0.8215 GB, free: 8.586 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06728/0.7484, allocations: 19.35 MB / 0.8404 GB, free: 5.164 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009784/0.7583, allocations: 1.412 MB / 0.8418 GB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02095/0.7793, allocations: 11.33 MB / 0.8528 GB, free: 8.406 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02558/0.8049, allocations: 11.46 MB / 0.864 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007634/0.8126, allocations: 3.024 MB / 0.867 GB, free: 9.824 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01187/0.8245, allocations: 4.763 MB / 0.8716 GB, free: 5.047 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002906/0.8275, allocations: 380 kB / 0.872 GB, free: 4.676 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00552/0.8331, allocations: 1.042 MB / 0.873 GB, free: 3.633 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008834/0.8419, allocations: 4.212 MB / 0.8771 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004621/0.8466, allocations: 1.956 MB / 0.879 GB, free: 13.44 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02162/0.8683, allocations: 13.09 MB / 0.8918 GB, free: 328 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.8684, allocations: 0 / 0.8918 GB, free: 328 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.436e-06/0.8684, allocations: 0 / 0.8918 GB, free: 328 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006452/0.8691, allocations: 4 kB / 0.8918 GB, free: 324 kB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03751/0.9066, allocations: 9.545 MB / 0.9011 GB, free: 6.676 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/0.9067, allocations: 8.031 kB / 0.9011 GB, free: 6.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03871/0.9454, allocations: 3.437 MB / 0.9045 GB, free: 3.211 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7392/1.685, allocations: 5.584 MB / 0.91 GB, free: 170.4 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001225/1.686, allocations: 0.592 MB / 0.9105 GB, free: 170.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004392/1.69, allocations: 0.7643 MB / 0.9113 GB, free: 170 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1012/1.792, allocations: 24.69 MB / 0.9354 GB, free: 159.5 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006134/1.792, allocations: 81.16 kB / 0.9355 GB, free: 159.4 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/1.797, allocations: 365.4 kB / 0.9358 GB, free: 159.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01646/1.813, allocations: 4.545 MB / 0.9402 GB, free: 155 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07887/1.892, allocations: 19.38 MB / 0.9592 GB, free: 135.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1496/2.042, allocations: 85.57 MB / 1.043 GB, free: 48.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0349/2.077, allocations: 7.776 MB / 1.05 GB, free: 40.86 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00788/2.085, allocations: 3.115 MB / 1.053 GB, free: 37.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03483/2.12, allocations: 13.12 MB / 1.066 GB, free: 24.11 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.473e-05/2.12, allocations: 68.72 kB / 1.066 GB, free: 24.03 MB / 490.8 MB Notification: Performance of pre-optimization done (n=336): time 7.755e-06/2.12, allocations: 0 / 1.066 GB, free: 24.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=360): time 0.08714/2.207, allocations: 20.65 MB / 1.086 GB, free: 3.309 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/2.207, allocations: 166.9 kB / 1.087 GB, free: 3.113 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3409/2.548, allocations: 7.33 MB / 1.094 GB, free: 152.2 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000684/2.549, allocations: 83.62 kB / 1.094 GB, free: 152.2 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005947/2.555, allocations: 6.751 MB / 1.1 GB, free: 147.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002059/2.557, allocations: 1.358 MB / 1.102 GB, free: 147 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001038/2.558, allocations: 217.7 kB / 1.102 GB, free: 146.8 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0007004/2.559, allocations: 0.7718 MB / 1.103 GB, free: 146.3 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0101/2.569, allocations: 3.27 MB / 1.106 GB, free: 145.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01511/2.584, allocations: 9.855 MB / 1.116 GB, free: 135.4 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01464/2.599, allocations: 5.476 MB / 1.121 GB, free: 133.4 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002456/2.599, allocations: 66 kB / 1.121 GB, free: 133.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=1454) (initialization): time 0.03475/2.634, allocations: 12.82 MB / 1.133 GB, free: 128.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001984/2.634, allocations: 109.1 kB / 1.134 GB, free: 128.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003357/2.634, allocations: 231.7 kB / 1.134 GB, free: 128.4 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003605/2.635, allocations: 347.5 kB / 1.134 GB, free: 128.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01589/2.651, allocations: 2.574 MB / 1.137 GB, free: 128.1 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004781/2.651, allocations: 455.2 kB / 1.137 GB, free: 128 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01135/2.662, allocations: 0.5214 MB / 1.138 GB, free: 127.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00198/2.664, allocations: 0.6563 MB / 1.138 GB, free: 127.7 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1060 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1390): * Single equations (assignments): 1379 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01083/2.675, allocations: 4.518 MB / 1.143 GB, free: 125.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001527/2.677, allocations: 0.659 MB / 1.143 GB, free: 125.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01184/2.689, allocations: 4.079 MB / 1.147 GB, free: 121.8 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.382e-05/2.689, allocations: 25.14 kB / 1.147 GB, free: 121.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/2.689, allocations: 0.8594 kB / 1.147 GB, free: 121.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002085/2.691, allocations: 0.6591 MB / 1.148 GB, free: 121.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002354/2.693, allocations: 59.95 kB / 1.148 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005156/2.699, allocations: 173.1 kB / 1.148 GB, free: 121 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008536/2.699, allocations: 190.3 kB / 1.148 GB, free: 120.9 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01431/2.714, allocations: 4.433 MB / 1.153 GB, free: 117.1 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01197/2.726, allocations: 4.728 MB / 1.157 GB, free: 112.9 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00481/2.731, allocations: 1.854 MB / 1.159 GB, free: 111.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01062/2.741, allocations: 4.55 MB / 1.164 GB, free: 106.9 MB / 490.8 MB Notification: Performance of Backend: time 1.112e-06/2.741, allocations: 0 / 1.164 GB, free: 106.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.01988/2.761, allocations: 6.326 MB / 1.17 GB, free: 100.7 MB / 490.8 MB Notification: Performance of SimCode: time 0.05008/2.811, allocations: 23.54 MB / 1.193 GB, free: 77.07 MB / 490.8 MB Notification: Performance of Templates: time 0.2105/3.022, allocations: 70.53 MB / 1.262 GB, free: 6.797 MB / 490.8 MB