Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.635e-05/1.647e-05, allocations: 0 / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2721/0.2721, allocations: 54.85 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1461/0.4183, allocations: 98.34 MB / 456.4 MB, free: 12.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002254/0.4186, allocations: 75.95 kB / 456.5 MB, free: 12.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4592/0.8778, allocations: 64.78 MB / 0.509 GB, free: 59.63 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.337e-06/0.8778, allocations: 0 / 0.509 GB, free: 59.63 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001215/0.878, allocations: 71.94 kB / 0.5091 GB, free: 59.56 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.00776/0.8858, allocations: 3.125 MB / 0.5121 GB, free: 56.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.8858, allocations: 8.031 kB / 0.5121 GB, free: 56.37 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01022/0.896, allocations: 1.941 MB / 0.514 GB, free: 54.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005142/0.9012, allocations: 2.04 MB / 0.516 GB, free: 52.33 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001963/0.9015, allocations: 120 kB / 0.5161 GB, free: 52.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001394/0.9029, allocations: 208 kB / 0.5163 GB, free: 52.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01063/0.9135, allocations: 5.379 MB / 0.5216 GB, free: 46.63 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01538/0.9289, allocations: 7.378 MB / 0.5288 GB, free: 38.87 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.966e-05/0.9291, allocations: 19.81 kB / 0.5288 GB, free: 38.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006828/0.9298, allocations: 12 kB / 0.5288 GB, free: 38.84 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001164/0.931, allocations: 0.8113 MB / 0.5296 GB, free: 38.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03644/0.9674, allocations: 26.51 MB / 0.5555 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.9697, allocations: 1.73 MB / 0.5572 GB, free: 8.945 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001094/0.9709, allocations: 0.7081 MB / 0.5579 GB, free: 8.238 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.187e-05/0.971, allocations: 29.27 kB / 0.5579 GB, free: 8.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.971, allocations: 39.88 kB / 0.558 GB, free: 8.164 MB / 394.7 MB Notification: Performance of pre-optimization done (n=132): time 4.887e-06/0.971, allocations: 3.938 kB / 0.558 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=132): time 0.005526/0.9765, allocations: 1.861 MB / 0.5598 GB, free: 6.289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.855e-05/0.9766, allocations: 64.72 kB / 0.5598 GB, free: 6.211 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.9793, allocations: 1.745 MB / 0.5615 GB, free: 4.426 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001823/0.9795, allocations: 25.7 kB / 0.5616 GB, free: 4.395 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001154/0.9807, allocations: 2.366 MB / 0.5639 GB, free: 1.996 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004528/0.9812, allocations: 493.4 kB / 0.5644 GB, free: 1.508 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001616/0.9813, allocations: 0 / 0.5644 GB, free: 1.508 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002449/0.9816, allocations: 483.3 kB / 0.5648 GB, free: 1.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001772/0.9834, allocations: 1.046 MB / 0.5658 GB, free: 15.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004161/0.9876, allocations: 3.334 MB / 0.5691 GB, free: 11.51 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003939/0.9916, allocations: 1.902 MB / 0.571 GB, free: 9.609 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.746e-05/0.9917, allocations: 24 kB / 0.571 GB, free: 9.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.009792/1.001, allocations: 3.88 MB / 0.5748 GB, free: 5.695 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.061e-05/1.002, allocations: 40 kB / 0.5748 GB, free: 5.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001099/1.002, allocations: 87.94 kB / 0.5749 GB, free: 5.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001699/1.002, allocations: 120 kB / 0.575 GB, free: 5.453 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/1.005, allocations: 0.8773 MB / 0.5759 GB, free: 4.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001665/1.006, allocations: 163.8 kB / 0.576 GB, free: 4.414 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/1.009, allocations: 434.7 kB / 0.5764 GB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000613/1.01, allocations: 236 kB / 0.5767 GB, free: 3.754 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * 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.0006483/1.01, allocations: 306 kB / 0.5769 GB, free: 3.445 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000407/1.011, allocations: 185.6 kB / 0.5771 GB, free: 3.262 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003566/1.014, allocations: 1.614 MB / 0.5787 GB, free: 1.633 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-05/1.014, allocations: 23.92 kB / 0.5787 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.64e-06/1.014, allocations: 0 / 0.5787 GB, free: 1.609 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.217e-05/1.014, allocations: 11.92 kB / 0.5787 GB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/1.03, allocations: 7.04 MB / 0.5856 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.239e-05/1.03, allocations: 16 kB / 0.5856 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/1.031, allocations: 216.4 kB / 0.5858 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.036e-05/1.031, allocations: 24 kB / 0.5859 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/1.032, allocations: 35.95 kB / 0.5859 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.193e-05/1.032, allocations: 27.92 kB / 0.5859 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.636e-05/1.032, allocations: 27.86 kB / 0.5859 GB, free: 9.945 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004556/1.036, allocations: 3.195 MB / 0.5891 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005701/1.037, allocations: 286.3 kB / 0.5893 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002764/1.037, allocations: 23.98 kB / 0.5894 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.038, allocations: 31.97 kB / 0.5894 GB, free: 5.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/1.038, allocations: 115.6 kB / 0.5895 GB, free: 5.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001516/1.039, allocations: 59.98 kB / 0.5896 GB, free: 5.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002379/1.041, allocations: 1.16 MB / 0.5907 GB, free: 4.191 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.69e-07/1.041, allocations: 0 / 0.5907 GB, free: 4.191 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004615/1.046, allocations: 0.874 MB / 0.5915 GB, free: 3.312 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0004527/1.046, allocations: 158.8 kB / 0.5917 GB, free: 3.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005471/1.052, allocations: 2.514 MB / 0.5941 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-05/1.052, allocations: 4 kB / 0.5941 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/1.053, allocations: 0.7258 MB / 0.5949 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.055, allocations: 198.7 kB / 0.595 GB, free: 15.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01531/1.07, allocations: 6.217 MB / 0.6011 GB, free: 9.262 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005638/1.076, allocations: 2.895 MB / 0.6039 GB, free: 6.336 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008056/1.077, allocations: 191.4 kB / 0.6041 GB, free: 6.148 MB / 442.7 MB Notification: Performance of SimCode: time 1.799e-06/1.077, allocations: 0 / 0.6041 GB, free: 6.148 MB / 442.7 MB Notification: Performance of Templates: time 0.3276/1.404, allocations: 36.56 MB / 0.6398 GB, free: 109.9 MB / 458.7 MB