Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.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.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.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003931/0.003937, allocations: 348.3 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.495/3.495, allocations: 341.5 MB / 358.2 MB, free: 28.73 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.003503/0.003503, allocations: 217.1 kB / 397.9 MB, free: 6.145 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.5242/0.5242, allocations: 76.09 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004852/0.0004855, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1013, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.5732, allocations: 94.18 MB / 0.6987 GB, free: 9.605 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5735, allocations: 79.66 kB / 0.6988 GB, free: 9.566 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/1.737, allocations: 198 MB / 0.8921 GB, free: 71.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.016e-06/1.737, allocations: 0 / 0.8921 GB, free: 71.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005417/1.737, allocations: 195.2 kB / 0.8923 GB, free: 71.33 MB / 426.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.03998/1.777, allocations: 9.798 MB / 0.9019 GB, free: 63.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/1.777, allocations: 12.03 kB / 0.9019 GB, free: 63.24 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04445/1.822, allocations: 3.909 MB / 0.9057 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04008/1.862, allocations: 9.134 MB / 0.9146 GB, free: 50.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001808/1.864, allocations: 0.7937 MB / 0.9154 GB, free: 49.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007509/1.871, allocations: 1.05 MB / 0.9164 GB, free: 48.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08722/1.959, allocations: 24.28 MB / 0.9401 GB, free: 22.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008774/1.959, allocations: 91.16 kB / 0.9402 GB, free: 22.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007219/1.967, allocations: 494.5 kB / 0.9407 GB, free: 22.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008395/1.975, allocations: 2.275 MB / 0.9429 GB, free: 19.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09685/2.072, allocations: 19.32 MB / 0.9618 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6276/2.7, allocations: 93.93 MB / 1.054 GB, free: 34.73 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03801/2.738, allocations: 7.724 MB / 1.061 GB, free: 34.02 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01274/2.751, allocations: 3.105 MB / 1.064 GB, free: 33.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04161/2.792, allocations: 13.16 MB / 1.077 GB, free: 29.74 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.826e-05/2.792, allocations: 70.38 kB / 1.077 GB, free: 29.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 7.243e-06/2.792, allocations: 0 / 1.077 GB, free: 29.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.09302/2.886, allocations: 20.59 MB / 1.097 GB, free: 21.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.466e-05/2.886, allocations: 167.5 kB / 1.097 GB, free: 21.23 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01929/2.905, allocations: 7.411 MB / 1.105 GB, free: 18.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008159/2.906, allocations: 83.67 kB / 1.105 GB, free: 18.62 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00618/2.912, allocations: 6.805 MB / 1.111 GB, free: 13.43 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002066/2.914, allocations: 1.366 MB / 1.113 GB, free: 12.44 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001516/2.916, allocations: 209.4 kB / 1.113 GB, free: 12.27 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001374/2.917, allocations: 0.7525 MB / 1.114 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01113/2.928, allocations: 3.219 MB / 1.117 GB, free: 10.79 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01647/2.945, allocations: 9.74 MB / 1.126 GB, free: 1.051 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01811/2.963, allocations: 5.548 MB / 1.132 GB, free: 14.82 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002828/2.963, allocations: 64 kB / 1.132 GB, free: 14.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.04241/3.006, allocations: 12.65 MB / 1.144 GB, free: 3.902 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002182/3.006, allocations: 104 kB / 1.144 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004647/3.006, allocations: 228 kB / 1.144 GB, free: 3.578 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004852/3.007, allocations: 340 kB / 1.145 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01811/3.025, allocations: 2.621 MB / 1.147 GB, free: 0.9648 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006564/3.026, allocations: 451.8 kB / 1.148 GB, free: 0.5703 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01398/3.04, allocations: 0.6868 MB / 1.148 GB, free: 0 / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007757/3.048, allocations: 0.9267 MB / 1.149 GB, free: 0 / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * 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 (1366): * Single equations (assignments): 1363 * Array equations: 3 * 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.3974/3.445, allocations: 4.511 MB / 1.154 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001992/3.447, allocations: 0.6696 MB / 1.154 GB, free: 99.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/3.462, allocations: 4.101 MB / 1.158 GB, free: 99.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.284e-05/3.462, allocations: 36.44 kB / 1.158 GB, free: 99.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.927e-05/3.462, allocations: 2.094 kB / 1.158 GB, free: 99.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/3.462, allocations: 22.36 kB / 1.158 GB, free: 99.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1043/3.567, allocations: 41.7 MB / 1.199 GB, free: 93.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0005384/3.567, allocations: 85.25 kB / 1.199 GB, free: 93.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009067/3.576, allocations: 0.8429 MB / 1.2 GB, free: 93.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000271/3.577, allocations: 128.7 kB / 1.2 GB, free: 93.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001208/3.578, allocations: 197.9 kB / 1.2 GB, free: 93.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002308/3.578, allocations: 168.8 kB / 1.2 GB, free: 93.11 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001505/3.578, allocations: 138.6 kB / 1.201 GB, free: 93.07 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02119/3.599, allocations: 7.839 MB / 1.208 GB, free: 87.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003825/3.603, allocations: 0.8363 MB / 1.209 GB, free: 86.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003205/3.607, allocations: 202.5 kB / 1.209 GB, free: 86.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01091/3.618, allocations: 272.4 kB / 1.209 GB, free: 86.62 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001849/3.619, allocations: 0.5712 MB / 1.21 GB, free: 86.39 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007906/3.62, allocations: 242.4 kB / 1.21 GB, free: 86.37 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.02074/3.641, allocations: 4.652 MB / 1.215 GB, free: 84.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.32e-07/3.641, allocations: 0 / 1.215 GB, free: 84.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.02115/3.662, allocations: 1.87 MB / 1.217 GB, free: 84.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.001666/3.664, allocations: 419.1 kB / 1.217 GB, free: 84.45 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0196/3.684, allocations: 7.547 MB / 1.224 GB, free: 81.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.811e-05/3.684, allocations: 14.44 kB / 1.224 GB, free: 81.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005365/3.689, allocations: 2.166 MB / 1.227 GB, free: 81.26 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01296/3.702, allocations: 1.151 MB / 1.228 GB, free: 80.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05439/3.757, allocations: 26.39 MB / 1.253 GB, free: 56.41 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01936/3.776, allocations: 7.167 MB / 1.26 GB, free: 51.21 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01915/3.795, allocations: 3.317 MB / 1.264 GB, free: 49.11 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00534/3.801, allocations: 0.4996 MB / 1.264 GB, free: 48.63 MB / 474.7 MB Notification: Performance of SimCode: time 3.647e-06/3.801, allocations: 0 / 1.264 GB, free: 48.63 MB / 474.7 MB Notification: Performance of Templates: time 0.2035/4.004, allocations: 57.66 MB / 1.32 GB, free: 14.29 MB / 490.7 MB