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.CutForce.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.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.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 1.827/1.827, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.036e-05/3.057e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08588, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4392, allocations: 91.96 MB / 418.5 MB, free: 15.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/0.4395, allocations: 79.34 kB / 418.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8819/1.321, allocations: 159.1 MB / 0.5641 GB, free: 73.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.518e-06/1.321, allocations: 7.891 kB / 0.5641 GB, free: 73.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006039/1.322, allocations: 156.6 kB / 0.5643 GB, free: 73.52 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.03532/1.357, allocations: 7.742 MB / 0.5718 GB, free: 70.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.357, allocations: 13.66 kB / 0.5719 GB, free: 70.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02596/1.383, allocations: 3.626 MB / 0.5754 GB, free: 69.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02559/1.409, allocations: 9.535 MB / 0.5847 GB, free: 68.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007253/1.41, allocations: 0.6001 MB / 0.5853 GB, free: 68.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003406/1.413, allocations: 0.797 MB / 0.5861 GB, free: 68.89 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04671/1.46, allocations: 18.67 MB / 0.6043 GB, free: 63.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004315/1.461, allocations: 89.66 kB / 0.6044 GB, free: 63.22 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003064/1.464, allocations: 383.1 kB / 0.6048 GB, free: 63.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003606/1.467, allocations: 1.779 MB / 0.6065 GB, free: 62.72 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03757/1.505, allocations: 14.49 MB / 0.6206 GB, free: 53.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4168/1.922, allocations: 78.99 MB / 0.6978 GB, free: 33.14 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02376/1.945, allocations: 6.027 MB / 0.7037 GB, free: 32.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005088/1.951, allocations: 2.386 MB / 0.706 GB, free: 32.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02626/1.977, allocations: 11 MB / 0.7168 GB, free: 29.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.703e-05/1.977, allocations: 65.12 kB / 0.7168 GB, free: 29.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=238): time 7.27e-06/1.977, allocations: 0 / 0.7168 GB, free: 29.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=262): time 0.05641/2.033, allocations: 14.75 MB / 0.7312 GB, free: 24.95 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/2.034, allocations: 155 kB / 0.7314 GB, free: 24.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0133/2.047, allocations: 5.725 MB / 0.737 GB, free: 24.28 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004294/2.047, allocations: 66.8 kB / 0.737 GB, free: 24.25 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003964/2.051, allocations: 5.354 MB / 0.7422 GB, free: 21.27 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001167/2.053, allocations: 1.008 MB / 0.7432 GB, free: 20.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008827/2.053, allocations: 179.3 kB / 0.7434 GB, free: 20.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000722/2.054, allocations: 0.6838 MB / 0.7441 GB, free: 20.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005385/2.06, allocations: 2.372 MB / 0.7464 GB, free: 20.34 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008676/2.068, allocations: 7.962 MB / 0.7542 GB, free: 13.09 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008362/2.077, allocations: 4.288 MB / 0.7584 GB, free: 13.04 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/2.077, allocations: 57.44 kB / 0.7584 GB, free: 13.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02256/2.1, allocations: 9.802 MB / 0.768 GB, free: 12.71 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001771/2.1, allocations: 92.92 kB / 0.7681 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002644/2.1, allocations: 203.6 kB / 0.7683 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003387/2.1, allocations: 289.4 kB / 0.7685 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009871/2.11, allocations: 2.189 MB / 0.7707 GB, free: 12.53 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000349/2.111, allocations: 390.8 kB / 0.771 GB, free: 12.44 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0102/2.121, allocations: 0.6089 MB / 0.7716 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001705/2.123, allocations: 0.5315 MB / 0.7722 GB, free: 12.42 MB / 442.7 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 () * 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.002053/2.125, allocations: 0.8096 MB / 0.773 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001245/2.126, allocations: 0.5751 MB / 0.7735 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006423/2.132, allocations: 2.74 MB / 0.7762 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-05/2.132, allocations: 32.31 kB / 0.7762 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/2.133, allocations: 0 / 0.7762 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.464e-05/2.133, allocations: 18.14 kB / 0.7762 GB, free: 10.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05126/2.184, allocations: 26.4 MB / 0.802 GB, free: 11.65 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001528/2.184, allocations: 54.72 kB / 0.8021 GB, free: 11.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002728/2.187, allocations: 0.5211 MB / 0.8026 GB, free: 11.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001145/2.187, allocations: 76 kB / 0.8027 GB, free: 11.07 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004805/2.187, allocations: 111.4 kB / 0.8028 GB, free: 10.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001057/2.188, allocations: 103.3 kB / 0.8029 GB, free: 10.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.959e-05/2.188, allocations: 85.38 kB / 0.8029 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01437/2.202, allocations: 14.54 MB / 0.8171 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002437/2.205, allocations: 0.6847 MB / 0.8178 GB, free: 9.848 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/2.206, allocations: 128 kB / 0.8179 GB, free: 9.742 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004895/2.211, allocations: 195.4 kB / 0.8181 GB, free: 9.59 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008638/2.212, allocations: 355.1 kB / 0.8185 GB, free: 9.305 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/2.212, allocations: 143.2 kB / 0.8186 GB, free: 9.168 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01107/2.224, allocations: 4.014 MB / 0.8225 GB, free: 5.645 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.226e-06/2.224, allocations: 0 / 0.8225 GB, free: 5.645 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01189/2.236, allocations: 1.492 MB / 0.824 GB, free: 4.156 MB / 474.7 MB 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 () * 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.001056/2.237, allocations: 279.3 kB / 0.8242 GB, free: 3.879 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01355/2.25, allocations: 5.756 MB / 0.8299 GB, free: 14.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.36e-05/2.25, allocations: 8 kB / 0.8299 GB, free: 14.65 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003284/2.254, allocations: 1.456 MB / 0.8313 GB, free: 13.35 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006815/2.26, allocations: 0.8706 MB / 0.8321 GB, free: 12.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04471/2.305, allocations: 15.06 MB / 0.8468 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01445/2.32, allocations: 5.727 MB / 0.8524 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001925/2.322, allocations: 472.1 kB / 0.8529 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of SimCode: time 1.827e-06/2.322, allocations: 0 / 0.8529 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of Templates: time 0.4339/2.756, allocations: 91.88 MB / 0.9426 GB, free: 132.2 MB / 0.5105 GB