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.203/2.203, allocations: 234.9 MB / 250.5 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004353, allocations: 12 kB / 314.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2934, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.438, allocations: 95.92 MB / 465.2 MB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/0.4383, allocations: 83.95 kB / 465.3 MB, free: 12.62 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4543/0.8925, allocations: 55.08 MB / 0.5082 GB, free: 105.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.002e-06/0.8926, allocations: 0 / 0.5082 GB, free: 105.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001052/0.8927, allocations: 56.81 kB / 0.5082 GB, free: 105.2 MB / 426.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.007751/0.9005, allocations: 2.714 MB / 0.5109 GB, free: 103.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9005, allocations: 7.344 kB / 0.5109 GB, free: 103.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009825/0.9104, allocations: 1.82 MB / 0.5126 GB, free: 103.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004533/0.915, allocations: 1.712 MB / 0.5143 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.9152, allocations: 223.5 kB / 0.5145 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001122/0.9164, allocations: 285.7 kB / 0.5148 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01385/0.9302, allocations: 6.623 MB / 0.5213 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.701e-05/0.9303, allocations: 18 kB / 0.5213 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005053/0.9309, allocations: 133.1 kB / 0.5214 GB, free: 102.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001013/0.9319, allocations: 0.6741 MB / 0.5221 GB, free: 102.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01337/0.9453, allocations: 5.809 MB / 0.5277 GB, free: 100.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03044/0.9758, allocations: 23.03 MB / 0.5502 GB, free: 80.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005453/0.9813, allocations: 2.248 MB / 0.5524 GB, free: 78.2 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007391/0.9887, allocations: 3.76 MB / 0.5561 GB, free: 74.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/0.9888, allocations: 39.12 kB / 0.5561 GB, free: 74.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 4.978e-06/0.9888, allocations: 0 / 0.5561 GB, free: 74.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.007199/0.996, allocations: 2.444 MB / 0.5585 GB, free: 72.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.996, allocations: 60.19 kB / 0.5586 GB, free: 72.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002757/0.9988, allocations: 1.771 MB / 0.5603 GB, free: 70.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.335e-05/0.9989, allocations: 37.7 kB / 0.5603 GB, free: 70.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009562/0.9999, allocations: 1.964 MB / 0.5623 GB, free: 68.42 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/1, allocations: 366.2 kB / 0.5626 GB, free: 68.06 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/1, allocations: 64 kB / 0.5627 GB, free: 68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/1.001, allocations: 449.5 kB / 0.5631 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001643/1.002, allocations: 0.9196 MB / 0.564 GB, free: 66.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002446/1.005, allocations: 2.827 MB / 0.5668 GB, free: 62.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002547/1.007, allocations: 1.622 MB / 0.5683 GB, free: 61.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.353e-05/1.007, allocations: 20 kB / 0.5684 GB, free: 61.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.006764/1.014, allocations: 3.608 MB / 0.5719 GB, free: 57.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.698e-05/1.014, allocations: 32 kB / 0.5719 GB, free: 57.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.58e-05/1.014, allocations: 68 kB / 0.572 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001032/1.014, allocations: 100 kB / 0.5721 GB, free: 57.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002564/1.017, allocations: 0.7057 MB / 0.5728 GB, free: 56.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.76e-05/1.017, allocations: 131.5 kB / 0.5729 GB, free: 56.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002643/1.02, allocations: 439.6 kB / 0.5733 GB, free: 56.13 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003281/1.02, allocations: 195 kB / 0.5735 GB, free: 55.94 MB / 426.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.002476/1.023, allocations: 1.419 MB / 0.5749 GB, free: 54.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002831/1.023, allocations: 169.8 kB / 0.575 GB, free: 54.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002171/1.025, allocations: 1.185 MB / 0.5762 GB, free: 53.15 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/1.025, allocations: 8 kB / 0.5762 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.115e-06/1.025, allocations: 0 / 0.5762 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/1.025, allocations: 7.984 kB / 0.5762 GB, free: 53.14 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009619/1.035, allocations: 4.991 MB / 0.5811 GB, free: 47.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.035, allocations: 8 kB / 0.5811 GB, free: 47.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/1.036, allocations: 135.8 kB / 0.5812 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.897e-05/1.036, allocations: 19.98 kB / 0.5813 GB, free: 47.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.518e-05/1.036, allocations: 27.94 kB / 0.5813 GB, free: 47.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-05/1.036, allocations: 19.06 kB / 0.5813 GB, free: 47.77 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.065e-05/1.036, allocations: 15.94 kB / 0.5813 GB, free: 47.76 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002234/1.038, allocations: 2.168 MB / 0.5834 GB, free: 45.12 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/1.038, allocations: 274.6 kB / 0.5837 GB, free: 44.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002565/1.039, allocations: 23.95 kB / 0.5837 GB, free: 44.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007999/1.039, allocations: 45.36 kB / 0.5838 GB, free: 44.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.04, allocations: 71.72 kB / 0.5838 GB, free: 44.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.779e-05/1.04, allocations: 39.98 kB / 0.5839 GB, free: 44.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00209/1.042, allocations: 1.292 MB / 0.5851 GB, free: 43.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.04e-07/1.042, allocations: 0 / 0.5851 GB, free: 43.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003333/1.045, allocations: 0.7445 MB / 0.5859 GB, free: 42.59 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.000316/1.046, allocations: 170.8 kB / 0.586 GB, free: 42.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003742/1.049, allocations: 2.148 MB / 0.5881 GB, free: 40.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.259e-06/1.049, allocations: 0 / 0.5881 GB, free: 40.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008886/1.05, allocations: 0.5417 MB / 0.5886 GB, free: 39.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001298/1.052, allocations: 238.2 kB / 0.5889 GB, free: 39.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01127/1.063, allocations: 7.015 MB / 0.5957 GB, free: 32.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/1.066, allocations: 2.464 MB / 0.5981 GB, free: 29.87 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/1.066, allocations: 151.4 kB / 0.5983 GB, free: 29.72 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/1.066, allocations: 0 / 0.5983 GB, free: 29.72 MB / 426.7 MB Notification: Performance of Templates: time 0.04603/1.113, allocations: 31.42 MB / 0.629 GB, free: 14.46 MB / 442.7 MB