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.159/2.159, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004335, allocations: 12 kB / 314.3 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2766, allocations: 54.87 MB / 369.2 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce2): time 0.04232/0.3189, allocations: 31.6 MB / 400.8 MB, free: 11.01 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01803/0.337, allocations: 7.332 MB / 408.1 MB, free: 3.652 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005547/0.3426, allocations: 143.8 kB / 408.3 MB, free: 3.512 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00498/0.3476, allocations: 1.641 MB / 409.9 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01517/0.3628, allocations: 4.598 MB / 414.5 MB, free: 13.25 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001821/0.3647, allocations: 263.6 kB / 414.8 MB, free: 13 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003157/0.3679, allocations: 1.35 MB / 416.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005426/0.3734, allocations: 2.976 MB / 419.1 MB, free: 8.605 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001048/0.3745, allocations: 0.5878 MB / 419.7 MB, free: 8.016 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.3757, allocations: 0.763 MB / 420.4 MB, free: 7.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003054/0.3761, allocations: 95.94 kB / 420.5 MB, free: 7.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3772, allocations: 0.5266 MB / 421.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001147/0.3784, allocations: 0.9663 MB / 422 MB, free: 5.66 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006821/0.3791, allocations: 0.5507 MB / 422.6 MB, free: 5.102 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004941/0.3841, allocations: 3.616 MB / 426.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.282e-06/0.3841, allocations: 0 / 426.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.568e-06/0.3841, allocations: 0 / 426.2 MB, free: 1.477 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.904e-05/0.3842, allocations: 0 / 426.2 MB, free: 1.477 MB / 346.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.005427/0.3896, allocations: 2.589 MB / 428.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.3897, allocations: 11.97 kB / 428.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008296/0.398, allocations: 1.934 MB / 430.7 MB, free: 12.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003403/0.4014, allocations: 1.358 MB / 432.1 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.4017, allocations: 155.9 kB / 432.2 MB, free: 11.3 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005317/0.4022, allocations: 203.9 kB / 432.4 MB, free: 11.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/0.4164, allocations: 6.799 MB / 439.2 MB, free: 3.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.13e-05/0.4165, allocations: 23.75 kB / 439.3 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003633/0.4169, allocations: 91.91 kB / 439.4 MB, free: 3.863 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002995/0.4199, allocations: 1.478 MB / 440.8 MB, free: 2.383 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.4346, allocations: 5.822 MB / 446.7 MB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03782/0.4725, allocations: 21.53 MB / 468.2 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006552/0.4791, allocations: 2.256 MB / 470.4 MB, free: 4.039 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008668/0.4878, allocations: 3.766 MB / 474.2 MB, free: 132 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.4879, allocations: 51.11 kB / 474.3 MB, free: 72 kB / 394.7 MB Notification: Performance of pre-optimization done (n=93): time 4.598e-06/0.4879, allocations: 0 / 474.3 MB, free: 72 kB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.252/0.74, allocations: 2.434 MB / 476.7 MB, free: 93.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.74, allocations: 61.56 kB / 476.7 MB, free: 93.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.7433, allocations: 1.982 MB / 478.7 MB, free: 93.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.7435, allocations: 36.98 kB / 478.8 MB, free: 93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001129/0.7446, allocations: 1.961 MB / 480.7 MB, free: 91.51 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003468/0.745, allocations: 368.5 kB / 481.1 MB, free: 91.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.7452, allocations: 61.33 kB / 481.1 MB, free: 91.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002231/0.7454, allocations: 455.4 kB / 481.6 MB, free: 90.84 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.7474, allocations: 0.9512 MB / 482.5 MB, free: 90.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002615/0.75, allocations: 2.887 MB / 485.4 MB, free: 87.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002891/0.7529, allocations: 1.652 MB / 487.1 MB, free: 87.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-05/0.753, allocations: 19.75 kB / 487.1 MB, free: 87.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007524/0.7606, allocations: 3.695 MB / 490.8 MB, free: 85.66 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.088e-05/0.7607, allocations: 36.25 kB / 490.8 MB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.78e-05/0.7608, allocations: 68.91 kB / 490.9 MB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001102/0.7609, allocations: 102.2 kB / 491 MB, free: 85.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/0.7635, allocations: 0.7006 MB / 491.7 MB, free: 85.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001012/0.7636, allocations: 137.1 kB / 491.8 MB, free: 85.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/0.7661, allocations: 451.4 kB / 492.3 MB, free: 85.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003057/0.7665, allocations: 192 kB / 492.5 MB, free: 84.89 MB / 394.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.002362/0.7688, allocations: 1.418 MB / 493.9 MB, free: 83.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002592/0.7691, allocations: 167.1 kB / 494 MB, free: 83.49 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002083/0.7712, allocations: 1.184 MB / 495.2 MB, free: 82.46 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.601e-05/0.7713, allocations: 12.7 kB / 495.2 MB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.872e-06/0.7713, allocations: 7.234 kB / 495.2 MB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/0.7713, allocations: 3.844 kB / 495.3 MB, free: 82.45 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008853/0.7802, allocations: 4.964 MB / 0.4885 GB, free: 77.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.549e-05/0.7802, allocations: 8 kB / 0.4885 GB, free: 77.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/0.7809, allocations: 132.7 kB / 0.4886 GB, free: 77.65 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-05/0.7809, allocations: 16 kB / 0.4886 GB, free: 77.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.912e-05/0.781, allocations: 32 kB / 0.4887 GB, free: 77.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.647e-05/0.781, allocations: 19.92 kB / 0.4887 GB, free: 77.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.118e-06/0.781, allocations: 11.94 kB / 0.4887 GB, free: 77.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002205/0.7833, allocations: 1.498 MB / 0.4902 GB, free: 75.93 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008548/0.7842, allocations: 274.6 kB / 0.4904 GB, free: 75.64 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005604/0.7847, allocations: 25.02 kB / 0.4905 GB, free: 75.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001914/0.7867, allocations: 33.23 kB / 0.4905 GB, free: 75.58 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002606/0.787, allocations: 79.7 kB / 0.4906 GB, free: 75.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001634/0.7872, allocations: 32 kB / 0.4906 GB, free: 75.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003914/0.7911, allocations: 1.3 MB / 0.4919 GB, free: 74.15 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.429e-06/0.7911, allocations: 0 / 0.4919 GB, free: 74.15 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00654/0.7977, allocations: 0.7482 MB / 0.4926 GB, free: 73.4 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.0005352/0.7983, allocations: 150.8 kB / 0.4927 GB, free: 73.24 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007071/0.8054, allocations: 2.2 MB / 0.4949 GB, free: 71.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.796e-05/0.8054, allocations: 4 kB / 0.4949 GB, free: 71.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0018/0.8073, allocations: 0.5308 MB / 0.4954 GB, free: 70.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.8097, allocations: 240.7 kB / 0.4956 GB, free: 70.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/0.8294, allocations: 7.033 MB / 0.5025 GB, free: 63.11 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005744/0.8352, allocations: 2.46 MB / 0.5049 GB, free: 60.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.8364, allocations: 159.4 kB / 0.5051 GB, free: 60.48 MB / 394.7 MB Notification: Performance of SimCode: time 2.63e-06/0.8365, allocations: 0 / 0.5051 GB, free: 60.48 MB / 394.7 MB Notification: Performance of Templates: time 0.06152/0.898, allocations: 31.37 MB / 0.5357 GB, free: 29.11 MB / 394.7 MB