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.CutForce.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.177/2.177, allocations: 234.9 MB / 250.5 MB, free: 9.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004377, allocations: 16 kB / 314.4 MB, free: 9.582 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.2941, allocations: 54.85 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1482/0.4423, allocations: 98.79 MB / 468.1 MB, free: 9.809 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/0.4426, allocations: 79.95 kB / 468.1 MB, free: 9.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.797/1.24, allocations: 159 MB / 0.6124 GB, free: 19.18 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.57e-06/1.24, allocations: 0 / 0.6124 GB, free: 19.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004212/1.24, allocations: 152 kB / 0.6125 GB, free: 19.03 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02493/1.265, allocations: 8.292 MB / 0.6206 GB, free: 10.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.265, allocations: 12.03 kB / 0.6206 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02212/1.287, allocations: 3.624 MB / 0.6242 GB, free: 6.996 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0262/1.313, allocations: 9.584 MB / 0.6335 GB, free: 13.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000965/1.315, allocations: 0.5981 MB / 0.6341 GB, free: 12.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00368/1.318, allocations: 0.8004 MB / 0.6349 GB, free: 11.92 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07831/1.397, allocations: 18.95 MB / 0.6534 GB, free: 7.461 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006235/1.397, allocations: 87.12 kB / 0.6535 GB, free: 7.375 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003615/1.401, allocations: 383.8 kB / 0.6539 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007483/1.408, allocations: 1.786 MB / 0.6556 GB, free: 5.215 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05699/1.465, allocations: 14.96 MB / 0.6702 GB, free: 6.242 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6926/2.158, allocations: 78.99 MB / 0.7473 GB, free: 31.5 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/2.179, allocations: 6.097 MB / 0.7533 GB, free: 30.82 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02343/2.203, allocations: 11 MB / 0.764 GB, free: 27.61 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/2.203, allocations: 57.31 kB / 0.7641 GB, free: 27.57 MB / 474.8 MB Notification: Performance of pre-optimization done (n=238): time 6.496e-06/2.203, allocations: 0 / 0.7641 GB, free: 27.57 MB / 474.8 MB Notification: Performance of matching and sorting (n=262): time 0.05623/2.259, allocations: 16.28 MB / 0.78 GB, free: 22.06 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.978e-05/2.259, allocations: 153.5 kB / 0.7801 GB, free: 21.9 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01322/2.273, allocations: 5.907 MB / 0.7859 GB, free: 20 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004278/2.273, allocations: 67.44 kB / 0.786 GB, free: 19.94 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003763/2.277, allocations: 5.35 MB / 0.7912 GB, free: 15.88 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001137/2.278, allocations: 1.01 MB / 0.7922 GB, free: 15.15 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007817/2.279, allocations: 173.2 kB / 0.7923 GB, free: 15.02 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0005998/2.279, allocations: 0.6805 MB / 0.793 GB, free: 14.54 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006368/2.286, allocations: 2.572 MB / 0.7955 GB, free: 13.78 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009402/2.295, allocations: 8.174 MB / 0.8035 GB, free: 5.457 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009309/2.305, allocations: 4.428 MB / 0.8078 GB, free: 4.035 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001614/2.305, allocations: 57.88 kB / 0.8079 GB, free: 4.035 MB / 474.8 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02627/2.331, allocations: 10.27 MB / 0.8179 GB, free: 13.91 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001835/2.331, allocations: 88 kB / 0.818 GB, free: 13.83 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003398/2.332, allocations: 200 kB / 0.8182 GB, free: 13.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004186/2.332, allocations: 296 kB / 0.8185 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01002/2.342, allocations: 2.182 MB / 0.8206 GB, free: 11.45 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004792/2.343, allocations: 388.9 kB / 0.821 GB, free: 11.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01032/2.353, allocations: 0.6088 MB / 0.8216 GB, free: 10.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/2.355, allocations: 0.5321 MB / 0.8221 GB, free: 10.06 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 912 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1128): * Single equations (assignments): 1125 * 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.009688/2.365, allocations: 3.607 MB / 0.8256 GB, free: 6.914 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001423/2.366, allocations: 0.5707 MB / 0.8262 GB, free: 6.336 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007906/2.374, allocations: 2.808 MB / 0.8289 GB, free: 3.953 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.625e-05/2.374, allocations: 34.92 kB / 0.8289 GB, free: 3.922 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/2.374, allocations: 3.938 kB / 0.8289 GB, free: 3.918 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-05/2.374, allocations: 17.5 kB / 0.829 GB, free: 3.914 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06272/2.437, allocations: 26.66 MB / 0.855 GB, free: 13.94 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001407/2.437, allocations: 56 kB / 0.855 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002654/2.44, allocations: 0.5201 MB / 0.8555 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/2.44, allocations: 79.95 kB / 0.8556 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004024/2.44, allocations: 112 kB / 0.8557 GB, free: 13.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001052/2.44, allocations: 104.2 kB / 0.8558 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.828e-05/2.441, allocations: 83.62 kB / 0.8559 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3212/2.762, allocations: 14.58 MB / 0.8702 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002111/2.764, allocations: 0.6862 MB / 0.8708 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001412/2.765, allocations: 122.8 kB / 0.8709 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004745/2.77, allocations: 202.5 kB / 0.8711 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008916/2.771, allocations: 351.4 kB / 0.8715 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004817/2.772, allocations: 148.6 kB / 0.8716 GB, free: 116.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01109/2.783, allocations: 4.2 MB / 0.8757 GB, free: 116 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.336e-06/2.783, allocations: 0 / 0.8757 GB, free: 116 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01103/2.794, allocations: 1.488 MB / 0.8772 GB, free: 116 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 240 * 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 (270): * Single equations (assignments): 267 * 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.0009409/2.795, allocations: 298.5 kB / 0.8774 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01226/2.807, allocations: 5.964 MB / 0.8833 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.85e-05/2.807, allocations: 9.312 kB / 0.8833 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002981/2.81, allocations: 1.474 MB / 0.8847 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006146/2.816, allocations: 0.8696 MB / 0.8856 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04012/2.856, allocations: 20.88 MB / 0.906 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0145/2.871, allocations: 5.726 MB / 0.9116 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/2.873, allocations: 470.9 kB / 0.912 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.683e-06/2.873, allocations: 3.469 kB / 0.912 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1403/3.013, allocations: 91.9 MB / 1.002 GB, free: 51.27 MB / 0.5105 GB