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.003901/0.0039, allocations: 358.6 kB / 15.95 MB, free: 6.207 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.892/3.892, allocations: 388.9 MB / 405.6 MB, free: 9.672 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.003621/0.003621, allocations: 226 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.5206/0.5206, allocations: 80.03 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004462, allocations: 8 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09298/0.09345, allocations: 54.87 MB / 0.6801 GB, free: 41.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4787/0.5722, allocations: 100.9 MB / 0.7786 GB, free: 0.668 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.5725, allocations: 80.66 kB / 0.7787 GB, free: 0.6289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.222/1.794, allocations: 198 MB / 0.9721 GB, free: 83.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.427e-06/1.794, allocations: 0 / 0.9721 GB, free: 83.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005481/1.795, allocations: 203 kB / 0.9722 GB, free: 83.86 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.0392/1.834, allocations: 9.797 MB / 0.9818 GB, free: 79.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.834, allocations: 10.38 kB / 0.9818 GB, free: 79.66 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.035/1.869, allocations: 3.906 MB / 0.9856 GB, free: 78.55 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02856/1.898, allocations: 9.135 MB / 0.9946 GB, free: 72.88 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001092/1.899, allocations: 0.7919 MB / 0.9953 GB, free: 72.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00631/1.905, allocations: 1.043 MB / 0.9964 GB, free: 71.16 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08398/1.989, allocations: 24.29 MB / 1.02 GB, free: 45.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00127/1.99, allocations: 91.16 kB / 1.02 GB, free: 45.36 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008144/1.999, allocations: 493.8 kB / 1.021 GB, free: 44.94 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006178/2.005, allocations: 2.274 MB / 1.023 GB, free: 42.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0636/2.069, allocations: 19.33 MB / 1.042 GB, free: 23.33 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6552/2.724, allocations: 93.93 MB / 1.133 GB, free: 47.03 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03695/2.761, allocations: 7.711 MB / 1.141 GB, free: 46.35 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008508/2.769, allocations: 3.111 MB / 1.144 GB, free: 46.3 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03963/2.809, allocations: 13.18 MB / 1.157 GB, free: 43.02 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.292e-05/2.809, allocations: 73.44 kB / 1.157 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=336): time 7.444e-06/2.809, allocations: 0 / 1.157 GB, free: 42.98 MB / 0.4949 GB Notification: Performance of matching and sorting (n=360): time 0.09403/2.903, allocations: 20.59 MB / 1.177 GB, free: 37.25 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.01e-05/2.903, allocations: 169.7 kB / 1.177 GB, free: 37.09 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02004/2.924, allocations: 7.412 MB / 1.184 GB, free: 36.41 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008337/2.924, allocations: 78.62 kB / 1.185 GB, free: 36.38 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006407/2.931, allocations: 6.809 MB / 1.191 GB, free: 31.26 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/2.933, allocations: 1.351 MB / 1.193 GB, free: 30.27 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001953/2.935, allocations: 217.9 kB / 1.193 GB, free: 30.11 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.001885/2.937, allocations: 0.754 MB / 1.193 GB, free: 29.61 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01738/2.955, allocations: 3.216 MB / 1.197 GB, free: 28.62 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02273/2.977, allocations: 9.735 MB / 1.206 GB, free: 18.93 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02222/3, allocations: 5.397 MB / 1.211 GB, free: 17.03 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003456/3, allocations: 69.08 kB / 1.211 GB, free: 17.03 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.04335/3.043, allocations: 12.64 MB / 1.224 GB, free: 12.72 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001988/3.044, allocations: 113.1 kB / 1.224 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004397/3.044, allocations: 228.2 kB / 1.224 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004097/3.045, allocations: 345.6 kB / 1.224 GB, free: 12.71 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01733/3.062, allocations: 2.612 MB / 1.227 GB, free: 12.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005668/3.063, allocations: 454 kB / 1.227 GB, free: 12.3 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01389/3.076, allocations: 0.6844 MB / 1.228 GB, free: 12.11 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002685/3.079, allocations: 0.6389 MB / 1.229 GB, free: 12.02 MB / 0.4949 GB 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.01324/3.093, allocations: 4.522 MB / 1.233 GB, free: 8.816 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001921/3.094, allocations: 0.6595 MB / 1.234 GB, free: 8.148 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01437/3.109, allocations: 4.102 MB / 1.238 GB, free: 4.66 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.577e-05/3.109, allocations: 36 kB / 1.238 GB, free: 4.625 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.806e-05/3.109, allocations: 0 / 1.238 GB, free: 4.625 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.008e-05/3.109, allocations: 20.83 kB / 1.238 GB, free: 4.621 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1086/3.218, allocations: 41.8 MB / 1.279 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000247/3.218, allocations: 90.62 kB / 1.279 GB, free: 500 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.4455/3.664, allocations: 0.8622 MB / 1.28 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002543/3.664, allocations: 128.2 kB / 1.28 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/3.665, allocations: 193.3 kB / 1.28 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002754/3.665, allocations: 173.8 kB / 1.28 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001255/3.666, allocations: 140.3 kB / 1.28 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01605/3.682, allocations: 7.826 MB / 1.288 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003172/3.685, allocations: 0.838 MB / 1.289 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002941/3.688, allocations: 204.8 kB / 1.289 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01135/3.699, allocations: 270.6 kB / 1.289 GB, free: 117.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002526/3.702, allocations: 0.568 MB / 1.29 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001693/3.704, allocations: 241.3 kB / 1.29 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.02387/3.728, allocations: 4.653 MB / 1.294 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.864e-06/3.728, allocations: 2.844 kB / 1.294 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.02095/3.749, allocations: 1.865 MB / 1.296 GB, free: 117.1 MB / 0.5261 GB 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.001966/3.751, allocations: 418.3 kB / 1.297 GB, free: 117 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.03051/3.781, allocations: 7.549 MB / 1.304 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 0.0001135/3.781, allocations: 14.12 kB / 1.304 GB, free: 116.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008898/3.79, allocations: 2.162 MB / 1.306 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02194/3.812, allocations: 1.145 MB / 1.307 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09229/3.905, allocations: 26.39 MB / 1.333 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02658/3.931, allocations: 7.154 MB / 1.34 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.02608/3.957, allocations: 3.321 MB / 1.343 GB, free: 102 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004567/3.962, allocations: 0.4966 MB / 1.344 GB, free: 102 MB / 0.5261 GB Notification: Performance of SimCode: time 2.324e-06/3.962, allocations: 0 / 1.344 GB, free: 102 MB / 0.5261 GB Notification: Performance of Templates: time 0.2539/4.216, allocations: 57.67 MB / 1.4 GB, free: 78.23 MB / 0.5261 GB