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.846/1.846, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004363/0.0004365, allocations: 16 kB / 282.5 MB, free: 9.633 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3946, allocations: 48.7 MB / 331.2 MB, free: 6.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04881/0.4435, allocations: 31.59 MB / 362.8 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01992/0.4634, allocations: 7.323 MB / 370.1 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006665/0.4701, allocations: 147.7 kB / 370.3 MB, free: 7.383 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005155/0.4753, allocations: 1.633 MB / 371.9 MB, free: 5.742 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.4911, allocations: 4.605 MB / 376.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001851/0.493, allocations: 255.6 kB / 376.7 MB, free: 0.875 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003065/0.4961, allocations: 1.345 MB / 378.1 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005484/0.5016, allocations: 2.992 MB / 381.1 MB, free: 12.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009919/0.5027, allocations: 0.5839 MB / 381.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001197/0.5039, allocations: 0.7708 MB / 382.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002696/0.5042, allocations: 92 kB / 382.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001129/0.5053, allocations: 0.5189 MB / 383 MB, free: 10.51 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001102/0.5065, allocations: 0.9623 MB / 384 MB, free: 9.543 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006388/0.5071, allocations: 0.5507 MB / 384.6 MB, free: 8.984 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005008/0.5121, allocations: 3.616 MB / 388.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.515e-06/0.5122, allocations: 0 / 388.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.16e-06/0.5122, allocations: 0 / 388.2 MB, free: 5.359 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.5123, allocations: 4 kB / 388.2 MB, free: 5.355 MB / 314.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.005823/0.5182, allocations: 2.585 MB / 390.8 MB, free: 2.703 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.5182, allocations: 8.031 kB / 390.8 MB, free: 2.695 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008253/0.5265, allocations: 1.938 MB / 392.7 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003408/0.5299, allocations: 1.362 MB / 394.1 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001798/0.5302, allocations: 159.8 kB / 394.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005303/0.5307, allocations: 199.9 kB / 394.4 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01446/0.5452, allocations: 6.807 MB / 401.2 MB, free: 7.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.221e-05/0.5453, allocations: 11.88 kB / 401.2 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003698/0.5457, allocations: 95.89 kB / 401.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003027/0.5487, allocations: 1.481 MB / 402.8 MB, free: 6.262 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.564, allocations: 5.826 MB / 408.6 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03934/0.6034, allocations: 21.53 MB / 430.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006581/0.61, allocations: 2.248 MB / 432.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009096/0.6191, allocations: 3.766 MB / 436.2 MB, free: 4.023 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.668e-05/0.6192, allocations: 47.11 kB / 436.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of pre-optimization done (n=93): time 4.551e-06/0.6192, allocations: 0 / 436.2 MB, free: 3.965 MB / 362.7 MB Notification: Performance of matching and sorting (n=93): time 0.008676/0.6279, allocations: 2.449 MB / 438.7 MB, free: 1.457 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/0.628, allocations: 59.97 kB / 438.7 MB, free: 1.383 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003887/0.6319, allocations: 1.983 MB / 440.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001443/0.6321, allocations: 37.7 kB / 440.8 MB, free: 15.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001955/0.6341, allocations: 1.959 MB / 442.7 MB, free: 13.37 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005412/0.6346, allocations: 359.3 kB / 443.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.6349, allocations: 71.98 kB / 443.1 MB, free: 12.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003765/0.6353, allocations: 449.8 kB / 443.6 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.6375, allocations: 0.9509 MB / 444.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004091/0.6416, allocations: 2.888 MB / 447.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003587/0.6453, allocations: 1.654 MB / 449.1 MB, free: 6.027 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.198e-05/0.6454, allocations: 23.94 kB / 449.1 MB, free: 6.004 MB / 378.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.00917/0.6545, allocations: 3.68 MB / 452.8 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.462e-05/0.6547, allocations: 39.98 kB / 452.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.661e-05/0.6548, allocations: 68 kB / 452.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001464/0.6549, allocations: 104 kB / 453 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/0.658, allocations: 0.7057 MB / 453.7 MB, free: 1.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001625/0.6582, allocations: 132 kB / 453.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002997/0.6612, allocations: 451.2 kB / 454.2 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005227/0.6618, allocations: 196 kB / 454.4 MB, free: 0.6406 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 312 * 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 (388): * Single equations (assignments): 383 * Array equations: 5 * 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.003033/0.6648, allocations: 1.423 MB / 455.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.6652, allocations: 165.8 kB / 456 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002627/0.6678, allocations: 1.185 MB / 457.2 MB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.867e-05/0.6679, allocations: 8 kB / 457.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.486e-06/0.6679, allocations: 4 kB / 457.2 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.668, allocations: 3.984 kB / 457.2 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01134/0.6793, allocations: 4.97 MB / 462.2 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.895e-05/0.6794, allocations: 8 kB / 462.2 MB, free: 8.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007314/0.6801, allocations: 139.9 kB / 462.3 MB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/0.6802, allocations: 12 kB / 462.4 MB, free: 8.52 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.18e-05/0.6802, allocations: 24 kB / 462.4 MB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.351e-05/0.6803, allocations: 19.92 kB / 462.4 MB, free: 8.477 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.113e-05/0.6803, allocations: 15.94 kB / 462.4 MB, free: 8.461 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002679/0.683, allocations: 1.497 MB / 463.9 MB, free: 6.816 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005229/0.6836, allocations: 274.5 kB / 464.2 MB, free: 6.527 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.6838, allocations: 24 kB / 464.2 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/0.6846, allocations: 35.97 kB / 464.2 MB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.6848, allocations: 75.72 kB / 464.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/0.6849, allocations: 39.98 kB / 464.3 MB, free: 6.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002528/0.6875, allocations: 1.292 MB / 465.6 MB, free: 5.039 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.275e-06/0.6875, allocations: 0 / 465.6 MB, free: 5.039 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003584/0.6911, allocations: 0.7504 MB / 466.4 MB, free: 4.285 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.0003955/0.6915, allocations: 158.7 kB / 466.5 MB, free: 4.121 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004835/0.6964, allocations: 2.201 MB / 468.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.881e-06/0.6964, allocations: 0 / 468.7 MB, free: 1.938 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.6976, allocations: 0.537 MB / 469.3 MB, free: 1.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001347/0.6989, allocations: 246 kB / 469.5 MB, free: 1.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/0.7129, allocations: 7.039 MB / 476.6 MB, free: 9.965 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003954/0.7169, allocations: 2.453 MB / 479 MB, free: 7.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000653/0.7176, allocations: 159.4 kB / 479.2 MB, free: 7.324 MB / 410.7 MB Notification: Performance of SimCode: time 2.161e-06/0.7176, allocations: 0 / 479.2 MB, free: 7.324 MB / 410.7 MB Notification: Performance of Templates: time 0.2754/0.993, allocations: 31.34 MB / 0.4985 GB, free: 122.3 MB / 410.7 MB