Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002752/0.002757, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.084/4.084, allocations: 388.9 MB / 405.6 MB, free: 9.637 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.003596/0.003596, allocations: 227.1 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.5405/0.5405, allocations: 80.03 MB / 0.5627 GB, free: 19.79 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004773, allocations: 11.98 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09469/0.0952, allocations: 54.86 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5377/0.6329, allocations: 98.9 MB / 0.7767 GB, free: 2.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/0.6334, allocations: 86.45 kB / 0.7767 GB, free: 2.633 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/1.754, allocations: 165 MB / 0.9379 GB, free: 86.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.955e-06/1.754, allocations: 4 kB / 0.9379 GB, free: 86.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004841/1.754, allocations: 166 kB / 0.938 GB, free: 86.7 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03258/1.787, allocations: 8.33 MB / 0.9462 GB, free: 83.28 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/1.787, allocations: 10.06 kB / 0.9462 GB, free: 83.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03081/1.818, allocations: 3.552 MB / 0.9496 GB, free: 82.69 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02568/1.843, allocations: 8.257 MB / 0.9577 GB, free: 81.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009476/1.844, allocations: 0.6256 MB / 0.9583 GB, free: 81.66 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005052/1.849, allocations: 0.8247 MB / 0.9591 GB, free: 81.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06236/1.912, allocations: 19.57 MB / 0.9782 GB, free: 75.37 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006284/1.912, allocations: 86.22 kB / 0.9783 GB, free: 75.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004592/1.917, allocations: 404 kB / 0.9787 GB, free: 75.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004775/1.922, allocations: 1.879 MB / 0.9805 GB, free: 74.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05202/1.974, allocations: 15.36 MB / 0.9955 GB, free: 66.16 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1429/2.117, allocations: 81.36 MB / 1.075 GB, free: 1.895 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.4935/2.61, allocations: 5.98 MB / 1.081 GB, free: 91.83 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007065/2.618, allocations: 2.522 MB / 1.083 GB, free: 91.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03218/2.65, allocations: 11.23 MB / 1.094 GB, free: 88.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/2.65, allocations: 60.86 kB / 1.094 GB, free: 88.83 MB / 490.7 MB Notification: Performance of pre-optimization done (n=250): time 7.895e-06/2.65, allocations: 0 / 1.094 GB, free: 88.83 MB / 490.7 MB Notification: Performance of matching and sorting (n=274): time 0.07769/2.728, allocations: 16.32 MB / 1.11 GB, free: 84.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.31e-05/2.728, allocations: 166 kB / 1.11 GB, free: 84.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01651/2.744, allocations: 6.765 MB / 1.117 GB, free: 83.71 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006011/2.745, allocations: 73.83 kB / 1.117 GB, free: 83.68 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005614/2.751, allocations: 5.803 MB / 1.123 GB, free: 80.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001631/2.752, allocations: 1.059 MB / 1.124 GB, free: 80.06 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001136/2.753, allocations: 182.1 kB / 1.124 GB, free: 80.06 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0006971/2.754, allocations: 0.6864 MB / 1.125 GB, free: 79.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008769/2.763, allocations: 2.683 MB / 1.127 GB, free: 79.71 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0128/2.776, allocations: 8.491 MB / 1.136 GB, free: 72.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01228/2.788, allocations: 4.6 MB / 1.14 GB, free: 70.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002436/2.788, allocations: 57.78 kB / 1.14 GB, free: 70.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03669/2.825, allocations: 10.84 MB / 1.151 GB, free: 67.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002579/2.825, allocations: 93.16 kB / 1.151 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000519/2.826, allocations: 208.5 kB / 1.151 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/2.827, allocations: 301.1 kB / 1.151 GB, free: 67.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04392/2.87, allocations: 2.248 MB / 1.153 GB, free: 67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/2.875, allocations: 405.4 kB / 1.154 GB, free: 66.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02022/2.896, allocations: 0.6239 MB / 1.154 GB, free: 66.75 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002523/2.898, allocations: 0.5563 MB / 1.155 GB, free: 66.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1168): * Single equations (assignments): 1165 * 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.0125/2.911, allocations: 3.739 MB / 1.159 GB, free: 65 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001563/2.912, allocations: 0.5993 MB / 1.159 GB, free: 64.67 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008974/2.921, allocations: 2.988 MB / 1.162 GB, free: 63.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.984e-05/2.922, allocations: 29.64 kB / 1.162 GB, free: 63.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/2.922, allocations: 0 / 1.162 GB, free: 63.48 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-05/2.922, allocations: 13.92 kB / 1.162 GB, free: 63.48 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0711/2.993, allocations: 24.82 MB / 1.186 GB, free: 50.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001636/2.993, allocations: 64 kB / 1.186 GB, free: 50.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003977/2.997, allocations: 0.5983 MB / 1.187 GB, free: 50.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-05/2.997, allocations: 88 kB / 1.187 GB, free: 50.08 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005798/2.998, allocations: 141.5 kB / 1.187 GB, free: 49.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.445e-05/2.998, allocations: 118.7 kB / 1.187 GB, free: 49.84 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.629e-05/2.998, allocations: 95.62 kB / 1.187 GB, free: 49.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/3.008, allocations: 5.741 MB / 1.193 GB, free: 43.34 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/3.01, allocations: 0.7206 MB / 1.194 GB, free: 42.63 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002108/3.013, allocations: 147.2 kB / 1.194 GB, free: 42.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00572/3.018, allocations: 207.7 kB / 1.194 GB, free: 42.34 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000943/3.019, allocations: 411.2 kB / 1.195 GB, free: 42.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003796/3.02, allocations: 171.3 kB / 1.195 GB, free: 41.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01248/3.032, allocations: 4.277 MB / 1.199 GB, free: 38.39 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.61e-07/3.032, allocations: 0 / 1.199 GB, free: 38.39 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01887/3.051, allocations: 1.553 MB / 1.2 GB, free: 36.84 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * 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.001494/3.053, allocations: 312.6 kB / 1.201 GB, free: 36.53 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01641/3.069, allocations: 6.241 MB / 1.207 GB, free: 31.07 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.955e-05/3.069, allocations: 8.625 kB / 1.207 GB, free: 31.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00397/3.073, allocations: 1.609 MB / 1.208 GB, free: 29.66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/3.084, allocations: 0.9581 MB / 1.209 GB, free: 28.84 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/3.131, allocations: 21.22 MB / 1.23 GB, free: 8.301 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01546/3.146, allocations: 5.964 MB / 1.236 GB, free: 3.953 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01542/3.162, allocations: 2.888 MB / 1.239 GB, free: 2.133 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002239/3.164, allocations: 414.5 kB / 1.239 GB, free: 1.742 MB / 490.7 MB Notification: Performance of SimCode: time 1.673e-06/3.164, allocations: 0 / 1.239 GB, free: 1.742 MB / 490.7 MB Notification: Performance of Templates: time 0.5797/3.744, allocations: 48.47 MB / 1.286 GB, free: 84.37 MB / 0.4949 GB