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/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.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.893/1.893, allocations: 209.2 MB / 224.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004491/0.0004492, allocations: 11.94 kB / 282.6 MB, free: 9.637 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2911, allocations: 48.7 MB / 331.3 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.137/0.4282, allocations: 92.51 MB / 423.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.4285, allocations: 83.95 kB / 423.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6326/1.061, allocations: 66.33 MB / 490.2 MB, free: 93.32 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.061, allocations: 5.312 kB / 490.2 MB, free: 93.32 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002171/1.061, allocations: 70.86 kB / 490.3 MB, free: 93.31 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.01379/1.075, allocations: 3.237 MB / 493.5 MB, free: 91.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.075, allocations: 12.8 kB / 493.5 MB, free: 91.79 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01871/1.094, allocations: 1.94 MB / 495.5 MB, free: 91.55 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008595/1.103, allocations: 2.03 MB / 497.5 MB, free: 91.1 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004364/1.103, allocations: 285.6 kB / 497.8 MB, free: 91.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002081/1.105, allocations: 368.4 kB / 498.1 MB, free: 91.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02715/1.133, allocations: 8.13 MB / 0.4944 GB, free: 89 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001888/1.133, allocations: 19.25 kB / 0.4944 GB, free: 88.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001643/1.134, allocations: 171.4 kB / 0.4946 GB, free: 88.88 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001897/1.136, allocations: 0.8035 MB / 0.4954 GB, free: 88.74 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02575/1.162, allocations: 7.015 MB / 0.5022 GB, free: 86.47 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05732/1.219, allocations: 27.51 MB / 0.5291 GB, free: 65.55 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006644/1.226, allocations: 2.55 MB / 0.5316 GB, free: 62.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009793/1.236, allocations: 4.495 MB / 0.536 GB, free: 58.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/1.236, allocations: 43.56 kB / 0.536 GB, free: 58.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 5.479e-06/1.236, allocations: 4 kB / 0.536 GB, free: 58.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.009251/1.245, allocations: 2.975 MB / 0.5389 GB, free: 55.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/1.245, allocations: 64.41 kB / 0.539 GB, free: 55.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003414/1.249, allocations: 1.976 MB / 0.5409 GB, free: 53.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.249, allocations: 41.7 kB / 0.5409 GB, free: 53.07 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/1.25, allocations: 2.31 MB / 0.5432 GB, free: 50.75 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005067/1.251, allocations: 460 kB / 0.5436 GB, free: 50.31 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002155/1.251, allocations: 68 kB / 0.5437 GB, free: 50.24 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/1.251, allocations: 474.6 kB / 0.5441 GB, free: 49.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002012/1.253, allocations: 1.073 MB / 0.5452 GB, free: 48.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003041/1.256, allocations: 3.195 MB / 0.5483 GB, free: 44.45 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003165/1.26, allocations: 1.847 MB / 0.5501 GB, free: 42.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.503e-05/1.26, allocations: 24 kB / 0.5501 GB, free: 42.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.008587/1.268, allocations: 4.134 MB / 0.5542 GB, free: 38.43 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/1.268, allocations: 43.95 kB / 0.5542 GB, free: 38.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.437e-05/1.269, allocations: 75.94 kB / 0.5543 GB, free: 38.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000113/1.269, allocations: 112 kB / 0.5544 GB, free: 38.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003146/1.272, allocations: 0.8076 MB / 0.5552 GB, free: 37.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001097/1.272, allocations: 151.4 kB / 0.5553 GB, free: 37.25 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003125/1.275, allocations: 490.8 kB / 0.5558 GB, free: 36.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005172/1.276, allocations: 216 kB / 0.556 GB, free: 36.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.003259/1.279, allocations: 1.697 MB / 0.5577 GB, free: 34.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/1.279, allocations: 193.5 kB / 0.5578 GB, free: 34.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002956/1.282, allocations: 1.517 MB / 0.5593 GB, free: 33.13 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.631e-05/1.282, allocations: 12 kB / 0.5593 GB, free: 33.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.41e-06/1.282, allocations: 0 / 0.5593 GB, free: 33.12 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/1.282, allocations: 7.984 kB / 0.5594 GB, free: 33.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01571/1.298, allocations: 7.374 MB / 0.5666 GB, free: 25.49 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.664e-05/1.298, allocations: 12 kB / 0.5666 GB, free: 25.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009972/1.299, allocations: 191.7 kB / 0.5667 GB, free: 25.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.629e-05/1.299, allocations: 24.69 kB / 0.5668 GB, free: 25.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.299, allocations: 36 kB / 0.5668 GB, free: 25.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.441e-05/1.299, allocations: 39.81 kB / 0.5668 GB, free: 25.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.71e-05/1.299, allocations: 23.88 kB / 0.5669 GB, free: 25.17 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/1.303, allocations: 3.162 MB / 0.57 GB, free: 21.36 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006747/1.304, allocations: 330 kB / 0.5703 GB, free: 21.02 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.304, allocations: 43.86 kB / 0.5703 GB, free: 20.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.305, allocations: 51.88 kB / 0.5704 GB, free: 20.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/1.305, allocations: 115.6 kB / 0.5705 GB, free: 20.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/1.305, allocations: 51.58 kB / 0.5705 GB, free: 20.77 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002902/1.308, allocations: 1.542 MB / 0.572 GB, free: 19.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.9e-07/1.308, allocations: 0 / 0.572 GB, free: 19.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004355/1.313, allocations: 0.9252 MB / 0.5729 GB, free: 18.29 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * 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 (98): * Single equations (assignments): 95 * 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.0004327/1.313, allocations: 166.9 kB / 0.5731 GB, free: 18.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004719/1.318, allocations: 2.553 MB / 0.5756 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/1.318, allocations: 0 / 0.5756 GB, free: 15.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001276/1.319, allocations: 0.6876 MB / 0.5763 GB, free: 14.89 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.321, allocations: 302.2 kB / 0.5765 GB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01541/1.336, allocations: 8.774 MB / 0.5851 GB, free: 5.605 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004265/1.341, allocations: 2.891 MB / 0.5879 GB, free: 2.699 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007599/1.341, allocations: 195.4 kB / 0.5881 GB, free: 2.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.7e-06/1.341, allocations: 0 / 0.5881 GB, free: 2.508 MB / 394.7 MB Notification: Performance of Templates: time 0.381/1.723, allocations: 38.24 MB / 0.6255 GB, free: 99.7 MB / 426.7 MB