Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002629/0.002634, allocations: 362 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 3.912/3.912, allocations: 388.9 MB / 405.6 MB, free: 9.598 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.003473/0.003473, allocations: 227.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.4943/0.4943, allocations: 80.03 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006899/0.0006903, allocations: 8 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1093, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.513/0.6224, allocations: 98.78 MB / 0.7766 GB, free: 2.793 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/0.6228, allocations: 84.16 kB / 0.7766 GB, free: 2.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.12/1.743, allocations: 157.9 MB / 0.9309 GB, free: 87.25 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.076e-06/1.743, allocations: 0 / 0.9309 GB, free: 87.25 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004666/1.743, allocations: 160.3 kB / 0.931 GB, free: 87.24 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03286/1.776, allocations: 8.101 MB / 0.9389 GB, free: 83.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/1.776, allocations: 10.44 kB / 0.9389 GB, free: 83.93 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03024/1.807, allocations: 3.507 MB / 0.9424 GB, free: 83.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02494/1.832, allocations: 8.121 MB / 0.9503 GB, free: 82.38 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008563/1.832, allocations: 0.5995 MB / 0.9509 GB, free: 82.36 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004879/1.837, allocations: 0.7966 MB / 0.9517 GB, free: 82.35 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06181/1.899, allocations: 18.86 MB / 0.9701 GB, free: 77.33 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000506/1.9, allocations: 94.05 kB / 0.9702 GB, free: 77.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00422/1.904, allocations: 383.7 kB / 0.9705 GB, free: 77.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004654/1.909, allocations: 1.779 MB / 0.9723 GB, free: 76.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06715/1.976, allocations: 14.82 MB / 0.9867 GB, free: 72.04 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1486/2.125, allocations: 78.8 MB / 1.064 GB, free: 12.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03063/2.155, allocations: 6.086 MB / 1.07 GB, free: 6.75 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007168/2.163, allocations: 2.433 MB / 1.072 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4059/2.568, allocations: 10.89 MB / 1.083 GB, free: 93.65 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/2.569, allocations: 62.02 kB / 1.083 GB, free: 93.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 5.871e-06/2.569, allocations: 0 / 1.083 GB, free: 93.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.07787/2.647, allocations: 16.01 MB / 1.098 GB, free: 89.48 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.979e-05/2.647, allocations: 163.2 kB / 1.098 GB, free: 89.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01697/2.664, allocations: 6.645 MB / 1.105 GB, free: 88.8 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005765/2.664, allocations: 63.66 kB / 1.105 GB, free: 88.77 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005439/2.67, allocations: 5.585 MB / 1.11 GB, free: 86.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001535/2.671, allocations: 1.013 MB / 1.111 GB, free: 85.44 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001067/2.672, allocations: 177.5 kB / 1.112 GB, free: 85.44 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005653/2.673, allocations: 0.6803 MB / 1.112 GB, free: 85.11 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008166/2.681, allocations: 2.569 MB / 1.115 GB, free: 85.09 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01297/2.694, allocations: 8.191 MB / 1.123 GB, free: 77.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01337/2.708, allocations: 4.433 MB / 1.127 GB, free: 77.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002524/2.708, allocations: 58.84 kB / 1.127 GB, free: 77.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03047/2.738, allocations: 10.44 MB / 1.137 GB, free: 75.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001785/2.739, allocations: 90.69 kB / 1.137 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003581/2.739, allocations: 201.3 kB / 1.138 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/2.739, allocations: 293.1 kB / 1.138 GB, free: 75.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01633/2.756, allocations: 2.183 MB / 1.14 GB, free: 75.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007253/2.757, allocations: 392.1 kB / 1.14 GB, free: 75.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01916/2.776, allocations: 0.6078 MB / 1.141 GB, free: 75.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0028/2.779, allocations: 0.5382 MB / 1.142 GB, free: 75.28 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * 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],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.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.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.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 (1128): * Single equations (assignments): 1125 * 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.01364/2.792, allocations: 3.606 MB / 1.145 GB, free: 73.67 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/2.794, allocations: 0.578 MB / 1.146 GB, free: 73.36 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/2.807, allocations: 2.805 MB / 1.148 GB, free: 72.25 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-05/2.807, allocations: 27.72 kB / 1.148 GB, free: 72.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.128e-05/2.807, allocations: 3.781 kB / 1.148 GB, free: 72.25 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.389e-05/2.807, allocations: 9.891 kB / 1.148 GB, free: 72.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07489/2.882, allocations: 26.45 MB / 1.174 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001578/2.882, allocations: 54.06 kB / 1.174 GB, free: 62.27 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005473/2.888, allocations: 0.5152 MB / 1.175 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001263/2.888, allocations: 81.56 kB / 1.175 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005471/2.888, allocations: 112 kB / 1.175 GB, free: 62.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001168/2.888, allocations: 104.6 kB / 1.175 GB, free: 62.15 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.244e-05/2.889, allocations: 86.58 kB / 1.175 GB, free: 62.13 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01222/2.901, allocations: 5.184 MB / 1.18 GB, free: 57.05 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002337/2.903, allocations: 0.6835 MB / 1.181 GB, free: 56.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001898/2.905, allocations: 124 kB / 1.181 GB, free: 56.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005441/2.911, allocations: 200.1 kB / 1.181 GB, free: 56.11 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000869/2.911, allocations: 348.8 kB / 1.182 GB, free: 55.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003152/2.912, allocations: 147.7 kB / 1.182 GB, free: 55.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01184/2.924, allocations: 4.2 MB / 1.186 GB, free: 52.29 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.252e-06/2.924, allocations: 0 / 1.186 GB, free: 52.29 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0121/2.936, allocations: 1.49 MB / 1.187 GB, free: 50.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.001153/2.937, allocations: 295.5 kB / 1.188 GB, free: 50.52 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01558/2.953, allocations: 5.968 MB / 1.193 GB, free: 45.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.882e-05/2.953, allocations: 8 kB / 1.193 GB, free: 45.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003648/2.956, allocations: 1.477 MB / 1.195 GB, free: 44.02 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00949/2.966, allocations: 0.8976 MB / 1.196 GB, free: 43.26 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04432/3.01, allocations: 20.08 MB / 1.215 GB, free: 23.91 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01503/3.025, allocations: 5.739 MB / 1.221 GB, free: 19.74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01429/3.04, allocations: 2.795 MB / 1.224 GB, free: 17.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/3.042, allocations: 390.6 kB / 1.224 GB, free: 17.61 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/3.042, allocations: 0 / 1.224 GB, free: 17.61 MB / 490.7 MB Notification: Performance of Templates: time 0.6224/3.664, allocations: 45.84 MB / 1.269 GB, free: 87.34 MB / 0.4949 GB