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.CutTorque2.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.CutTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque.torque.3.|cutTorque.torque.2.|cutTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.176/2.176, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004297/0.0004299, allocations: 8 kB / 314.4 MB, free: 9.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2948, allocations: 54.85 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.4397, allocations: 96.03 MB / 465.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.44, allocations: 79.97 kB / 465.4 MB, free: 12.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.519/0.959, allocations: 56.86 MB / 0.51 GB, free: 104.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.365e-06/0.959, allocations: 2.5 kB / 0.51 GB, free: 104.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001938/0.9593, allocations: 51.09 kB / 0.51 GB, free: 104.9 MB / 426.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.006688/0.966, allocations: 2.771 MB / 0.5127 GB, free: 103.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.966, allocations: 7.625 kB / 0.5128 GB, free: 103.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009662/0.9757, allocations: 1.838 MB / 0.5145 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004523/0.9803, allocations: 1.747 MB / 0.5163 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.9806, allocations: 227.4 kB / 0.5165 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/0.9817, allocations: 293.6 kB / 0.5168 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01492/0.9966, allocations: 6.794 MB / 0.5234 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-05/0.9967, allocations: 19.62 kB / 0.5234 GB, free: 101.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000598/0.9973, allocations: 137.1 kB / 0.5235 GB, free: 101.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001035/0.9984, allocations: 0.7006 MB / 0.5242 GB, free: 101.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01511/1.014, allocations: 5.945 MB / 0.53 GB, free: 99.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03192/1.045, allocations: 23.83 MB / 0.5533 GB, free: 77.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005426/1.051, allocations: 2.196 MB / 0.5554 GB, free: 75.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008251/1.059, allocations: 4.023 MB / 0.5594 GB, free: 71.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.622e-05/1.059, allocations: 39.17 kB / 0.5594 GB, free: 71.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.664e-06/1.059, allocations: 0 / 0.5594 GB, free: 71.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.009073/1.068, allocations: 2.507 MB / 0.5619 GB, free: 68.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/1.069, allocations: 60.06 kB / 0.5619 GB, free: 68.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003265/1.072, allocations: 1.796 MB / 0.5637 GB, free: 67.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/1.072, allocations: 37.7 kB / 0.5637 GB, free: 67 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00114/1.073, allocations: 2.008 MB / 0.5657 GB, free: 64.99 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000423/1.074, allocations: 382.8 kB / 0.566 GB, free: 64.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/1.074, allocations: 60 kB / 0.5661 GB, free: 64.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002326/1.074, allocations: 457.7 kB / 0.5665 GB, free: 64.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004054/1.078, allocations: 0.951 MB / 0.5674 GB, free: 63.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005693/1.084, allocations: 2.9 MB / 0.5703 GB, free: 59.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00552/1.089, allocations: 1.663 MB / 0.5719 GB, free: 57.61 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.35e-05/1.09, allocations: 23.94 kB / 0.5719 GB, free: 57.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01403/1.104, allocations: 3.711 MB / 0.5756 GB, free: 53.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001015/1.104, allocations: 36 kB / 0.5756 GB, free: 53.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001325/1.104, allocations: 68 kB / 0.5757 GB, free: 53.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002121/1.104, allocations: 104 kB / 0.5758 GB, free: 53.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005158/1.109, allocations: 0.7213 MB / 0.5765 GB, free: 52.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002008/1.11, allocations: 139.4 kB / 0.5766 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004654/1.114, allocations: 443.5 kB / 0.577 GB, free: 52.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005225/1.115, allocations: 196 kB / 0.5772 GB, free: 52.18 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 () * Number of clocked 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.005354/1.12, allocations: 1.449 MB / 0.5786 GB, free: 50.71 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000611/1.121, allocations: 169.8 kB / 0.5788 GB, free: 50.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004659/1.125, allocations: 1.236 MB / 0.58 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.511e-05/1.126, allocations: 19.89 kB / 0.58 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/1.126, allocations: 0 / 0.58 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.867e-05/1.126, allocations: 3.984 kB / 0.58 GB, free: 49.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01818/1.144, allocations: 5.032 MB / 0.5849 GB, free: 44.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.247e-05/1.144, allocations: 12 kB / 0.5849 GB, free: 44.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001375/1.145, allocations: 139.8 kB / 0.5851 GB, free: 43.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.628e-05/1.145, allocations: 20 kB / 0.5851 GB, free: 43.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/1.146, allocations: 30.19 kB / 0.5851 GB, free: 43.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-05/1.146, allocations: 19.92 kB / 0.5851 GB, free: 43.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.858e-05/1.146, allocations: 15.94 kB / 0.5851 GB, free: 43.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004631/1.15, allocations: 2.317 MB / 0.5874 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/1.151, allocations: 282.5 kB / 0.5877 GB, free: 40.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005142/1.152, allocations: 24 kB / 0.5877 GB, free: 40.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/1.153, allocations: 39.92 kB / 0.5877 GB, free: 40.68 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002556/1.154, allocations: 79.72 kB / 0.5878 GB, free: 40.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/1.154, allocations: 39.98 kB / 0.5879 GB, free: 40.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004313/1.158, allocations: 1.308 MB / 0.5891 GB, free: 39.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.149e-06/1.158, allocations: 4 kB / 0.5891 GB, free: 39.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007792/1.166, allocations: 0.7814 MB / 0.5899 GB, free: 38.44 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 () * Number of clocked 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.0003507/1.167, allocations: 156.7 kB / 0.59 GB, free: 38.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003922/1.17, allocations: 2.229 MB / 0.5922 GB, free: 36.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.371e-06/1.17, allocations: 0 / 0.5922 GB, free: 36.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009531/1.171, allocations: 0.561 MB / 0.5928 GB, free: 35.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/1.173, allocations: 243 kB / 0.593 GB, free: 35.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01164/1.184, allocations: 7.259 MB / 0.6001 GB, free: 27.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003066/1.188, allocations: 2.512 MB / 0.6025 GB, free: 25.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/1.188, allocations: 159.4 kB / 0.6027 GB, free: 25.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.663e-06/1.188, allocations: 0 / 0.6027 GB, free: 25.18 MB / 426.7 MB Notification: Performance of Templates: time 0.05417/1.242, allocations: 32.29 MB / 0.6342 GB, free: 9 MB / 442.7 MB