Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.911/1.911, allocations: 209.3 MB / 224.8 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.0004398, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3186, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4694, allocations: 89.33 MB / 420.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/0.4697, allocations: 83.95 kB / 420.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5021/0.9719, allocations: 55.07 MB / 475.7 MB, free: 94.13 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.102e-06/0.9719, allocations: 0 / 475.7 MB, free: 94.13 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001312/0.9721, allocations: 52.16 kB / 475.8 MB, free: 94.13 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.007478/0.9796, allocations: 2.715 MB / 478.5 MB, free: 92.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.9796, allocations: 8.594 kB / 478.5 MB, free: 92.93 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009613/0.9893, allocations: 1.823 MB / 480.3 MB, free: 92.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004671/0.994, allocations: 1.704 MB / 482 MB, free: 92.35 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.9943, allocations: 228.9 kB / 482.3 MB, free: 92.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00128/0.9956, allocations: 281.4 kB / 482.5 MB, free: 92.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/1.012, allocations: 6.629 MB / 489.2 MB, free: 91.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.584e-05/1.012, allocations: 16.44 kB / 489.2 MB, free: 91.32 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008222/1.013, allocations: 129.1 kB / 489.3 MB, free: 91.32 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001145/1.014, allocations: 0.6786 MB / 490 MB, free: 91.31 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01342/1.027, allocations: 5.797 MB / 495.8 MB, free: 91.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03399/1.062, allocations: 23.04 MB / 0.5067 GB, free: 76.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006062/1.068, allocations: 2.241 MB / 0.5089 GB, free: 75.37 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008315/1.076, allocations: 3.776 MB / 0.5126 GB, free: 73.47 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/1.076, allocations: 42.94 kB / 0.5126 GB, free: 73.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 4.48e-06/1.076, allocations: 0 / 0.5126 GB, free: 73.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.008114/1.084, allocations: 2.442 MB / 0.515 GB, free: 72.58 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.736e-05/1.084, allocations: 55.91 kB / 0.515 GB, free: 72.52 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002837/1.087, allocations: 1.772 MB / 0.5168 GB, free: 71.84 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001193/1.087, allocations: 37.64 kB / 0.5168 GB, free: 71.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/1.088, allocations: 1.957 MB / 0.5187 GB, free: 70.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/1.089, allocations: 370.3 kB / 0.5191 GB, free: 70 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/1.089, allocations: 61.84 kB / 0.5191 GB, free: 69.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/1.089, allocations: 447 kB / 0.5195 GB, free: 69.59 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001832/1.091, allocations: 0.9192 MB / 0.5204 GB, free: 69.31 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.094, allocations: 2.829 MB / 0.5232 GB, free: 66.4 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/1.097, allocations: 1.619 MB / 0.5248 GB, free: 65.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.504e-05/1.097, allocations: 23.94 kB / 0.5248 GB, free: 65.61 MB / 394.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.007546/1.104, allocations: 3.61 MB / 0.5283 GB, free: 62.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.372e-05/1.104, allocations: 32.62 kB / 0.5284 GB, free: 62.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-05/1.104, allocations: 68.09 kB / 0.5284 GB, free: 62.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001087/1.104, allocations: 104 kB / 0.5285 GB, free: 62.19 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/1.107, allocations: 0.7072 MB / 0.5292 GB, free: 61.56 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001172/1.107, allocations: 126.9 kB / 0.5293 GB, free: 61.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003011/1.11, allocations: 438.9 kB / 0.5298 GB, free: 61.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004746/1.111, allocations: 192 kB / 0.5299 GB, free: 60.84 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.002757/1.114, allocations: 1.415 MB / 0.5313 GB, free: 59.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/1.114, allocations: 169.8 kB / 0.5315 GB, free: 59.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/1.116, allocations: 1.192 MB / 0.5327 GB, free: 58.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.116, allocations: 8 kB / 0.5327 GB, free: 58.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.019e-06/1.116, allocations: 4 kB / 0.5327 GB, free: 58.39 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/1.116, allocations: 3.891 kB / 0.5327 GB, free: 58.39 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009894/1.126, allocations: 4.979 MB / 0.5375 GB, free: 54.07 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.126, allocations: 8 kB / 0.5375 GB, free: 54.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006707/1.127, allocations: 135.3 kB / 0.5377 GB, free: 53.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.769e-05/1.127, allocations: 15.94 kB / 0.5377 GB, free: 53.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.392e-05/1.127, allocations: 24.62 kB / 0.5377 GB, free: 53.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-05/1.127, allocations: 19.89 kB / 0.5377 GB, free: 53.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-05/1.127, allocations: 19.94 kB / 0.5377 GB, free: 53.88 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002298/1.13, allocations: 2.174 MB / 0.5399 GB, free: 51.33 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004736/1.13, allocations: 270.6 kB / 0.5401 GB, free: 51.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/1.13, allocations: 23.98 kB / 0.5402 GB, free: 51.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000817/1.131, allocations: 43.55 kB / 0.5402 GB, free: 50.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/1.131, allocations: 71.72 kB / 0.5403 GB, free: 50.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.924e-05/1.131, allocations: 39.75 kB / 0.5403 GB, free: 50.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002269/1.134, allocations: 1.296 MB / 0.5416 GB, free: 49.55 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.629e-06/1.134, allocations: 4 kB / 0.5416 GB, free: 49.55 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003687/1.137, allocations: 0.7466 MB / 0.5423 GB, free: 48.8 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.0003657/1.138, allocations: 164.8 kB / 0.5425 GB, free: 48.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003953/1.142, allocations: 2.165 MB / 0.5446 GB, free: 46.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.142, allocations: 4 kB / 0.5446 GB, free: 46.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009376/1.143, allocations: 0.5298 MB / 0.5451 GB, free: 45.96 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/1.144, allocations: 230.7 kB / 0.5453 GB, free: 45.73 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/1.156, allocations: 7.022 MB / 0.5522 GB, free: 38.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003267/1.159, allocations: 2.463 MB / 0.5546 GB, free: 36.08 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/1.16, allocations: 155.4 kB / 0.5547 GB, free: 35.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.799e-06/1.16, allocations: 0 / 0.5547 GB, free: 35.93 MB / 394.7 MB Notification: Performance of Templates: time 0.04617/1.206, allocations: 31.41 MB / 0.5854 GB, free: 4.844 MB / 394.7 MB