Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 2.312/2.312, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006057/0.0006059, allocations: 16 kB / 283.1 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3626, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5269, allocations: 92.05 MB / 423.9 MB, free: 2.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5273, allocations: 83.95 kB / 423.9 MB, free: 2.301 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8782/1.406, allocations: 160.7 MB / 0.571 GB, free: 24.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.406, allocations: 0 / 0.571 GB, free: 24.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004142/1.406, allocations: 156 kB / 0.5711 GB, free: 24.18 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03032/1.436, allocations: 8.28 MB / 0.5792 GB, free: 15.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/1.436, allocations: 12.03 kB / 0.5792 GB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02984/1.466, allocations: 3.632 MB / 0.5827 GB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02991/1.496, allocations: 9.591 MB / 0.5921 GB, free: 2.477 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007559/1.497, allocations: 0.6017 MB / 0.5927 GB, free: 1.871 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004195/1.501, allocations: 0.7927 MB / 0.5935 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06223/1.564, allocations: 19.01 MB / 0.612 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004535/1.564, allocations: 95.12 kB / 0.6121 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003378/1.567, allocations: 375.8 kB / 0.6125 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/1.572, allocations: 1.786 MB / 0.6142 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6325/2.205, allocations: 14.96 MB / 0.6288 GB, free: 62.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/2.333, allocations: 78.99 MB / 0.706 GB, free: 18.52 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02746/2.361, allocations: 6.088 MB / 0.7119 GB, free: 16.64 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02954/2.39, allocations: 10.99 MB / 0.7227 GB, free: 11.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/2.39, allocations: 64 kB / 0.7227 GB, free: 11.14 MB / 426.8 MB Notification: Performance of pre-optimization done (n=238): time 6.111e-06/2.39, allocations: 0 / 0.7227 GB, free: 11.14 MB / 426.8 MB Notification: Performance of matching and sorting (n=262): time 0.0659/2.456, allocations: 16.27 MB / 0.7386 GB, free: 4.395 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.741e-05/2.456, allocations: 161.3 kB / 0.7388 GB, free: 4.238 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01467/2.471, allocations: 6.647 MB / 0.7453 GB, free: 1.969 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005015/2.472, allocations: 62.77 kB / 0.7453 GB, free: 1.91 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004869/2.477, allocations: 5.35 MB / 0.7505 GB, free: 13.69 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001593/2.478, allocations: 1.014 MB / 0.7515 GB, free: 12.96 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008816/2.479, allocations: 177.8 kB / 0.7517 GB, free: 12.82 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0005824/2.48, allocations: 0.6753 MB / 0.7524 GB, free: 12.35 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007763/2.487, allocations: 2.568 MB / 0.7549 GB, free: 11.59 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/2.5, allocations: 8.202 MB / 0.7629 GB, free: 3.254 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01282/2.513, allocations: 4.435 MB / 0.7672 GB, free: 15.57 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002458/2.514, allocations: 56 kB / 0.7673 GB, free: 15.52 MB / 458.8 MB Notification: Performance of matching and sorting (n=1152) (initialization): time 0.03183/2.545, allocations: 10.2 MB / 0.7772 GB, free: 6.516 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.000179/2.546, allocations: 92 kB / 0.7773 GB, free: 6.426 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003604/2.546, allocations: 200 kB / 0.7775 GB, free: 6.23 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003867/2.546, allocations: 295.9 kB / 0.7778 GB, free: 5.941 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01397/2.56, allocations: 2.18 MB / 0.7799 GB, free: 4.047 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004507/2.561, allocations: 400.8 kB / 0.7803 GB, free: 3.703 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01104/2.572, allocations: 0.6153 MB / 0.7809 GB, free: 3.184 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001708/2.574, allocations: 0.5343 MB / 0.7814 GB, free: 2.656 MB / 458.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.01012/2.584, allocations: 3.612 MB / 0.7849 GB, free: 15.53 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001481/2.585, allocations: 0.5744 MB / 0.7855 GB, free: 14.95 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008278/2.594, allocations: 2.807 MB / 0.7882 GB, free: 12.56 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.645e-05/2.594, allocations: 32 kB / 0.7883 GB, free: 12.53 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.655e-05/2.594, allocations: 11.06 kB / 0.7883 GB, free: 12.53 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-05/2.594, allocations: 10.92 kB / 0.7883 GB, free: 12.53 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4026/2.996, allocations: 26.45 MB / 0.8141 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001505/2.997, allocations: 53.44 kB / 0.8142 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003658/3, allocations: 0.5159 MB / 0.8147 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000104/3, allocations: 76.19 kB / 0.8147 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003149/3.001, allocations: 122.3 kB / 0.8149 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001114/3.001, allocations: 101.3 kB / 0.815 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.863e-05/3.001, allocations: 84.64 kB / 0.815 GB, free: 103.7 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00895/3.01, allocations: 5.176 MB / 0.8201 GB, free: 101 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002089/3.012, allocations: 0.682 MB / 0.8208 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/3.013, allocations: 126.2 kB / 0.8209 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004589/3.018, allocations: 205 kB / 0.8211 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005381/3.019, allocations: 346.9 kB / 0.8214 GB, free: 100.9 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/3.019, allocations: 150.7 kB / 0.8216 GB, free: 100.9 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0106/3.029, allocations: 4.193 MB / 0.8256 GB, free: 100.7 MB / 474.8 MB Notification: Performance of sort global known variables: time 8.51e-07/3.03, allocations: 0 / 0.8256 GB, free: 100.7 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01038/3.04, allocations: 1.488 MB / 0.8271 GB, free: 100.7 MB / 474.8 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 () * 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.0008981/3.041, allocations: 300.7 kB / 0.8274 GB, free: 100.6 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.01438/3.055, allocations: 5.967 MB / 0.8332 GB, free: 100.3 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.42e-05/3.055, allocations: 11.03 kB / 0.8332 GB, free: 100.3 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.003374/3.059, allocations: 1.472 MB / 0.8347 GB, free: 100.2 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006277/3.065, allocations: 0.8634 MB / 0.8355 GB, free: 100.1 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0418/3.107, allocations: 20.95 MB / 0.856 GB, free: 90.49 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01244/3.119, allocations: 5.739 MB / 0.8616 GB, free: 89.61 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002144/3.122, allocations: 465.7 kB / 0.862 GB, free: 89.6 MB / 474.8 MB Notification: Performance of SimCode: time 1.022e-06/3.122, allocations: 0 / 0.862 GB, free: 89.6 MB / 474.8 MB Notification: Performance of Templates: time 0.1733/3.295, allocations: 91.88 MB / 0.9517 GB, free: 26.62 MB / 474.8 MB