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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.87/1.87, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.703e-05/1.712e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2626, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.3996, allocations: 91.3 MB / 411.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.3999, allocations: 75.95 kB / 411.4 MB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7641/1.164, allocations: 155.4 MB / 0.5535 GB, free: 5.566 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.12e-06/1.164, allocations: 0 / 0.5535 GB, free: 5.566 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003831/1.164, allocations: 152 kB / 0.5536 GB, free: 5.418 MB / 378.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.0241/1.189, allocations: 7.754 MB / 0.5612 GB, free: 13.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/1.189, allocations: 8.031 kB / 0.5612 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02486/1.214, allocations: 3.628 MB / 0.5647 GB, free: 9.926 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03171/1.245, allocations: 9.533 MB / 0.5741 GB, free: 316 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006072/1.246, allocations: 264 kB / 0.5743 GB, free: 52 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003518/1.249, allocations: 472 kB / 0.5748 GB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02879/1.278, allocations: 11.16 MB / 0.5857 GB, free: 4.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6114/1.89, allocations: 16.31 MB / 0.6016 GB, free: 50.47 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004688/1.89, allocations: 92.59 kB / 0.6017 GB, free: 50.47 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002949/1.893, allocations: 46.88 kB / 0.6017 GB, free: 50.47 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003493/1.897, allocations: 1.78 MB / 0.6035 GB, free: 50.46 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1097/2.007, allocations: 79.69 MB / 0.6813 GB, free: 18.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005284/2.012, allocations: 2.984 MB / 0.6842 GB, free: 17.37 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002596/2.015, allocations: 1.41 MB / 0.6856 GB, free: 16.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001481/2.015, allocations: 41.22 kB / 0.6856 GB, free: 16.82 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.003e-05/2.015, allocations: 63.3 kB / 0.6857 GB, free: 16.76 MB / 426.8 MB Notification: Performance of pre-optimization done (n=232): time 7.896e-06/2.015, allocations: 3.656 kB / 0.6857 GB, free: 16.76 MB / 426.8 MB Notification: Performance of matching and sorting (n=244): time 0.03345/2.048, allocations: 11.44 MB / 0.6968 GB, free: 11.25 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/2.048, allocations: 156.1 kB / 0.697 GB, free: 11.09 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01256/2.061, allocations: 5.03 MB / 0.7019 GB, free: 9.305 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004742/2.061, allocations: 25.7 kB / 0.7019 GB, free: 9.273 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.008176/2.07, allocations: 5.506 MB / 0.7073 GB, free: 4.898 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002049/2.072, allocations: 0.9263 MB / 0.7082 GB, free: 4.23 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001105/2.073, allocations: 0 / 0.7082 GB, free: 4.23 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001327/2.074, allocations: 0.6942 MB / 0.7089 GB, free: 3.75 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008793/2.083, allocations: 2.247 MB / 0.7111 GB, free: 2.973 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01914/2.102, allocations: 7.998 MB / 0.7189 GB, free: 10.37 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008434/2.111, allocations: 4.19 MB / 0.723 GB, free: 8.844 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/2.111, allocations: 58.19 kB / 0.723 GB, free: 8.844 MB / 442.8 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02187/2.133, allocations: 8.79 MB / 0.7316 GB, free: 5.523 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001953/2.133, allocations: 94.19 kB / 0.7317 GB, free: 5.434 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003242/2.134, allocations: 208 kB / 0.7319 GB, free: 5.23 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004368/2.134, allocations: 304 kB / 0.7322 GB, free: 4.934 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00977/2.144, allocations: 2.231 MB / 0.7344 GB, free: 2.988 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004719/2.144, allocations: 408.7 kB / 0.7348 GB, free: 2.629 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009902/2.154, allocations: 462.7 kB / 0.7352 GB, free: 2.27 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/2.156, allocations: 0.5529 MB / 0.7358 GB, free: 1.727 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1158): * Single equations (assignments): 1155 * 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.002524/2.159, allocations: 0.6155 MB / 0.7364 GB, free: 1.109 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001337/2.16, allocations: 0.5343 MB / 0.7369 GB, free: 0.5703 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006346/2.166, allocations: 2.407 MB / 0.7392 GB, free: 14.55 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.965e-05/2.167, allocations: 30.94 kB / 0.7393 GB, free: 14.52 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/2.167, allocations: 0 / 0.7393 GB, free: 14.52 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.227e-05/2.167, allocations: 11.44 kB / 0.7393 GB, free: 14.52 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3239/2.491, allocations: 23.09 MB / 0.7618 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.95e-05/2.491, allocations: 46 kB / 0.7619 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/2.493, allocations: 494.5 kB / 0.7623 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-05/2.493, allocations: 71.38 kB / 0.7624 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003483/2.494, allocations: 70.61 kB / 0.7625 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.482e-05/2.494, allocations: 92.78 kB / 0.7626 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.937e-05/2.494, allocations: 75.97 kB / 0.7626 GB, free: 91.29 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007912/2.502, allocations: 12.59 MB / 0.7749 GB, free: 79.52 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001936/2.504, allocations: 0.6165 MB / 0.7755 GB, free: 79.43 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001413/2.505, allocations: 70.64 kB / 0.7756 GB, free: 79.43 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004393/2.51, allocations: 156.5 kB / 0.7757 GB, free: 79.43 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006963/2.51, allocations: 323 kB / 0.776 GB, free: 79.39 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000292/2.511, allocations: 137.9 kB / 0.7762 GB, free: 79.39 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.007672/2.518, allocations: 3.376 MB / 0.7795 GB, free: 79.17 MB / 458.8 MB Notification: Performance of sort global known variables: time 1.207e-06/2.518, allocations: 0 / 0.7795 GB, free: 79.17 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.01195/2.53, allocations: 1.27 MB / 0.7807 GB, free: 79.17 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.0008685/2.531, allocations: 224.6 kB / 0.7809 GB, free: 79.08 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0101/2.541, allocations: 5.283 MB / 0.7861 GB, free: 79.06 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.398e-05/2.541, allocations: 7.188 kB / 0.7861 GB, free: 79.06 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002354/2.544, allocations: 1.294 MB / 0.7874 GB, free: 79.04 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005266/2.549, allocations: 0.7041 MB / 0.788 GB, free: 79 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03273/2.582, allocations: 14.41 MB / 0.8021 GB, free: 74.62 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0123/2.594, allocations: 5.699 MB / 0.8077 GB, free: 73.74 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/2.596, allocations: 444.1 kB / 0.8081 GB, free: 73.73 MB / 458.8 MB Notification: Performance of SimCode: time 1.853e-06/2.596, allocations: 0 / 0.8081 GB, free: 73.73 MB / 458.8 MB Notification: Performance of Templates: time 0.1557/2.752, allocations: 87.76 MB / 0.8938 GB, free: 21.6 MB / 458.8 MB