Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.971/1.971, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004465, allocations: 19.98 kB / 283.1 MB, free: 9.699 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3518, allocations: 48.69 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1707/0.5226, allocations: 94.18 MB / 426 MB, free: 244 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5229, allocations: 87.94 kB / 426.1 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.074/1.597, allocations: 201 MB / 0.6124 GB, free: 14.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.597, allocations: 0 / 0.6124 GB, free: 14.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005976/1.597, allocations: 192 kB / 0.6126 GB, free: 14.25 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.04326/1.641, allocations: 9.993 MB / 0.6224 GB, free: 4.156 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.641, allocations: 8.031 kB / 0.6224 GB, free: 4.148 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0371/1.678, allocations: 4.031 MB / 0.6263 GB, free: 100 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3982/2.076, allocations: 10.6 MB / 0.6366 GB, free: 47.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/2.077, allocations: 0.7909 MB / 0.6374 GB, free: 47.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006691/2.084, allocations: 1.04 MB / 0.6384 GB, free: 47.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09482/2.179, allocations: 24.49 MB / 0.6623 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008734/2.18, allocations: 97.06 kB / 0.6624 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005832/2.186, allocations: 496.8 kB / 0.6629 GB, free: 42.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005911/2.192, allocations: 2.264 MB / 0.6651 GB, free: 42.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06547/2.257, allocations: 19.53 MB / 0.6842 GB, free: 42.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1786/2.436, allocations: 94.16 MB / 0.7761 GB, free: 7.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03819/2.474, allocations: 7.719 MB / 0.7837 GB, free: 1.039 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04458/2.519, allocations: 13.31 MB / 0.7967 GB, free: 5.719 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.977e-05/2.519, allocations: 68.78 kB / 0.7967 GB, free: 5.641 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.825e-06/2.519, allocations: 0 / 0.7967 GB, free: 5.641 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.4323/2.951, allocations: 20.84 MB / 0.8171 GB, free: 86.15 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.913e-05/2.951, allocations: 173 kB / 0.8173 GB, free: 85.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02221/2.974, allocations: 7.412 MB / 0.8245 GB, free: 85.43 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008907/2.975, allocations: 77.98 kB / 0.8246 GB, free: 85.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005669/2.98, allocations: 6.551 MB / 0.831 GB, free: 81.86 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002162/2.982, allocations: 1.357 MB / 0.8323 GB, free: 81.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001461/2.984, allocations: 216 kB / 0.8325 GB, free: 81.08 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000994/2.985, allocations: 0.7617 MB / 0.8332 GB, free: 80.75 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01055/2.995, allocations: 3.211 MB / 0.8364 GB, free: 80.73 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01524/3.011, allocations: 9.743 MB / 0.8459 GB, free: 72.36 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0147/3.026, allocations: 5.397 MB / 0.8512 GB, free: 72.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002752/3.026, allocations: 64.55 kB / 0.8512 GB, free: 72.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03655/3.062, allocations: 12.38 MB / 0.8633 GB, free: 71.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002007/3.063, allocations: 109.4 kB / 0.8634 GB, free: 71.52 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003731/3.063, allocations: 231.1 kB / 0.8636 GB, free: 71.52 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003625/3.063, allocations: 339 kB / 0.864 GB, free: 71.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01682/3.08, allocations: 2.617 MB / 0.8665 GB, free: 71.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005068/3.081, allocations: 452 kB / 0.867 GB, free: 71.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01387/3.095, allocations: 0.686 MB / 0.8676 GB, free: 71.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002498/3.097, allocations: 0.6404 MB / 0.8683 GB, free: 71.18 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.01305/3.11, allocations: 4.512 MB / 0.8727 GB, free: 70.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001838/3.112, allocations: 0.6627 MB / 0.8733 GB, free: 70.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/3.126, allocations: 4.106 MB / 0.8773 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.137e-05/3.126, allocations: 38.09 kB / 0.8774 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/3.126, allocations: 5.594 kB / 0.8774 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.391e-05/3.126, allocations: 17.77 kB / 0.8774 GB, free: 70.11 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08884/3.215, allocations: 41.7 MB / 0.9181 GB, free: 50.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002452/3.215, allocations: 88 kB / 0.9182 GB, free: 50.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005405/3.221, allocations: 0.8424 MB / 0.919 GB, free: 50.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001281/3.221, allocations: 124 kB / 0.9191 GB, free: 49.96 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006846/3.222, allocations: 200 kB / 0.9193 GB, free: 49.78 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001126/3.222, allocations: 176.3 kB / 0.9195 GB, free: 49.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.107e-05/3.222, allocations: 135.4 kB / 0.9196 GB, free: 49.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01317/3.235, allocations: 7.833 MB / 0.9273 GB, free: 40.64 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002872/3.238, allocations: 0.8354 MB / 0.9281 GB, free: 39.82 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002677/3.241, allocations: 212.5 kB / 0.9283 GB, free: 39.63 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007245/3.248, allocations: 262.9 kB / 0.9285 GB, free: 39.42 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/3.249, allocations: 0.5704 MB / 0.9291 GB, free: 38.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005159/3.25, allocations: 239.8 kB / 0.9293 GB, free: 38.72 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01351/3.263, allocations: 4.65 MB / 0.9339 GB, free: 34.97 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.843e-06/3.263, allocations: 0 / 0.9339 GB, free: 34.97 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01507/3.278, allocations: 1.876 MB / 0.9357 GB, free: 33.1 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.001763/3.28, allocations: 411 kB / 0.9361 GB, free: 32.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02011/3.3, allocations: 7.551 MB / 0.9435 GB, free: 26.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.65e-05/3.3, allocations: 12 kB / 0.9435 GB, free: 26.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005569/3.306, allocations: 2.17 MB / 0.9456 GB, free: 24.21 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009567/3.316, allocations: 1.074 MB / 0.9466 GB, free: 23.31 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4947/3.81, allocations: 27.58 MB / 0.9736 GB, free: 83.81 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02065/3.831, allocations: 7.16 MB / 0.9806 GB, free: 82.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003081/3.834, allocations: 0.5824 MB / 0.9811 GB, free: 82.86 MB / 490.7 MB Notification: Performance of SimCode: time 8.42e-07/3.834, allocations: 0 / 0.9811 GB, free: 82.86 MB / 490.7 MB Notification: Performance of Templates: time 0.2926/4.127, allocations: 114 MB / 1.092 GB, free: 45.74 MB / 490.7 MB