Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.CutForceAndTorque2,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.CutForceAndTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003981/0.003986, allocations: 369.7 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 4.04/4.04, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003461/0.003461, allocations: 230.8 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.5159/0.5159, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007147/0.0007148, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1299, allocations: 54.87 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2): time 0.5467/0.6767, allocations: 115.8 MB / 0.7932 GB, free: 5.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.07149/0.7483, allocations: 22.7 MB / 0.8154 GB, free: 14.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02613/0.7744, allocations: 0.5301 MB / 0.8159 GB, free: 14.36 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02173/0.7962, allocations: 5.74 MB / 0.8215 GB, free: 8.59 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06862/0.8649, allocations: 19.36 MB / 0.8404 GB, free: 5.156 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.8775, allocations: 1.404 MB / 0.8418 GB, free: 3.75 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.02461/0.9022, allocations: 11.33 MB / 0.8528 GB, free: 8.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02654/0.9288, allocations: 11.46 MB / 0.864 GB, free: 12.86 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00831/0.9372, allocations: 3.009 MB / 0.867 GB, free: 9.844 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01069/0.9479, allocations: 4.771 MB / 0.8716 GB, free: 5.059 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002891/0.9508, allocations: 380 kB / 0.872 GB, free: 4.688 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005485/0.9564, allocations: 1.049 MB / 0.873 GB, free: 3.637 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00774/0.9642, allocations: 4.208 MB / 0.8771 GB, free: 15.42 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004555/0.9688, allocations: 1.956 MB / 0.879 GB, free: 13.45 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02246/0.9913, allocations: 13.09 MB / 0.8918 GB, free: 340 kB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.9914, allocations: 0 / 0.8918 GB, free: 340 kB / 474.7 MB Notification: Performance of FrontEnd: time 3.146e-06/0.9914, allocations: 0 / 0.8918 GB, free: 340 kB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006039/0.992, allocations: 0 / 0.8918 GB, free: 340 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.03225/1.024, allocations: 9.541 MB / 0.9011 GB, free: 6.695 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/1.024, allocations: 15.97 kB / 0.9011 GB, free: 6.68 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02487/1.049, allocations: 3.434 MB / 0.9045 GB, free: 3.227 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.614/1.663, allocations: 5.598 MB / 0.91 GB, free: 170.8 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009189/1.664, allocations: 0.5891 MB / 0.9105 GB, free: 170.6 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/1.668, allocations: 0.7707 MB / 0.9113 GB, free: 170.4 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07003/1.738, allocations: 24.68 MB / 0.9354 GB, free: 159.9 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004947/1.739, allocations: 84.94 kB / 0.9355 GB, free: 159.8 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00313/1.742, allocations: 366.9 kB / 0.9358 GB, free: 159.6 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01096/1.753, allocations: 4.539 MB / 0.9403 GB, free: 155 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06249/1.815, allocations: 19.38 MB / 0.9592 GB, free: 135.7 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1575/1.973, allocations: 85.58 MB / 1.043 GB, free: 48.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03569/2.009, allocations: 7.832 MB / 1.05 GB, free: 40.8 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008051/2.017, allocations: 3.111 MB / 1.053 GB, free: 37.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03639/2.053, allocations: 13.1 MB / 1.066 GB, free: 24.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/2.053, allocations: 72.77 kB / 1.066 GB, free: 23.99 MB / 490.8 MB Notification: Performance of pre-optimization done (n=336): time 8.256e-06/2.053, allocations: 4 kB / 1.066 GB, free: 23.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=360): time 0.08769/2.141, allocations: 20.65 MB / 1.086 GB, free: 3.27 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/2.141, allocations: 162.9 kB / 1.087 GB, free: 3.078 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3978/2.539, allocations: 7.332 MB / 1.094 GB, free: 152.6 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009328/2.54, allocations: 82.58 kB / 1.094 GB, free: 152.6 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.009511/2.549, allocations: 6.754 MB / 1.1 GB, free: 148.3 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003056/2.552, allocations: 1.359 MB / 1.102 GB, free: 147.3 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002136/2.555, allocations: 225.2 kB / 1.102 GB, free: 147.2 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001746/2.557, allocations: 0.7764 MB / 1.103 GB, free: 146.7 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01477/2.571, allocations: 3.267 MB / 1.106 GB, free: 145.6 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01471/2.586, allocations: 9.857 MB / 1.116 GB, free: 135.8 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01456/2.601, allocations: 5.465 MB / 1.121 GB, free: 133.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000287/2.601, allocations: 66.16 kB / 1.121 GB, free: 133.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=1454) (initialization): time 0.04033/2.641, allocations: 12.82 MB / 1.134 GB, free: 128.8 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003214/2.642, allocations: 109.7 kB / 1.134 GB, free: 128.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000505/2.642, allocations: 235 kB / 1.134 GB, free: 128.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005875/2.643, allocations: 343.8 kB / 1.134 GB, free: 128.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02318/2.666, allocations: 2.576 MB / 1.137 GB, free: 128.5 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006941/2.667, allocations: 456.3 kB / 1.137 GB, free: 128.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/2.686, allocations: 0.5175 MB / 1.138 GB, free: 128.2 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002764/2.689, allocations: 0.6589 MB / 1.138 GB, free: 128.1 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 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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.01639/2.705, allocations: 4.522 MB / 1.143 GB, free: 126 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002107/2.707, allocations: 0.6555 MB / 1.143 GB, free: 125.3 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01778/2.725, allocations: 4.079 MB / 1.147 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.951e-05/2.725, allocations: 14.95 kB / 1.147 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/2.725, allocations: 0.8594 kB / 1.147 GB, free: 121.9 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002973/2.728, allocations: 0.67 MB / 1.148 GB, free: 121.2 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003254/2.731, allocations: 56.81 kB / 1.148 GB, free: 121.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007508/2.739, allocations: 173.2 kB / 1.148 GB, free: 121 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001136/2.74, allocations: 187.7 kB / 1.148 GB, free: 120.9 MB / 490.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0197/2.76, allocations: 4.427 MB / 1.153 GB, free: 117.1 MB / 490.8 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01645/2.776, allocations: 4.73 MB / 1.157 GB, free: 112.9 MB / 490.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.006619/2.783, allocations: 1.849 MB / 1.159 GB, free: 111.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.01622/2.799, allocations: 4.553 MB / 1.164 GB, free: 106.9 MB / 490.8 MB Notification: Performance of Backend: time 1.713e-06/2.8, allocations: 0 / 1.164 GB, free: 106.9 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02759/2.827, allocations: 6.319 MB / 1.17 GB, free: 100.7 MB / 490.8 MB Notification: Performance of SimCode: time 0.0662/2.893, allocations: 23.58 MB / 1.193 GB, free: 77.02 MB / 490.8 MB Notification: Performance of Templates: time 0.2135/3.107, allocations: 70.51 MB / 1.262 GB, free: 6.754 MB / 490.8 MB