Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.837/1.837, allocations: 209.3 MB / 224.8 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004391, allocations: 12 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2873, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1413/0.4286, allocations: 94.19 MB / 425.5 MB, free: 232 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.4289, allocations: 83.89 kB / 425.5 MB, free: 148 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.988/1.417, allocations: 199.2 MB / 0.6101 GB, free: 316 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.789e-06/1.417, allocations: 7.938 kB / 0.6101 GB, free: 308 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005281/1.418, allocations: 192 kB / 0.6103 GB, free: 116 kB / 410.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.03456/1.452, allocations: 9.989 MB / 0.62 GB, free: 6.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.452, allocations: 12.03 kB / 0.6201 GB, free: 6.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02721/1.479, allocations: 4.031 MB / 0.624 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3017/1.781, allocations: 10.59 MB / 0.6343 GB, free: 47.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001023/1.782, allocations: 0.7937 MB / 0.6351 GB, free: 47.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004734/1.787, allocations: 1.036 MB / 0.6361 GB, free: 47.28 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06556/1.853, allocations: 24.41 MB / 0.66 GB, free: 42.83 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005653/1.853, allocations: 97.03 kB / 0.66 GB, free: 42.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004624/1.858, allocations: 494.8 kB / 0.6605 GB, free: 42.83 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004694/1.863, allocations: 2.269 MB / 0.6627 GB, free: 42.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05471/1.917, allocations: 19.52 MB / 0.6818 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1434/2.061, allocations: 94.15 MB / 0.7737 GB, free: 8.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02909/2.09, allocations: 7.731 MB / 0.7813 GB, free: 2.559 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03409/2.124, allocations: 13.3 MB / 0.7943 GB, free: 7.238 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.71e-05/2.124, allocations: 72.78 kB / 0.7944 GB, free: 7.16 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.529e-06/2.124, allocations: 0 / 0.7944 GB, free: 7.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.3918/2.516, allocations: 20.84 MB / 0.8147 GB, free: 87.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/2.516, allocations: 165.8 kB / 0.8149 GB, free: 86.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01631/2.532, allocations: 6.583 MB / 0.8213 GB, free: 86.4 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006164/2.533, allocations: 83.45 kB / 0.8214 GB, free: 86.37 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004852/2.538, allocations: 6.554 MB / 0.8278 GB, free: 82.81 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001731/2.54, allocations: 1.355 MB / 0.8291 GB, free: 82.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000957/2.541, allocations: 212 kB / 0.8293 GB, free: 82.04 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007155/2.541, allocations: 0.7556 MB / 0.83 GB, free: 81.71 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008515/2.55, allocations: 3.22 MB / 0.8332 GB, free: 81.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01161/2.562, allocations: 9.697 MB / 0.8427 GB, free: 73.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01147/2.573, allocations: 5.408 MB / 0.8479 GB, free: 73.25 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001964/2.573, allocations: 64.06 kB / 0.848 GB, free: 73.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03043/2.604, allocations: 12.38 MB / 0.8601 GB, free: 72.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001805/2.604, allocations: 103.7 kB / 0.8602 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002978/2.604, allocations: 237.8 kB / 0.8604 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/2.605, allocations: 342.8 kB / 0.8607 GB, free: 72.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01146/2.616, allocations: 2.611 MB / 0.8633 GB, free: 72.22 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004117/2.617, allocations: 455.9 kB / 0.8637 GB, free: 72.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01175/2.628, allocations: 0.686 MB / 0.8644 GB, free: 72.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002061/2.631, allocations: 0.6388 MB / 0.865 GB, free: 72.11 MB / 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.01122/2.642, allocations: 4.509 MB / 0.8694 GB, free: 71.61 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001669/2.644, allocations: 0.6638 MB / 0.8701 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01103/2.655, allocations: 4.099 MB / 0.8741 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.709e-05/2.655, allocations: 40.77 kB / 0.8741 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.805e-05/2.655, allocations: 3.656 kB / 0.8741 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.997e-05/2.655, allocations: 17.02 kB / 0.8741 GB, free: 71.03 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07401/2.729, allocations: 41.71 MB / 0.9149 GB, free: 53.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002157/2.729, allocations: 88 kB / 0.9149 GB, free: 53.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003572/2.733, allocations: 0.8405 MB / 0.9158 GB, free: 52.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001296/2.733, allocations: 128 kB / 0.9159 GB, free: 52.41 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005175/2.733, allocations: 197.5 kB / 0.9161 GB, free: 52.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001153/2.733, allocations: 170.1 kB / 0.9162 GB, free: 52.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.246e-05/2.734, allocations: 139.4 kB / 0.9164 GB, free: 51.94 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01415/2.748, allocations: 25.2 MB / 0.941 GB, free: 23.46 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002834/2.751, allocations: 0.8369 MB / 0.9418 GB, free: 22.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002188/2.753, allocations: 201 kB / 0.942 GB, free: 22.46 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006022/2.759, allocations: 265.4 kB / 0.9422 GB, free: 22.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001084/2.76, allocations: 0.5704 MB / 0.9428 GB, free: 21.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000468/2.761, allocations: 239.1 kB / 0.943 GB, free: 21.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01174/2.772, allocations: 4.653 MB / 0.9476 GB, free: 17.79 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.432e-06/2.772, allocations: 0 / 0.9476 GB, free: 17.79 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01423/2.787, allocations: 1.874 MB / 0.9494 GB, free: 15.93 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.001323/2.788, allocations: 409.8 kB / 0.9498 GB, free: 15.52 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.016/2.804, allocations: 7.546 MB / 0.9572 GB, free: 8.941 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.529e-05/2.804, allocations: 12.44 kB / 0.9572 GB, free: 8.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004497/2.809, allocations: 2.167 MB / 0.9593 GB, free: 7.051 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008/2.817, allocations: 1.084 MB / 0.9603 GB, free: 6.141 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3396/3.156, allocations: 27.43 MB / 0.9871 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01876/3.175, allocations: 7.158 MB / 0.9941 GB, free: 85.34 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002348/3.177, allocations: 0.5812 MB / 0.9947 GB, free: 85.34 MB / 490.7 MB Notification: Performance of SimCode: time 1.91e-06/3.177, allocations: 0 / 0.9947 GB, free: 85.34 MB / 490.7 MB Notification: Performance of Templates: time 0.1754/3.353, allocations: 114 MB / 1.106 GB, free: 37.26 MB / 490.7 MB