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.CutForce.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.CutForce,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce2a.force.3.|cutForce2b.force.3.|cutForce1a.force.2.|cutForce2a.force.2.|cutForce2b.force.2.|cutForce1a.force.1.|cutForce2a.force.1.|cutForce2b.force.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 1.843/1.843, allocations: 209.3 MB / 224.8 MB, free: 284 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004385, allocations: 8 kB / 282.5 MB, free: 9.652 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 48.7 MB / 331.2 MB, free: 6.477 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.1198/0.4066, allocations: 82.82 MB / 414 MB, free: 11.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.05074/0.4574, allocations: 18.45 MB / 432.5 MB, free: 9.012 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01813/0.4756, allocations: 423 kB / 432.9 MB, free: 8.598 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01358/0.4892, allocations: 4.289 MB / 437.2 MB, free: 4.289 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04165/0.5309, allocations: 11.93 MB / 449.1 MB, free: 8.332 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006227/0.5371, allocations: 1.264 MB / 450.4 MB, free: 7.066 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01055/0.5477, allocations: 4.649 MB / 455 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01781/0.5656, allocations: 9.127 MB / 464.1 MB, free: 9.195 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.5706, allocations: 2.122 MB / 466.2 MB, free: 7.066 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005258/0.5759, allocations: 2.691 MB / 468.9 MB, free: 4.367 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001692/0.5776, allocations: 284 kB / 469.2 MB, free: 4.09 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00347/0.5811, allocations: 0.9598 MB / 470.2 MB, free: 3.129 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.2846/0.8657, allocations: 3.123 MB / 473.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002478/0.8683, allocations: 1.539 MB / 474.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01346/0.8818, allocations: 10.05 MB / 484.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.611e-06/0.8818, allocations: 5.438 kB / 484.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.964e-06/0.8818, allocations: 0.7812 kB / 484.9 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004555/0.8823, allocations: 0 / 484.9 MB, free: 11.36 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: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.02022/0.9025, allocations: 7.916 MB / 492.8 MB, free: 8.059 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.9026, allocations: 8.688 kB / 492.8 MB, free: 8.059 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01591/0.9185, allocations: 3.09 MB / 495.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.9313, allocations: 5.639 MB / 0.4898 GB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005215/0.9319, allocations: 472.9 kB / 0.4902 GB, free: 6.641 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002517/0.9344, allocations: 0.5867 MB / 0.4908 GB, free: 6.637 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04369/0.9781, allocations: 18.9 MB / 0.5093 GB, free: 1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003037/0.9785, allocations: 78.08 kB / 0.5094 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002103/0.9806, allocations: 285.4 kB / 0.5096 GB, free: 0.9922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006399/0.987, allocations: 3.448 MB / 0.513 GB, free: 296 kB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04337/1.03, allocations: 14.85 MB / 0.5275 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1686/1.199, allocations: 70.66 MB / 0.5965 GB, free: 12.23 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02402/1.223, allocations: 6.128 MB / 0.6025 GB, free: 7.152 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02797/1.251, allocations: 10.98 MB / 0.6132 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.252e-05/1.251, allocations: 56.38 kB / 0.6133 GB, free: 13.97 MB / 490.7 MB Notification: Performance of pre-optimization done (n=238): time 7.192e-06/1.251, allocations: 4 kB / 0.6133 GB, free: 13.97 MB / 490.7 MB Notification: Performance of matching and sorting (n=262): time 0.1064/1.358, allocations: 16.41 MB / 0.6293 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002254/1.358, allocations: 165.4 kB / 0.6295 GB, free: 15.15 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01701/1.375, allocations: 7.06 MB / 0.6363 GB, free: 9.867 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000443/1.375, allocations: 62.33 kB / 0.6364 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.005564/1.381, allocations: 5.323 MB / 0.6416 GB, free: 5.582 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001473/1.383, allocations: 1.007 MB / 0.6426 GB, free: 4.746 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007126/1.383, allocations: 180.9 kB / 0.6428 GB, free: 4.711 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000773/1.384, allocations: 0.6963 MB / 0.6434 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006695/1.391, allocations: 2.582 MB / 0.646 GB, free: 2.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2555/1.646, allocations: 8.273 MB / 0.654 GB, free: 201.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01034/1.657, allocations: 4.454 MB / 0.6584 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004046/1.657, allocations: 62.56 kB / 0.6584 GB, free: 200.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02606/1.683, allocations: 10.31 MB / 0.6685 GB, free: 196.8 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002452/1.684, allocations: 94.52 kB / 0.6686 GB, free: 196.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003316/1.684, allocations: 200.3 kB / 0.6688 GB, free: 196.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003531/1.684, allocations: 294.7 kB / 0.6691 GB, free: 196.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00891/1.693, allocations: 2.112 MB / 0.6711 GB, free: 196.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003871/1.694, allocations: 403.4 kB / 0.6715 GB, free: 196.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008944/1.703, allocations: 450.7 kB / 0.672 GB, free: 196.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/1.704, allocations: 0.5584 MB / 0.6725 GB, free: 196.3 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 920 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1136): * Single equations (assignments): 1125 * Array equations: 11 * 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.008683/1.713, allocations: 3.603 MB / 0.676 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001164/1.714, allocations: 0.5689 MB / 0.6766 GB, free: 194.8 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006492/1.721, allocations: 2.792 MB / 0.6793 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-05/1.721, allocations: 33.8 kB / 0.6793 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.404e-05/1.721, allocations: 0 / 0.6793 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.31e-05/1.721, allocations: 17.97 kB / 0.6793 GB, free: 193.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04739/1.768, allocations: 26.56 MB / 0.7053 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.811e-05/1.769, allocations: 56 kB / 0.7053 GB, free: 173.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002332/1.771, allocations: 0.522 MB / 0.7058 GB, free: 173.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.237e-05/1.771, allocations: 85.95 kB / 0.7059 GB, free: 173.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003502/1.771, allocations: 115.5 kB / 0.706 GB, free: 173.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.55e-05/1.771, allocations: 103.6 kB / 0.7061 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.994e-05/1.771, allocations: 90.64 kB / 0.7062 GB, free: 173.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006824/1.778, allocations: 5.221 MB / 0.7113 GB, free: 167.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/1.781, allocations: 0.703 MB / 0.712 GB, free: 167 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/1.782, allocations: 127.3 kB / 0.7121 GB, free: 166.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/1.786, allocations: 147.6 kB / 0.7123 GB, free: 166.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007225/1.787, allocations: 352.4 kB / 0.7126 GB, free: 166.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/1.788, allocations: 148.8 kB / 0.7127 GB, free: 166.3 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.009778/1.797, allocations: 4.479 MB / 0.7171 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.713e-06/1.797, allocations: 0 / 0.7171 GB, free: 162.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01126/1.809, allocations: 1.51 MB / 0.7186 GB, free: 160.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 243 * 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 (273): * Single equations (assignments): 270 * 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.001042/1.81, allocations: 318.5 kB / 0.7189 GB, free: 160.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.012/1.822, allocations: 6.037 MB / 0.7248 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.786e-05/1.822, allocations: 8 kB / 0.7248 GB, free: 154.5 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/1.825, allocations: 1.489 MB / 0.7263 GB, free: 153.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005801/1.831, allocations: 0.8625 MB / 0.7271 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03799/1.869, allocations: 20.99 MB / 0.7476 GB, free: 130.4 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01232/1.881, allocations: 5.735 MB / 0.7532 GB, free: 124.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.883, allocations: 483.4 kB / 0.7537 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of SimCode: time 1.933e-06/1.883, allocations: 0 / 0.7537 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of Templates: time 0.1333/2.016, allocations: 91.92 MB / 0.8434 GB, free: 32.2 MB / 0.4948 GB