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.CutForce2.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.CutForce2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce.force.3.|cutForce.force.2.|cutForce.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 1.877/1.877, allocations: 209.2 MB / 225.4 MB, free: 296 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 12 kB / 283.1 MB, free: 9.648 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3571/0.3576, allocations: 48.69 MB / 331.8 MB, free: 6.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5179, allocations: 89.33 MB / 421.1 MB, free: 5.102 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003229/0.5183, allocations: 87.89 kB / 421.2 MB, free: 5.016 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5073/1.026, allocations: 55.28 MB / 476.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.026, allocations: 0 / 476.5 MB, free: 94.02 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001451/1.026, allocations: 50.53 kB / 476.5 MB, free: 94.02 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: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009918/1.036, allocations: 2.717 MB / 479.3 MB, free: 92.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/1.036, allocations: 8.312 kB / 479.3 MB, free: 92.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/1.05, allocations: 1.825 MB / 481.1 MB, free: 92.59 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005996/1.056, allocations: 1.708 MB / 482.8 MB, free: 92.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000291/1.056, allocations: 223.5 kB / 483 MB, free: 92.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001467/1.057, allocations: 286.3 kB / 483.3 MB, free: 92.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/1.077, allocations: 6.646 MB / 489.9 MB, free: 91.16 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001372/1.077, allocations: 17.44 kB / 490 MB, free: 91.16 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009514/1.078, allocations: 132.9 kB / 490.1 MB, free: 91.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001475/1.08, allocations: 0.6772 MB / 490.8 MB, free: 91.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/1.096, allocations: 5.801 MB / 496.6 MB, free: 91.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04013/1.136, allocations: 23.04 MB / 0.5074 GB, free: 76.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006968/1.143, allocations: 2.243 MB / 0.5096 GB, free: 75.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009561/1.153, allocations: 3.76 MB / 0.5133 GB, free: 73.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.016e-05/1.153, allocations: 42.47 kB / 0.5133 GB, free: 73.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 5.69e-06/1.153, allocations: 0 / 0.5133 GB, free: 73.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.009159/1.162, allocations: 2.442 MB / 0.5157 GB, free: 72.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.358e-05/1.162, allocations: 60.8 kB / 0.5158 GB, free: 72.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00352/1.166, allocations: 1.976 MB / 0.5177 GB, free: 71.59 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/1.166, allocations: 37.36 kB / 0.5177 GB, free: 71.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001215/1.167, allocations: 1.959 MB / 0.5196 GB, free: 70.02 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004648/1.168, allocations: 362.1 kB / 0.52 GB, free: 69.76 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/1.168, allocations: 58.09 kB / 0.52 GB, free: 69.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/1.168, allocations: 453.4 kB / 0.5205 GB, free: 69.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002022/1.17, allocations: 0.9166 MB / 0.5214 GB, free: 69.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002855/1.173, allocations: 2.847 MB / 0.5242 GB, free: 66.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003201/1.176, allocations: 1.622 MB / 0.5257 GB, free: 65.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.123e-05/1.177, allocations: 16 kB / 0.5258 GB, free: 65.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008163/1.185, allocations: 3.609 MB / 0.5293 GB, free: 62.07 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.479e-05/1.185, allocations: 36.56 kB / 0.5293 GB, free: 62.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.558e-05/1.185, allocations: 68 kB / 0.5294 GB, free: 61.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001081/1.185, allocations: 100 kB / 0.5295 GB, free: 61.88 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/1.189, allocations: 0.7057 MB / 0.5302 GB, free: 61.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001041/1.189, allocations: 133 kB / 0.5303 GB, free: 61.13 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/1.192, allocations: 434.2 kB / 0.5307 GB, free: 60.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003908/1.192, allocations: 191.4 kB / 0.5309 GB, free: 60.53 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 310 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[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],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.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 (385): * Single equations (assignments): 382 * 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.00312/1.195, allocations: 1.426 MB / 0.5323 GB, free: 59.28 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003652/1.196, allocations: 169.8 kB / 0.5324 GB, free: 59.11 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/1.199, allocations: 1.184 MB / 0.5336 GB, free: 58.09 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.546e-05/1.199, allocations: 15.84 kB / 0.5336 GB, free: 58.08 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.199, allocations: 0 / 0.5336 GB, free: 58.08 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.199, allocations: 3.891 kB / 0.5336 GB, free: 58.08 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/1.21, allocations: 4.993 MB / 0.5385 GB, free: 53.76 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/1.21, allocations: 8 kB / 0.5385 GB, free: 53.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.212, allocations: 136.4 kB / 0.5386 GB, free: 53.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-05/1.212, allocations: 12 kB / 0.5386 GB, free: 53.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.778e-05/1.212, allocations: 27.95 kB / 0.5387 GB, free: 53.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.735e-05/1.212, allocations: 19.64 kB / 0.5387 GB, free: 53.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.109e-05/1.212, allocations: 15.94 kB / 0.5387 GB, free: 53.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/1.214, allocations: 1.499 MB / 0.5402 GB, free: 52.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/1.215, allocations: 266.6 kB / 0.5404 GB, free: 51.74 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003903/1.215, allocations: 23.98 kB / 0.5404 GB, free: 51.72 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001065/1.216, allocations: 43.83 kB / 0.5405 GB, free: 51.68 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001637/1.217, allocations: 71.77 kB / 0.5406 GB, free: 51.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.217, allocations: 39.83 kB / 0.5406 GB, free: 51.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00274/1.219, allocations: 1.292 MB / 0.5419 GB, free: 50.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.313e-06/1.22, allocations: 7.938 kB / 0.5419 GB, free: 50.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003854/1.223, allocations: 0.7428 MB / 0.5426 GB, free: 49.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * 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 (70): * Single equations (assignments): 67 * 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.0004522/1.224, allocations: 158.7 kB / 0.5427 GB, free: 49.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004858/1.229, allocations: 2.162 MB / 0.5448 GB, free: 47.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.546e-05/1.229, allocations: 4 kB / 0.5449 GB, free: 47.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001162/1.23, allocations: 0.5331 MB / 0.5454 GB, free: 46.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001657/1.232, allocations: 230.1 kB / 0.5456 GB, free: 46.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01465/1.246, allocations: 7.05 MB / 0.5525 GB, free: 39.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003817/1.25, allocations: 2.458 MB / 0.5549 GB, free: 36.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007483/1.251, allocations: 159.4 kB / 0.555 GB, free: 36.61 MB / 394.7 MB Notification: Performance of SimCode: time 1.382e-06/1.251, allocations: 0 / 0.555 GB, free: 36.61 MB / 394.7 MB Notification: Performance of Templates: time 0.06135/1.312, allocations: 31.4 MB / 0.5857 GB, free: 5.543 MB / 394.7 MB