Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce2") Notification: Performance of loadModel(ModelicaTest): time 2.227/2.227, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000433/0.0004331, allocations: 15.98 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3562, allocations: 54.85 MB / 369.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.5263, allocations: 95.92 MB / 465.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002644/0.5266, allocations: 87.89 kB / 465.8 MB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5032/1.03, allocations: 55.3 MB / 0.5089 GB, free: 64.15 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/1.03, allocations: 0 / 0.5089 GB, free: 64.15 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001679/1.03, allocations: 48 kB / 0.5089 GB, free: 64.1 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.009301/1.039, allocations: 2.722 MB / 0.5116 GB, free: 61.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/1.039, allocations: 12.03 kB / 0.5116 GB, free: 61.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.053, allocations: 1.817 MB / 0.5134 GB, free: 59.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005498/1.058, allocations: 1.715 MB / 0.515 GB, free: 57.71 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000219/1.058, allocations: 221.7 kB / 0.5153 GB, free: 57.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00131/1.06, allocations: 283.9 kB / 0.5155 GB, free: 57.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01729/1.077, allocations: 6.644 MB / 0.522 GB, free: 50.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.755e-05/1.077, allocations: 23.8 kB / 0.522 GB, free: 50.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006951/1.078, allocations: 135.9 kB / 0.5222 GB, free: 50.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001245/1.079, allocations: 0.6727 MB / 0.5228 GB, free: 49.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/1.095, allocations: 5.794 MB / 0.5285 GB, free: 43.55 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04008/1.135, allocations: 23.04 MB / 0.551 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006888/1.142, allocations: 2.237 MB / 0.5532 GB, free: 17.48 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009619/1.152, allocations: 3.761 MB / 0.5568 GB, free: 13.58 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/1.152, allocations: 43.34 kB / 0.5569 GB, free: 13.53 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 6.212e-06/1.152, allocations: 0 / 0.5569 GB, free: 13.53 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.009291/1.161, allocations: 2.453 MB / 0.5593 GB, free: 11.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/1.161, allocations: 63.92 kB / 0.5593 GB, free: 10.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003486/1.165, allocations: 1.971 MB / 0.5613 GB, free: 8.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/1.165, allocations: 37.7 kB / 0.5613 GB, free: 8.922 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001191/1.166, allocations: 1.959 MB / 0.5632 GB, free: 6.934 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004334/1.167, allocations: 367.3 kB / 0.5636 GB, free: 6.57 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/1.167, allocations: 60 kB / 0.5636 GB, free: 6.512 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/1.167, allocations: 445.5 kB / 0.564 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002095/1.169, allocations: 0.9196 MB / 0.5649 GB, free: 5.145 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003003/1.172, allocations: 2.846 MB / 0.5677 GB, free: 1.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003536/1.176, allocations: 1.623 MB / 0.5693 GB, free: 15.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.343e-05/1.176, allocations: 20 kB / 0.5693 GB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.01019/1.186, allocations: 3.605 MB / 0.5728 GB, free: 12.09 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.098e-05/1.186, allocations: 36 kB / 0.5729 GB, free: 12.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/1.186, allocations: 68.88 kB / 0.5729 GB, free: 11.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001463/1.187, allocations: 100 kB / 0.573 GB, free: 11.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004438/1.191, allocations: 0.7018 MB / 0.5737 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001811/1.191, allocations: 143.4 kB / 0.5739 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003364/1.195, allocations: 427.4 kB / 0.5743 GB, free: 10.62 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005983/1.195, allocations: 200 kB / 0.5745 GB, free: 10.43 MB / 410.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.003856/1.199, allocations: 1.423 MB / 0.5758 GB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004088/1.2, allocations: 161.8 kB / 0.576 GB, free: 8.832 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00332/1.203, allocations: 1.185 MB / 0.5772 GB, free: 7.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.022e-05/1.203, allocations: 19.97 kB / 0.5772 GB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.203, allocations: 4 kB / 0.5772 GB, free: 7.613 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.315e-05/1.203, allocations: 3.953 kB / 0.5772 GB, free: 7.609 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.217, allocations: 4.982 MB / 0.5821 GB, free: 2.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/1.217, allocations: 15.94 kB / 0.5821 GB, free: 2.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/1.218, allocations: 127.8 kB / 0.5822 GB, free: 2.301 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/1.218, allocations: 16 kB / 0.5822 GB, free: 2.285 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.849e-05/1.218, allocations: 24 kB / 0.5822 GB, free: 2.262 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.352e-05/1.218, allocations: 19.92 kB / 0.5822 GB, free: 2.242 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.429e-05/1.218, allocations: 11.94 kB / 0.5823 GB, free: 2.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003058/1.221, allocations: 1.501 MB / 0.5837 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006312/1.222, allocations: 270.6 kB / 0.584 GB, free: 300 kB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003543/1.222, allocations: 24 kB / 0.584 GB, free: 276 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/1.223, allocations: 39.86 kB / 0.584 GB, free: 236 kB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.223, allocations: 75.72 kB / 0.5841 GB, free: 160 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001069/1.224, allocations: 43.98 kB / 0.5842 GB, free: 116 kB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003023/1.227, allocations: 1.296 MB / 0.5854 GB, free: 14.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.72e-07/1.227, allocations: 0 / 0.5854 GB, free: 14.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003994/1.231, allocations: 0.7466 MB / 0.5862 GB, free: 14.04 MB / 426.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.000462/1.231, allocations: 154.9 kB / 0.5863 GB, free: 13.88 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005642/1.237, allocations: 2.157 MB / 0.5884 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/1.237, allocations: 0 / 0.5884 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001333/1.238, allocations: 0.5457 MB / 0.5889 GB, free: 11.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001649/1.24, allocations: 231.6 kB / 0.5892 GB, free: 10.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/1.257, allocations: 7.035 MB / 0.596 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004508/1.261, allocations: 2.46 MB / 0.5984 GB, free: 1.285 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008371/1.262, allocations: 159.4 kB / 0.5986 GB, free: 1.133 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/1.262, allocations: 0 / 0.5986 GB, free: 1.133 MB / 426.7 MB Notification: Performance of Templates: time 0.07496/1.337, allocations: 31.42 MB / 0.6293 GB, free: 1.703 MB / 458.7 MB