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.318/2.318, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.959e-05, allocations: 8 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.344, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.5313, allocations: 95.95 MB / 460.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.5316, allocations: 71.97 kB / 460.6 MB, free: 436 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2719/0.8036, allocations: 56.9 MB / 0.5053 GB, free: 7.152 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.042e-06/0.8036, allocations: 0 / 0.5053 GB, free: 7.152 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001889/0.8038, allocations: 56 kB / 0.5054 GB, free: 7.098 MB / 442.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.009694/0.8135, allocations: 2.657 MB / 0.508 GB, free: 4.383 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.642e-05/0.8136, allocations: 15.97 kB / 0.508 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.8238, allocations: 1.844 MB / 0.5098 GB, free: 2.516 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005066/0.8289, allocations: 1.735 MB / 0.5115 GB, free: 0.7305 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003242/0.8293, allocations: 225.9 kB / 0.5117 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001317/0.8306, allocations: 291.9 kB / 0.512 GB, free: 228 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01806/0.8487, allocations: 6.755 MB / 0.5186 GB, free: 9.074 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-05/0.8489, allocations: 19.81 kB / 0.5186 GB, free: 9.055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007986/0.8497, allocations: 135.9 kB / 0.5187 GB, free: 8.922 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001342/0.851, allocations: 0.7001 MB / 0.5194 GB, free: 8.215 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01576/0.8668, allocations: 5.849 MB / 0.5251 GB, free: 2.352 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.293/1.16, allocations: 23.82 MB / 0.5484 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005628/1.166, allocations: 2.167 MB / 0.5505 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/1.167, allocations: 0.7899 MB / 0.5513 GB, free: 104.7 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009862/1.177, allocations: 4.013 MB / 0.5552 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/1.177, allocations: 37.91 kB / 0.5552 GB, free: 103.5 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.6e-06/1.177, allocations: 0 / 0.5552 GB, free: 103.5 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.006879/1.184, allocations: 1.76 MB / 0.557 GB, free: 103.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.495e-05/1.184, allocations: 59.69 kB / 0.557 GB, free: 103.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/1.187, allocations: 1.783 MB / 0.5588 GB, free: 103.1 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000152/1.187, allocations: 42.72 kB / 0.5588 GB, free: 103.1 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.189, allocations: 2.012 MB / 0.5608 GB, free: 102 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004201/1.189, allocations: 374.4 kB / 0.5611 GB, free: 101.7 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002136/1.189, allocations: 65.88 kB / 0.5612 GB, free: 101.7 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002481/1.19, allocations: 454.4 kB / 0.5616 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001848/1.191, allocations: 0.92 MB / 0.5625 GB, free: 101 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002752/1.194, allocations: 2.877 MB / 0.5653 GB, free: 98.11 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002978/1.197, allocations: 1.663 MB / 0.5669 GB, free: 97.68 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.806e-05/1.197, allocations: 18.66 kB / 0.567 GB, free: 97.68 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.007815/1.205, allocations: 3.657 MB / 0.5705 GB, free: 96.48 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/1.205, allocations: 35.88 kB / 0.5706 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.399e-05/1.205, allocations: 68.66 kB / 0.5706 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001164/1.206, allocations: 106.6 kB / 0.5707 GB, free: 96.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002853/1.208, allocations: 0.7274 MB / 0.5714 GB, free: 96.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00011/1.209, allocations: 135.9 kB / 0.5716 GB, free: 96.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003047/1.212, allocations: 450.2 kB / 0.572 GB, free: 96.08 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/1.212, allocations: 195 kB / 0.5722 GB, free: 96.05 MB / 458.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.0005083/1.213, allocations: 354.7 kB / 0.5725 GB, free: 95.75 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/1.213, allocations: 174.7 kB / 0.5727 GB, free: 95.66 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002227/1.215, allocations: 1.218 MB / 0.5739 GB, free: 95.22 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-05/1.215, allocations: 10.69 kB / 0.5739 GB, free: 95.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.763e-06/1.215, allocations: 3.953 kB / 0.5739 GB, free: 95.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/1.215, allocations: 3.328 kB / 0.5739 GB, free: 95.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/1.226, allocations: 5.018 MB / 0.5788 GB, free: 93.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.868e-05/1.226, allocations: 10.16 kB / 0.5788 GB, free: 93.14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008239/1.227, allocations: 139.3 kB / 0.5789 GB, free: 93.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-05/1.227, allocations: 18.66 kB / 0.579 GB, free: 93.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.796e-05/1.227, allocations: 24.95 kB / 0.579 GB, free: 93.12 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/1.227, allocations: 22.62 kB / 0.579 GB, free: 93.11 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.054e-05/1.227, allocations: 14.56 kB / 0.579 GB, free: 93.11 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.229, allocations: 2.302 MB / 0.5813 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005302/1.23, allocations: 275.5 kB / 0.5815 GB, free: 90.89 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/1.23, allocations: 34.73 kB / 0.5816 GB, free: 90.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/1.231, allocations: 38.89 kB / 0.5816 GB, free: 90.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.232, allocations: 70.95 kB / 0.5817 GB, free: 90.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/1.232, allocations: 46.88 kB / 0.5817 GB, free: 90.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002399/1.234, allocations: 1.297 MB / 0.583 GB, free: 90.32 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.149e-06/1.234, allocations: 0 / 0.583 GB, free: 90.32 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003774/1.238, allocations: 0.769 MB / 0.5837 GB, free: 90.08 MB / 458.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.0003905/1.238, allocations: 155.5 kB / 0.5839 GB, free: 89.96 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004118/1.242, allocations: 2.192 MB / 0.586 GB, free: 89.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/1.243, allocations: 3.75 kB / 0.586 GB, free: 89.24 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009716/1.244, allocations: 0.5492 MB / 0.5866 GB, free: 89.06 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/1.245, allocations: 252.5 kB / 0.5868 GB, free: 88.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01097/1.256, allocations: 4.993 MB / 0.5917 GB, free: 86.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003529/1.26, allocations: 2.507 MB / 0.5941 GB, free: 85.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006161/1.26, allocations: 162.9 kB / 0.5943 GB, free: 85.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.782e-06/1.26, allocations: 3.844 kB / 0.5943 GB, free: 85.69 MB / 458.7 MB Notification: Performance of Templates: time 0.04833/1.309, allocations: 32.29 MB / 0.6258 GB, free: 60.57 MB / 458.7 MB