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.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.896/1.896, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.734e-05/3.744e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.0857, allocations: 48.69 MB / 326.5 MB, free: 14.53 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3515/0.4373, allocations: 89.34 MB / 415.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.4375, allocations: 79.45 kB / 415.9 MB, free: 2.332 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2098/0.6474, allocations: 56.91 MB / 472.9 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.814e-06/0.6474, allocations: 4 kB / 472.9 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001194/0.6475, allocations: 52 kB / 472.9 MB, free: 0.5625 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.007202/0.6548, allocations: 2.665 MB / 475.6 MB, free: 13.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.6548, allocations: 12.03 kB / 475.6 MB, free: 13.83 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0104/0.6652, allocations: 1.837 MB / 477.4 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004957/0.6702, allocations: 1.739 MB / 479.2 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002798/0.6705, allocations: 225.9 kB / 479.4 MB, free: 9.977 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/0.6717, allocations: 291.9 kB / 479.7 MB, free: 9.691 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01682/0.6886, allocations: 6.747 MB / 486.4 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.296e-05/0.6887, allocations: 19.81 kB / 486.4 MB, free: 2.543 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007537/0.6895, allocations: 139.9 kB / 486.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001426/0.6909, allocations: 0.704 MB / 487.3 MB, free: 1.699 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01558/0.7065, allocations: 5.845 MB / 493.1 MB, free: 11.84 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04315/0.7497, allocations: 23.82 MB / 0.5048 GB, free: 3.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006169/0.7559, allocations: 2.174 MB / 0.507 GB, free: 1.035 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.7576, allocations: 0.7892 MB / 0.5077 GB, free: 248 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0102/0.7678, allocations: 4.011 MB / 0.5116 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.429e-05/0.7679, allocations: 43.34 kB / 0.5117 GB, free: 12.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.722e-06/0.7679, allocations: 0 / 0.5117 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.00726/0.7752, allocations: 1.762 MB / 0.5134 GB, free: 10.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.7753, allocations: 60.19 kB / 0.5135 GB, free: 10.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003617/0.7789, allocations: 1.776 MB / 0.5152 GB, free: 8.414 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001426/0.7791, allocations: 33.7 kB / 0.5152 GB, free: 8.375 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001896/0.781, allocations: 2.021 MB / 0.5172 GB, free: 6.324 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.7816, allocations: 367.2 kB / 0.5176 GB, free: 5.961 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.7818, allocations: 75.92 kB / 0.5176 GB, free: 5.887 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003617/0.7822, allocations: 449.7 kB / 0.5181 GB, free: 5.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.7842, allocations: 0.92 MB / 0.519 GB, free: 4.516 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004102/0.7883, allocations: 2.881 MB / 0.5218 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2384/1.027, allocations: 1.652 MB / 0.5234 GB, free: 111.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.837e-05/1.027, allocations: 22.5 kB / 0.5234 GB, free: 111.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.008607/1.036, allocations: 3.663 MB / 0.527 GB, free: 111.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.776e-05/1.036, allocations: 34.72 kB / 0.527 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-05/1.036, allocations: 73.88 kB / 0.5271 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001169/1.036, allocations: 102 kB / 0.5272 GB, free: 111.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/1.039, allocations: 0.7155 MB / 0.5279 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001129/1.039, allocations: 140.2 kB / 0.528 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003084/1.042, allocations: 446.2 kB / 0.5284 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005746/1.043, allocations: 196.3 kB / 0.5286 GB, free: 111.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.00056/1.044, allocations: 350.7 kB / 0.529 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003425/1.044, allocations: 170.7 kB / 0.5291 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/1.046, allocations: 1.218 MB / 0.5303 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.845e-05/1.046, allocations: 15.56 kB / 0.5303 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.808e-06/1.047, allocations: 0 / 0.5303 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/1.047, allocations: 4.641 kB / 0.5303 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01129/1.058, allocations: 5.018 MB / 0.5352 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.269e-05/1.058, allocations: 15.34 kB / 0.5352 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/1.059, allocations: 142.3 kB / 0.5354 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.672e-05/1.059, allocations: 14.75 kB / 0.5354 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000116/1.059, allocations: 28.16 kB / 0.5354 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.248e-05/1.059, allocations: 23.14 kB / 0.5354 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.544e-05/1.059, allocations: 14.66 kB / 0.5355 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002614/1.062, allocations: 2.295 MB / 0.5377 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005546/1.062, allocations: 277.2 kB / 0.538 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002747/1.062, allocations: 28.92 kB / 0.538 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008809/1.063, allocations: 38.52 kB / 0.538 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/1.064, allocations: 80.62 kB / 0.5381 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.064, allocations: 47.25 kB / 0.5381 GB, free: 108.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002723/1.066, allocations: 1.295 MB / 0.5394 GB, free: 108.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.025e-06/1.066, allocations: 1.219 kB / 0.5394 GB, free: 108.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00397/1.07, allocations: 0.7652 MB / 0.5402 GB, free: 108.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.000411/1.071, allocations: 150.2 kB / 0.5403 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004456/1.075, allocations: 2.197 MB / 0.5424 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.411e-05/1.075, allocations: 3.938 kB / 0.5425 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001063/1.076, allocations: 0.5496 MB / 0.543 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/1.078, allocations: 240.9 kB / 0.5432 GB, free: 108.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.089, allocations: 4.996 MB / 0.5481 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00441/1.094, allocations: 2.51 MB / 0.5505 GB, free: 106 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/1.094, allocations: 163 kB / 0.5507 GB, free: 106 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/1.094, allocations: 0 / 0.5507 GB, free: 106 MB / 426.7 MB Notification: Performance of Templates: time 0.05049/1.145, allocations: 32.28 MB / 0.5822 GB, free: 97.8 MB / 426.7 MB