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.CutForce2.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.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.185/2.185, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.167e-05/3.185e-05, allocations: 4 kB / 309.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3242/0.3243, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.4711, allocations: 95.84 MB / 460.4 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4714, allocations: 75.95 kB / 460.4 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2121/0.6836, allocations: 55.14 MB / 0.5035 GB, free: 9.082 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.6836, allocations: 0 / 0.5035 GB, free: 9.082 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001374/0.6838, allocations: 52 kB / 0.5036 GB, free: 9.031 MB / 442.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.008023/0.6918, allocations: 2.609 MB / 0.5061 GB, free: 6.363 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6919, allocations: 8.031 kB / 0.5061 GB, free: 6.355 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.7023, allocations: 1.821 MB / 0.5079 GB, free: 4.527 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005022/0.7073, allocations: 1.715 MB / 0.5096 GB, free: 2.762 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.7077, allocations: 217.7 kB / 0.5098 GB, free: 2.547 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.709, allocations: 283.9 kB / 0.51 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01796/0.727, allocations: 6.566 MB / 0.5165 GB, free: 11.32 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.737e-05/0.7271, allocations: 19.81 kB / 0.5165 GB, free: 11.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008838/0.728, allocations: 139.9 kB / 0.5166 GB, free: 11.16 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001301/0.7294, allocations: 0.6727 MB / 0.5173 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01547/0.7448, allocations: 5.708 MB / 0.5228 GB, free: 4.758 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2968/1.042, allocations: 23.03 MB / 0.5453 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006165/1.048, allocations: 2.212 MB / 0.5475 GB, free: 105.6 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001474/1.049, allocations: 0.7596 MB / 0.5482 GB, free: 105.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008563/1.058, allocations: 3.762 MB / 0.5519 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.222e-05/1.058, allocations: 47.12 kB / 0.5519 GB, free: 104.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=93): time 6.928e-06/1.058, allocations: 5.219 kB / 0.552 GB, free: 104.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=93): time 0.007057/1.065, allocations: 1.71 MB / 0.5536 GB, free: 104.3 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/1.065, allocations: 58.5 kB / 0.5537 GB, free: 104.2 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/1.069, allocations: 1.748 MB / 0.5554 GB, free: 104 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001269/1.069, allocations: 38.08 kB / 0.5554 GB, free: 104 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001087/1.07, allocations: 1.962 MB / 0.5573 GB, free: 103 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/1.07, allocations: 369.4 kB / 0.5577 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001794/1.07, allocations: 62.36 kB / 0.5577 GB, free: 102.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000231/1.071, allocations: 450 kB / 0.5582 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001676/1.072, allocations: 0.8908 MB / 0.559 GB, free: 102.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002496/1.075, allocations: 2.806 MB / 0.5618 GB, free: 99.99 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002784/1.078, allocations: 1.622 MB / 0.5634 GB, free: 99.67 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.041e-05/1.078, allocations: 19.69 kB / 0.5634 GB, free: 99.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.007192/1.085, allocations: 3.562 MB / 0.5669 GB, free: 98.61 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/1.085, allocations: 37.47 kB / 0.5669 GB, free: 98.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.888e-05/1.085, allocations: 67.66 kB / 0.567 GB, free: 98.61 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/1.085, allocations: 99.22 kB / 0.5671 GB, free: 98.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002898/1.088, allocations: 0.707 MB / 0.5678 GB, free: 98.52 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001065/1.088, allocations: 133.9 kB / 0.5679 GB, free: 98.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002869/1.091, allocations: 434.5 kB / 0.5683 GB, free: 98.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003714/1.092, allocations: 192.6 kB / 0.5685 GB, free: 98.2 MB / 458.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 () * 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.000452/1.092, allocations: 342.2 kB / 0.5688 GB, free: 97.91 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002567/1.092, allocations: 178.3 kB / 0.569 GB, free: 97.81 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002161/1.094, allocations: 1.161 MB / 0.5701 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/1.095, allocations: 10.47 kB / 0.5701 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.401e-06/1.095, allocations: 6.641 kB / 0.5701 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/1.095, allocations: 3.703 kB / 0.5701 GB, free: 97.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/1.104, allocations: 4.959 MB / 0.575 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-05/1.105, allocations: 14.94 kB / 0.575 GB, free: 95.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.105, allocations: 135.1 kB / 0.5751 GB, free: 95.37 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.961e-05/1.105, allocations: 11.75 kB / 0.5751 GB, free: 95.37 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.574e-05/1.105, allocations: 33.73 kB / 0.5752 GB, free: 95.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.534e-05/1.106, allocations: 17.66 kB / 0.5752 GB, free: 95.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.106, allocations: 15 kB / 0.5752 GB, free: 95.35 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.108, allocations: 2.16 MB / 0.5773 GB, free: 93.48 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000521/1.108, allocations: 272 kB / 0.5776 GB, free: 93.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003034/1.109, allocations: 26.92 kB / 0.5776 GB, free: 93.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000883/1.11, allocations: 40.14 kB / 0.5776 GB, free: 93.25 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/1.11, allocations: 78.83 kB / 0.5777 GB, free: 93.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.887e-05/1.11, allocations: 40.47 kB / 0.5777 GB, free: 93.21 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002178/1.112, allocations: 1.275 MB / 0.579 GB, free: 92.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.007e-06/1.112, allocations: 0 / 0.579 GB, free: 92.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003462/1.115, allocations: 0.7566 MB / 0.5797 GB, free: 92.48 MB / 458.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 () * 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.0003507/1.116, allocations: 152.9 kB / 0.5799 GB, free: 92.36 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003908/1.12, allocations: 2.127 MB / 0.5819 GB, free: 91.66 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/1.12, allocations: 3.969 kB / 0.5819 GB, free: 91.66 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009352/1.121, allocations: 0.5252 MB / 0.5825 GB, free: 91.49 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.122, allocations: 238.5 kB / 0.5827 GB, free: 91.39 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.132, allocations: 4.814 MB / 0.5874 GB, free: 89.32 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003242/1.136, allocations: 2.458 MB / 0.5898 GB, free: 88.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/1.136, allocations: 158.6 kB / 0.5899 GB, free: 88.22 MB / 458.7 MB Notification: Performance of SimCode: time 1.855e-06/1.136, allocations: 0 / 0.5899 GB, free: 88.22 MB / 458.7 MB Notification: Performance of Templates: time 0.04669/1.183, allocations: 31.41 MB / 0.6206 GB, free: 66.65 MB / 458.7 MB