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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.184/2.184, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.516e-05/1.528e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2735, allocations: 54.86 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.4181, allocations: 95.16 MB / 453.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.4184, allocations: 79.89 kB / 453.3 MB, free: 15.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4284/0.8468, allocations: 53.86 MB / 0.4952 GB, free: 73.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.122e-06/0.8469, allocations: 0 / 0.4952 GB, free: 73.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001084/0.847, allocations: 50.89 kB / 0.4953 GB, free: 73.33 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.007162/0.8542, allocations: 2.609 MB / 0.4978 GB, free: 70.67 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.8542, allocations: 8.031 kB / 0.4978 GB, free: 70.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009422/0.8637, allocations: 1.825 MB / 0.4996 GB, free: 68.83 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004404/0.8681, allocations: 1.708 MB / 0.5013 GB, free: 67.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001646/0.8683, allocations: 92 kB / 0.5014 GB, free: 66.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.8695, allocations: 164 kB / 0.5015 GB, free: 66.83 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008842/0.8784, allocations: 4.368 MB / 0.5058 GB, free: 62.46 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0134/0.8918, allocations: 6.072 MB / 0.5117 GB, free: 56.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.739e-05/0.8919, allocations: 15.81 kB / 0.5118 GB, free: 56 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000716/0.8927, allocations: 12 kB / 0.5118 GB, free: 55.98 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/0.8937, allocations: 0.6763 MB / 0.5124 GB, free: 55.31 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03222/0.9259, allocations: 22.36 MB / 0.5343 GB, free: 32.39 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002086/0.9281, allocations: 1.549 MB / 0.5358 GB, free: 30.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009622/0.9291, allocations: 0.5703 MB / 0.5363 GB, free: 30.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.522e-05/0.9292, allocations: 25.92 kB / 0.5364 GB, free: 30.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.9292, allocations: 43.38 kB / 0.5364 GB, free: 30.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=108): time 5.517e-06/0.9292, allocations: 4 kB / 0.5364 GB, free: 30.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=108): time 0.004635/0.9339, allocations: 1.546 MB / 0.5379 GB, free: 28.52 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.9339, allocations: 64.14 kB / 0.538 GB, free: 28.45 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00257/0.9365, allocations: 1.584 MB / 0.5395 GB, free: 26.86 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.9367, allocations: 25.7 kB / 0.5395 GB, free: 26.83 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.9378, allocations: 1.994 MB / 0.5415 GB, free: 24.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004127/0.9382, allocations: 398.7 kB / 0.5419 GB, free: 24.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.9384, allocations: 3.938 kB / 0.5419 GB, free: 24.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002224/0.9386, allocations: 462.1 kB / 0.5423 GB, free: 23.95 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/0.9402, allocations: 0.9046 MB / 0.5432 GB, free: 23.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002754/0.9429, allocations: 2.941 MB / 0.5461 GB, free: 19.07 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.9459, allocations: 1.666 MB / 0.5477 GB, free: 17.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.489e-05/0.946, allocations: 20 kB / 0.5477 GB, free: 17.38 MB / 394.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.007622/0.9537, allocations: 3.375 MB / 0.551 GB, free: 14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.9538, allocations: 38.84 kB / 0.5511 GB, free: 13.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.074e-05/0.9539, allocations: 83.94 kB / 0.5511 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001219/0.954, allocations: 104 kB / 0.5512 GB, free: 13.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002894/0.9569, allocations: 0.7642 MB / 0.552 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.832e-05/0.9571, allocations: 147.4 kB / 0.5521 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002953/0.96, allocations: 383.3 kB / 0.5525 GB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000587/0.9606, allocations: 200 kB / 0.5527 GB, free: 12.3 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * 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 (416): * Single equations (assignments): 413 * 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.0005071/0.9612, allocations: 293.4 kB / 0.553 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002816/0.9615, allocations: 161.8 kB / 0.5531 GB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002621/0.9641, allocations: 1.341 MB / 0.5544 GB, free: 10.49 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.169e-05/0.9642, allocations: 12 kB / 0.5544 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.232e-06/0.9642, allocations: 0 / 0.5544 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.9642, allocations: 3.984 kB / 0.5544 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009824/0.9741, allocations: 4.908 MB / 0.5592 GB, free: 5.383 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.9741, allocations: 12 kB / 0.5592 GB, free: 5.371 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008072/0.9749, allocations: 155.7 kB / 0.5594 GB, free: 5.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.32e-05/0.975, allocations: 16 kB / 0.5594 GB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.956e-05/0.9751, allocations: 19.95 kB / 0.5594 GB, free: 5.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.75e-05/0.9751, allocations: 23.92 kB / 0.5594 GB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.9751, allocations: 15.94 kB / 0.5595 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.9779, allocations: 2.39 MB / 0.5618 GB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004619/0.9784, allocations: 250.7 kB / 0.562 GB, free: 2.047 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.9787, allocations: 23.94 kB / 0.5621 GB, free: 2.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009264/0.9796, allocations: 27.91 kB / 0.5621 GB, free: 1.996 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.9798, allocations: 95.45 kB / 0.5622 GB, free: 1.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.9799, allocations: 40 kB / 0.5622 GB, free: 1.863 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00187/0.9818, allocations: 1.05 MB / 0.5632 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.24e-06/0.9818, allocations: 0 / 0.5632 GB, free: 0.8203 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003841/0.9857, allocations: 0.6917 MB / 0.5639 GB, free: 128 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.0004841/0.9862, allocations: 139 kB / 0.564 GB, free: 15.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00476/0.991, allocations: 2.152 MB / 0.5661 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.178e-05/0.991, allocations: 4.438 kB / 0.5662 GB, free: 13.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.9923, allocations: 0.596 MB / 0.5667 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.9936, allocations: 173.9 kB / 0.5669 GB, free: 13.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.007, allocations: 5.017 MB / 0.5718 GB, free: 7.871 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005272/1.012, allocations: 2.472 MB / 0.5742 GB, free: 5.371 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006985/1.013, allocations: 155.4 kB / 0.5744 GB, free: 5.219 MB / 410.7 MB Notification: Performance of SimCode: time 1.961e-06/1.013, allocations: 0 / 0.5744 GB, free: 5.219 MB / 410.7 MB Notification: Performance of Templates: time 0.05881/1.072, allocations: 30.45 MB / 0.6041 GB, free: 6.742 MB / 442.7 MB