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.CutForceAndTorque3.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 1.891/1.891, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.021e-05/2.024e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2737/0.2737, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.4235, allocations: 91.75 MB / 411.8 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.4238, allocations: 75.95 kB / 411.8 MB, free: 4.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4836/0.9074, allocations: 64.76 MB / 476.6 MB, free: 90.65 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.547e-06/0.9074, allocations: 10.97 kB / 476.6 MB, free: 90.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001136/0.9076, allocations: 67.5 kB / 476.7 MB, free: 90.64 MB / 378.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.008058/0.9156, allocations: 3.119 MB / 479.8 MB, free: 88.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.9157, allocations: 12.38 kB / 479.8 MB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0106/0.9263, allocations: 1.943 MB / 481.8 MB, free: 88.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005221/0.9316, allocations: 2.032 MB / 483.8 MB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.9318, allocations: 120.4 kB / 483.9 MB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001056/0.9328, allocations: 209.9 kB / 484.1 MB, free: 87.53 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01017/0.943, allocations: 5.388 MB / 489.5 MB, free: 82.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01552/0.9586, allocations: 7.38 MB / 496.9 MB, free: 74.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.683e-05/0.9587, allocations: 19.81 kB / 496.9 MB, free: 74.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006999/0.9594, allocations: 12 kB / 496.9 MB, free: 74.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001179/0.9606, allocations: 0.8071 MB / 497.7 MB, free: 73.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04014/1.001, allocations: 26.51 MB / 0.5119 GB, free: 46.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002501/1.003, allocations: 1.748 MB / 0.5136 GB, free: 44.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001197/1.005, allocations: 0.7019 MB / 0.5143 GB, free: 44.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.639e-05/1.005, allocations: 25.12 kB / 0.5144 GB, free: 44.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.495e-05/1.005, allocations: 47.88 kB / 0.5144 GB, free: 43.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=132): time 4.995e-06/1.005, allocations: 0 / 0.5144 GB, free: 43.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.005603/1.01, allocations: 1.853 MB / 0.5162 GB, free: 42.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/1.01, allocations: 64.72 kB / 0.5163 GB, free: 42.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/1.014, allocations: 1.745 MB / 0.518 GB, free: 40.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002056/1.014, allocations: 25.7 kB / 0.518 GB, free: 40.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001351/1.015, allocations: 2.37 MB / 0.5203 GB, free: 37.8 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005858/1.016, allocations: 489.5 kB / 0.5208 GB, free: 37.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002251/1.016, allocations: 0 / 0.5208 GB, free: 37.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002585/1.016, allocations: 483.3 kB / 0.5212 GB, free: 36.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/1.018, allocations: 1.05 MB / 0.5223 GB, free: 35.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003362/1.022, allocations: 3.327 MB / 0.5255 GB, free: 31.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/1.025, allocations: 1.906 MB / 0.5274 GB, free: 29.41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.976e-05/1.025, allocations: 24 kB / 0.5274 GB, free: 29.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.008701/1.034, allocations: 3.88 MB / 0.5312 GB, free: 25.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.758e-05/1.034, allocations: 40 kB / 0.5312 GB, free: 25.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.338e-05/1.034, allocations: 80 kB / 0.5313 GB, free: 25.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001517/1.034, allocations: 120 kB / 0.5314 GB, free: 25.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003413/1.038, allocations: 0.8896 MB / 0.5323 GB, free: 24.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001114/1.038, allocations: 159.4 kB / 0.5324 GB, free: 24.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003467/1.041, allocations: 430.7 kB / 0.5328 GB, free: 23.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006961/1.042, allocations: 228 kB / 0.5331 GB, free: 23.57 MB / 378.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.0005787/1.043, allocations: 317.9 kB / 0.5334 GB, free: 23.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003388/1.043, allocations: 189.5 kB / 0.5336 GB, free: 23.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/1.046, allocations: 1.61 MB / 0.5351 GB, free: 21.44 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.208e-05/1.046, allocations: 16 kB / 0.5351 GB, free: 21.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.838e-06/1.046, allocations: 7.938 kB / 0.5351 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/1.046, allocations: 7.969 kB / 0.5352 GB, free: 21.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01403/1.061, allocations: 7.049 MB / 0.542 GB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.532e-05/1.061, allocations: 16 kB / 0.5421 GB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.062, allocations: 211.6 kB / 0.5423 GB, free: 13.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.981e-05/1.062, allocations: 28.03 kB / 0.5423 GB, free: 13.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001251/1.062, allocations: 24 kB / 0.5423 GB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.407e-05/1.062, allocations: 35.86 kB / 0.5423 GB, free: 13.81 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-05/1.062, allocations: 23.88 kB / 0.5424 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003472/1.066, allocations: 3.199 MB / 0.5455 GB, free: 9.734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004983/1.066, allocations: 286.3 kB / 0.5458 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003021/1.066, allocations: 23.98 kB / 0.5458 GB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.068, allocations: 31.97 kB / 0.5458 GB, free: 9.379 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/1.068, allocations: 127.5 kB / 0.5459 GB, free: 9.254 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/1.068, allocations: 52 kB / 0.546 GB, free: 9.203 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001949/1.07, allocations: 1.156 MB / 0.5471 GB, free: 8.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.007e-06/1.07, allocations: 0 / 0.5471 GB, free: 8.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004532/1.075, allocations: 0.874 MB / 0.548 GB, free: 7.145 MB / 378.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.0005529/1.075, allocations: 154.8 kB / 0.5481 GB, free: 6.984 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004675/1.08, allocations: 2.509 MB / 0.5506 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.43e-05/1.08, allocations: 1.688 kB / 0.5506 GB, free: 4.496 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.081, allocations: 0.7317 MB / 0.5513 GB, free: 3.766 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001401/1.083, allocations: 211.3 kB / 0.5515 GB, free: 3.559 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01904/1.102, allocations: 6.205 MB / 0.5575 GB, free: 13.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01325/1.115, allocations: 2.906 MB / 0.5604 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001806/1.117, allocations: 187.3 kB / 0.5606 GB, free: 9.98 MB / 394.7 MB Notification: Performance of SimCode: time 2.864e-06/1.117, allocations: 4 kB / 0.5606 GB, free: 9.977 MB / 394.7 MB Notification: Performance of Templates: time 0.109/1.226, allocations: 36.54 MB / 0.5962 GB, free: 5.422 MB / 426.7 MB