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.214/2.214, allocations: 235 MB / 248.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.094e-05/3.114e-05, allocations: 7.984 kB / 309.7 MB, free: 1.332 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4234/0.4235, allocations: 54.85 MB / 364.5 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.181/0.6045, allocations: 98.7 MB / 463.2 MB, free: 13.76 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6048, allocations: 75.97 kB / 463.3 MB, free: 13.69 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8365/1.441, allocations: 159.1 MB / 0.6078 GB, free: 84.82 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.078e-06/1.441, allocations: 0 / 0.6078 GB, free: 84.82 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000365/1.442, allocations: 152 kB / 0.608 GB, free: 84.67 MB / 458.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.02279/1.465, allocations: 7.747 MB / 0.6155 GB, free: 76.84 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.465, allocations: 8.031 kB / 0.6156 GB, free: 76.83 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02299/1.488, allocations: 3.624 MB / 0.6191 GB, free: 73.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02507/1.513, allocations: 9.538 MB / 0.6284 GB, free: 63.57 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007085/1.513, allocations: 0.6055 MB / 0.629 GB, free: 62.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003522/1.517, allocations: 0.7968 MB / 0.6298 GB, free: 62.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0462/1.563, allocations: 18.67 MB / 0.648 GB, free: 41.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004052/1.564, allocations: 87.22 kB / 0.6481 GB, free: 41.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002985/1.567, allocations: 379.8 kB / 0.6485 GB, free: 41.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00341/1.57, allocations: 1.786 MB / 0.6502 GB, free: 39.74 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03583/1.606, allocations: 14.48 MB / 0.6643 GB, free: 25.24 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4182/2.024, allocations: 79.01 MB / 0.7415 GB, free: 42 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02189/2.046, allocations: 6.025 MB / 0.7474 GB, free: 41.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004669/2.051, allocations: 2.393 MB / 0.7497 GB, free: 41.28 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/2.076, allocations: 11 MB / 0.7605 GB, free: 38.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/2.076, allocations: 62.88 kB / 0.7605 GB, free: 38.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=238): time 7.082e-06/2.076, allocations: 0 / 0.7605 GB, free: 38.04 MB / 474.7 MB Notification: Performance of matching and sorting (n=262): time 0.05562/2.132, allocations: 14.75 MB / 0.7749 GB, free: 33.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.941e-05/2.132, allocations: 162.8 kB / 0.7751 GB, free: 33.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01229/2.144, allocations: 5.718 MB / 0.7807 GB, free: 32.74 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004225/2.144, allocations: 63.67 kB / 0.7807 GB, free: 32.71 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/2.148, allocations: 5.35 MB / 0.786 GB, free: 29.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/2.149, allocations: 1.015 MB / 0.787 GB, free: 29.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008523/2.15, allocations: 175.3 kB / 0.7871 GB, free: 29.02 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006497/2.151, allocations: 0.6874 MB / 0.7878 GB, free: 28.68 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005265/2.156, allocations: 2.37 MB / 0.7901 GB, free: 28.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008132/2.164, allocations: 7.962 MB / 0.7979 GB, free: 20.03 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008238/2.173, allocations: 4.285 MB / 0.8021 GB, free: 18.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001869/2.173, allocations: 57.94 kB / 0.8021 GB, free: 18.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.02212/2.195, allocations: 9.81 MB / 0.8117 GB, free: 15.96 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001604/2.195, allocations: 92.88 kB / 0.8118 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002298/2.196, allocations: 197.2 kB / 0.812 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/2.196, allocations: 293.3 kB / 0.8123 GB, free: 15.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009554/2.205, allocations: 2.183 MB / 0.8144 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003446/2.206, allocations: 393.6 kB / 0.8148 GB, free: 15.61 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009777/2.216, allocations: 0.6078 MB / 0.8154 GB, free: 15.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/2.217, allocations: 0.5355 MB / 0.8159 GB, free: 15.37 MB / 474.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.00152/2.219, allocations: 0.8041 MB / 0.8167 GB, free: 14.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001133/2.22, allocations: 0.5786 MB / 0.8172 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/2.228, allocations: 2.74 MB / 0.8199 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.567e-05/2.229, allocations: 29.55 kB / 0.8199 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.815e-05/2.229, allocations: 0 / 0.8199 GB, free: 13.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.108e-05/2.229, allocations: 16.78 kB / 0.82 GB, free: 13.33 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07137/2.3, allocations: 26.48 MB / 0.8458 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.59e-05/2.3, allocations: 57.81 kB / 0.8459 GB, free: 8.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002487/2.303, allocations: 0.5142 MB / 0.8464 GB, free: 7.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/2.303, allocations: 80.72 kB / 0.8464 GB, free: 7.617 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003076/2.303, allocations: 111.4 kB / 0.8465 GB, free: 7.512 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001046/2.303, allocations: 106.9 kB / 0.8467 GB, free: 7.418 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.828e-05/2.303, allocations: 87.62 kB / 0.8467 GB, free: 7.332 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/2.317, allocations: 14.52 MB / 0.8609 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00214/2.319, allocations: 0.6909 MB / 0.8616 GB, free: 6.266 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00117/2.32, allocations: 125.6 kB / 0.8617 GB, free: 6.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/2.325, allocations: 201.5 kB / 0.8619 GB, free: 6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000733/2.325, allocations: 355.7 kB / 0.8622 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003551/2.326, allocations: 147.3 kB / 0.8624 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01001/2.336, allocations: 4.014 MB / 0.8663 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.231e-06/2.336, allocations: 0 / 0.8663 GB, free: 2.051 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01105/2.347, allocations: 1.483 MB / 0.8677 GB, free: 0.5703 MB / 0.4948 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 () * 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.0009082/2.348, allocations: 278.8 kB / 0.868 GB, free: 308 kB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01292/2.361, allocations: 5.749 MB / 0.8736 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.335e-05/2.361, allocations: 8 kB / 0.8736 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003183/2.364, allocations: 1.46 MB / 0.8751 GB, free: 9.738 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006134/2.37, allocations: 0.8613 MB / 0.8759 GB, free: 9.016 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04373/2.414, allocations: 15.15 MB / 0.8907 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01374/2.428, allocations: 5.737 MB / 0.8963 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001873/2.43, allocations: 467.3 kB / 0.8967 GB, free: 6.926 MB / 0.5261 GB Notification: Performance of SimCode: time 1.877e-06/2.43, allocations: 4 kB / 0.8968 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of Templates: time 0.4427/2.872, allocations: 91.89 MB / 0.9865 GB, free: 119.1 MB / 0.5261 GB