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.86/1.86, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.775e-05, allocations: 0 / 277.8 MB, free: 12.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09275/0.0928, allocations: 48.72 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3778/0.4706, allocations: 89.24 MB / 415.8 MB, free: 13.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4709, allocations: 75.95 kB / 415.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2098/0.6808, allocations: 55.12 MB / 471 MB, free: 6.309 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.428e-06/0.6808, allocations: 0 / 471 MB, free: 6.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001407/0.681, allocations: 52 kB / 471 MB, free: 6.258 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.008178/0.6892, allocations: 2.613 MB / 473.6 MB, free: 3.586 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.6892, allocations: 8.031 kB / 473.6 MB, free: 3.578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.6996, allocations: 1.821 MB / 475.5 MB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00511/0.7048, allocations: 1.719 MB / 477.2 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003351/0.7052, allocations: 221.7 kB / 477.4 MB, free: 15.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.7065, allocations: 279.9 kB / 477.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01859/0.7252, allocations: 6.562 MB / 484.2 MB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001074/0.7253, allocations: 19.81 kB / 484.2 MB, free: 8.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001098/0.7264, allocations: 127.9 kB / 484.4 MB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001447/0.7279, allocations: 0.6843 MB / 485.1 MB, free: 7.723 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01543/0.7434, allocations: 5.72 MB / 490.8 MB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2772/1.021, allocations: 23.01 MB / 0.5017 GB, free: 101.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005974/1.027, allocations: 2.224 MB / 0.5039 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00149/1.028, allocations: 0.758 MB / 0.5047 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008621/1.037, allocations: 3.769 MB / 0.5083 GB, free: 99.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/1.037, allocations: 38.23 kB / 0.5084 GB, free: 99.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 5.306e-06/1.037, allocations: 5.438 kB / 0.5084 GB, free: 99.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.007107/1.044, allocations: 1.713 MB / 0.5101 GB, free: 99.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.586e-05/1.044, allocations: 59.66 kB / 0.5101 GB, free: 99.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003784/1.048, allocations: 1.748 MB / 0.5118 GB, free: 98.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/1.048, allocations: 38.89 kB / 0.5119 GB, free: 98.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001273/1.049, allocations: 1.963 MB / 0.5138 GB, free: 97.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/1.05, allocations: 364.7 kB / 0.5141 GB, free: 97.78 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001944/1.05, allocations: 60.38 kB / 0.5142 GB, free: 97.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002566/1.05, allocations: 452.4 kB / 0.5146 GB, free: 97.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001828/1.052, allocations: 0.8968 MB / 0.5155 GB, free: 97.45 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002769/1.055, allocations: 2.807 MB / 0.5182 GB, free: 94.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003065/1.058, allocations: 1.618 MB / 0.5198 GB, free: 94.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.214e-05/1.058, allocations: 19.41 kB / 0.5198 GB, free: 94.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=409) (initialization): time 0.008095/1.066, allocations: 3.563 MB / 0.5233 GB, free: 94.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.55e-05/1.066, allocations: 38 kB / 0.5233 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-05/1.066, allocations: 67.44 kB / 0.5234 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/1.067, allocations: 103.9 kB / 0.5235 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/1.069, allocations: 0.7031 MB / 0.5242 GB, free: 94.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001094/1.07, allocations: 129.8 kB / 0.5243 GB, free: 94.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.073, allocations: 451.7 kB / 0.5247 GB, free: 94.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005268/1.073, allocations: 187.7 kB / 0.5249 GB, free: 94.48 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 () * 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.0005254/1.074, allocations: 345.1 kB / 0.5253 GB, free: 94.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002919/1.074, allocations: 165.4 kB / 0.5254 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002211/1.076, allocations: 1.168 MB / 0.5266 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.16e-05/1.076, allocations: 11.89 kB / 0.5266 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.007e-06/1.076, allocations: 0 / 0.5266 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.076, allocations: 3.562 kB / 0.5266 GB, free: 94.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/1.087, allocations: 4.963 MB / 0.5314 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/1.087, allocations: 16.69 kB / 0.5314 GB, free: 93.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/1.088, allocations: 134.8 kB / 0.5316 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.959e-05/1.088, allocations: 15.53 kB / 0.5316 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.177e-05/1.088, allocations: 26.81 kB / 0.5316 GB, free: 93.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.749e-05/1.088, allocations: 20.67 kB / 0.5316 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.194e-05/1.088, allocations: 16.95 kB / 0.5316 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/1.09, allocations: 2.164 MB / 0.5337 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/1.091, allocations: 271.5 kB / 0.534 GB, free: 91.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/1.091, allocations: 24.38 kB / 0.534 GB, free: 91.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009171/1.092, allocations: 36.98 kB / 0.5341 GB, free: 91.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.092, allocations: 79.86 kB / 0.5341 GB, free: 91.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.969e-05/1.092, allocations: 33.34 kB / 0.5342 GB, free: 91.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002261/1.094, allocations: 1.275 MB / 0.5354 GB, free: 90.91 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.37e-07/1.094, allocations: 0 / 0.5354 GB, free: 90.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003736/1.098, allocations: 0.7498 MB / 0.5362 GB, free: 90.68 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 () * 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.0003569/1.099, allocations: 156.5 kB / 0.5363 GB, free: 90.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003818/1.102, allocations: 2.125 MB / 0.5384 GB, free: 89.88 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.274e-05/1.102, allocations: 3.219 kB / 0.5384 GB, free: 89.88 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009322/1.103, allocations: 0.5214 MB / 0.5389 GB, free: 89.72 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/1.105, allocations: 242.4 kB / 0.5391 GB, free: 89.63 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01016/1.115, allocations: 4.82 MB / 0.5438 GB, free: 87.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003339/1.118, allocations: 2.46 MB / 0.5462 GB, free: 86.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006287/1.119, allocations: 155.6 kB / 0.5464 GB, free: 86.47 MB / 426.7 MB Notification: Performance of SimCode: time 1.897e-06/1.119, allocations: 0 / 0.5464 GB, free: 86.47 MB / 426.7 MB Notification: Performance of Templates: time 0.04807/1.167, allocations: 31.39 MB / 0.577 GB, free: 72.11 MB / 426.7 MB