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.CutForce.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.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.2_cpp_ModelicaTest.MultiBody.Sensors.CutForce") Notification: Performance of loadModel(ModelicaTest): time 2.171/2.171, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004309/0.000431, allocations: 8 kB / 314.3 MB, free: 9.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2757, allocations: 54.88 MB / 369.2 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.CutForce): time 0.11/0.3857, allocations: 82.84 MB / 452 MB, free: 7.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04608/0.4319, allocations: 18.46 MB / 470.5 MB, free: 5.141 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01523/0.4471, allocations: 423 kB / 470.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01279/0.46, allocations: 4.293 MB / 475.2 MB, free: 424 kB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3307/0.7907, allocations: 11.91 MB / 487.1 MB, free: 3.773 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005314/0.7961, allocations: 1.256 MB / 488.4 MB, free: 3.758 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.008765/0.8049, allocations: 4.65 MB / 493 MB, free: 3.695 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.014/0.8189, allocations: 9.126 MB / 0.4904 GB, free: 2.148 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003916/0.8229, allocations: 2.121 MB / 0.4924 GB, free: 1.758 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00434/0.8273, allocations: 2.693 MB / 0.4951 GB, free: 1.141 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001442/0.8288, allocations: 285.8 kB / 0.4953 GB, free: 1.137 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.8318, allocations: 0.9578 MB / 0.4963 GB, free: 0.9492 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00393/0.8358, allocations: 3.125 MB / 0.4993 GB, free: 296 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.8381, allocations: 1.534 MB / 0.5008 GB, free: 264 kB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0203/0.8584, allocations: 10.06 MB / 0.5107 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.15e-06/0.8585, allocations: 0 / 0.5107 GB, free: 10.77 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.667e-06/0.8585, allocations: 4 kB / 0.5107 GB, free: 10.77 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000464/0.859, allocations: 0 / 0.5107 GB, free: 10.77 MB / 410.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.07537/0.9344, allocations: 7.919 MB / 0.5184 GB, free: 4.355 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.366e-05/0.9345, allocations: 8.031 kB / 0.5184 GB, free: 4.348 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03263/0.9672, allocations: 3.087 MB / 0.5214 GB, free: 1.383 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02519/0.9924, allocations: 5.647 MB / 0.5269 GB, free: 13.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008938/0.9933, allocations: 469.4 kB / 0.5274 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00427/0.9976, allocations: 0.5936 MB / 0.528 GB, free: 12.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09144/1.089, allocations: 18.9 MB / 0.5464 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005048/1.09, allocations: 75.03 kB / 0.5465 GB, free: 13.67 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003147/1.093, allocations: 287.7 kB / 0.5468 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01248/1.105, allocations: 3.448 MB / 0.5501 GB, free: 10.76 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0526/1.158, allocations: 14.75 MB / 0.5645 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1207/1.279, allocations: 70.66 MB / 0.6335 GB, free: 2.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0239/1.303, allocations: 6.131 MB / 0.6395 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02714/1.33, allocations: 10.98 MB / 0.6502 GB, free: 0.5625 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.903e-05/1.33, allocations: 62.09 kB / 0.6503 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=238): time 7.384e-06/1.33, allocations: 0 / 0.6503 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.06171/1.392, allocations: 16.4 MB / 0.6663 GB, free: 116 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2638/1.656, allocations: 151.2 kB / 0.6665 GB, free: 214.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01565/1.671, allocations: 7.065 MB / 0.6734 GB, free: 213.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003716/1.672, allocations: 61.55 kB / 0.6734 GB, free: 213.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003574/1.675, allocations: 5.323 MB / 0.6786 GB, free: 210.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001034/1.676, allocations: 1.013 MB / 0.6796 GB, free: 209.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006168/1.677, allocations: 185.6 kB / 0.6798 GB, free: 209.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000529/1.678, allocations: 0.6902 MB / 0.6805 GB, free: 209.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006195/1.684, allocations: 2.581 MB / 0.683 GB, free: 208.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009132/1.693, allocations: 8.288 MB / 0.6911 GB, free: 199.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/1.702, allocations: 4.449 MB / 0.6954 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/1.702, allocations: 64.38 kB / 0.6955 GB, free: 198.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1200) (initialization): time 0.02358/1.726, allocations: 10.3 MB / 0.7055 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001711/1.726, allocations: 90.81 kB / 0.7056 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002526/1.726, allocations: 208.4 kB / 0.7058 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003344/1.727, allocations: 296.9 kB / 0.7061 GB, free: 194.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008594/1.735, allocations: 2.113 MB / 0.7082 GB, free: 193 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003413/1.736, allocations: 398 kB / 0.7085 GB, free: 192.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008509/1.744, allocations: 461.6 kB / 0.709 GB, free: 192.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001394/1.746, allocations: 0.5484 MB / 0.7095 GB, free: 191.7 MB / 0.5261 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.007374/1.753, allocations: 3.61 MB / 0.713 GB, free: 188.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.754, allocations: 0.5668 MB / 0.7136 GB, free: 188 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006032/1.76, allocations: 2.786 MB / 0.7163 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.943e-05/1.76, allocations: 33.02 kB / 0.7164 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/1.76, allocations: 0 / 0.7164 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-05/1.76, allocations: 11.67 kB / 0.7164 GB, free: 185.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04573/1.806, allocations: 26.57 MB / 0.7423 GB, free: 158.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001106/1.806, allocations: 52 kB / 0.7424 GB, free: 158.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002366/1.809, allocations: 0.5224 MB / 0.7429 GB, free: 157.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-05/1.809, allocations: 76 kB / 0.7429 GB, free: 157.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000304/1.809, allocations: 116 kB / 0.7431 GB, free: 157.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.931e-05/1.809, allocations: 108.1 kB / 0.7432 GB, free: 157.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-05/1.809, allocations: 92.44 kB / 0.7432 GB, free: 157.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006591/1.816, allocations: 5.223 MB / 0.7483 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001982/1.818, allocations: 0.7002 MB / 0.749 GB, free: 150.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001366/1.819, allocations: 125.5 kB / 0.7492 GB, free: 150.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003985/1.823, allocations: 139.9 kB / 0.7493 GB, free: 150.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000662/1.824, allocations: 363.2 kB / 0.7496 GB, free: 149.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002852/1.824, allocations: 145.2 kB / 0.7498 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.008703/1.833, allocations: 4.482 MB / 0.7541 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.322e-06/1.833, allocations: 4 kB / 0.7541 GB, free: 145.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009994/1.843, allocations: 1.515 MB / 0.7556 GB, free: 143.8 MB / 0.5261 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.000912/1.844, allocations: 307.5 kB / 0.7559 GB, free: 143.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01156/1.856, allocations: 6.037 MB / 0.7618 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.835e-05/1.856, allocations: 8 kB / 0.7618 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002968/1.859, allocations: 1.496 MB / 0.7633 GB, free: 136 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005825/1.864, allocations: 0.8723 MB / 0.7641 GB, free: 135.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03592/1.9, allocations: 20.99 MB / 0.7846 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01159/1.912, allocations: 5.737 MB / 0.7902 GB, free: 107.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001797/1.914, allocations: 475.4 kB / 0.7907 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of SimCode: time 3.374e-06/1.914, allocations: 0 / 0.7907 GB, free: 107.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.4185/2.333, allocations: 91.92 MB / 0.8805 GB, free: 173.3 MB / 0.5261 GB