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.CutTorque.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.CutTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutTorque1a.torque.3.|cutTorque2a.torque.3.|cutTorque1b.torque.3.|cutTorque2b.torque.3.|cutTorque1a.torque.2.|cutTorque2a.torque.2.|cutTorque1b.torque.2.|cutTorque2b.torque.2.|cutTorque1a.torque.1.|cutTorque2a.torque.1.|cutTorque1b.torque.1.|cutTorque2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 224.8 MB, free: 1.215 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004336/0.0004337, allocations: 12 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 48.71 MB / 331.3 MB, free: 8.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5238, allocations: 92.17 MB / 423.4 MB, free: 8.961 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.5241, allocations: 83.95 kB / 423.5 MB, free: 8.879 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8124/1.337, allocations: 166.1 MB / 0.5758 GB, free: 56.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.517e-06/1.337, allocations: 0 / 0.5758 GB, free: 56.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003787/1.337, allocations: 156 kB / 0.5759 GB, free: 56.39 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.0253/1.362, allocations: 8.528 MB / 0.5842 GB, free: 47.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/1.362, allocations: 16.02 kB / 0.5843 GB, free: 47.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02231/1.385, allocations: 3.674 MB / 0.5878 GB, free: 44.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02563/1.41, allocations: 9.72 MB / 0.5973 GB, free: 34.25 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007436/1.411, allocations: 0.6336 MB / 0.598 GB, free: 33.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003461/1.415, allocations: 0.8277 MB / 0.5988 GB, free: 32.79 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04917/1.464, allocations: 19.65 MB / 0.618 GB, free: 11.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004347/1.464, allocations: 95.14 kB / 0.618 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003295/1.468, allocations: 399.8 kB / 0.6184 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003496/1.471, allocations: 1.861 MB / 0.6202 GB, free: 9.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/1.513, allocations: 15.53 MB / 0.6354 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3821/1.895, allocations: 81.52 MB / 0.715 GB, free: 18.72 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02301/1.918, allocations: 5.991 MB / 0.7209 GB, free: 18.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02526/1.943, allocations: 11.33 MB / 0.7319 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/1.943, allocations: 61.09 kB / 0.732 GB, free: 14.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 6.45e-06/1.943, allocations: 0 / 0.732 GB, free: 14.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=274): time 0.06065/2.004, allocations: 16.58 MB / 0.7482 GB, free: 8.215 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/2.004, allocations: 165.8 kB / 0.7484 GB, free: 8.051 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01412/2.018, allocations: 6.028 MB / 0.7542 GB, free: 6.094 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004929/2.019, allocations: 66.48 kB / 0.7543 GB, free: 6.031 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00405/2.023, allocations: 5.565 MB / 0.7597 GB, free: 1.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001878/2.025, allocations: 1.048 MB / 0.7608 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001698/2.026, allocations: 186.7 kB / 0.7609 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001429/2.028, allocations: 0.6981 MB / 0.7616 GB, free: 288 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02076/2.049, allocations: 2.813 MB / 0.7644 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02499/2.074, allocations: 8.446 MB / 0.7726 GB, free: 7.414 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02171/2.096, allocations: 4.607 MB / 0.7771 GB, free: 5.809 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003297/2.096, allocations: 58.03 kB / 0.7772 GB, free: 5.809 MB / 442.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.03409/2.13, allocations: 10.6 MB / 0.7875 GB, free: 0.8438 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001833/2.13, allocations: 92 kB / 0.7876 GB, free: 0.7539 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003562/2.131, allocations: 208 kB / 0.7878 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004185/2.131, allocations: 300 kB / 0.7881 GB, free: 264 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01063/2.142, allocations: 2.254 MB / 0.7903 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005784/2.142, allocations: 408.1 kB / 0.7907 GB, free: 13.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01065/2.153, allocations: 0.6172 MB / 0.7913 GB, free: 13.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001894/2.155, allocations: 0.5534 MB / 0.7918 GB, free: 12.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * 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],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[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],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[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],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1168): * Single equations (assignments): 1165 * 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.009874/2.165, allocations: 3.754 MB / 0.7955 GB, free: 9.598 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002271/2.167, allocations: 0.59 MB / 0.7961 GB, free: 9 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008414/2.176, allocations: 2.984 MB / 0.799 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.179e-05/2.176, allocations: 36 kB / 0.799 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.394e-05/2.176, allocations: 0 / 0.799 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.253e-05/2.176, allocations: 11.25 kB / 0.799 GB, free: 6.43 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05272/2.229, allocations: 24.82 MB / 0.8233 GB, free: 0.832 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001047/2.229, allocations: 60 kB / 0.8233 GB, free: 0.7734 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002675/2.231, allocations: 0.603 MB / 0.8239 GB, free: 252 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001175/2.232, allocations: 88 kB / 0.824 GB, free: 164 kB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003542/2.232, allocations: 135.8 kB / 0.8241 GB, free: 32 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2697/2.502, allocations: 113.9 kB / 0.8242 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.091e-05/2.502, allocations: 97.31 kB / 0.8243 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01097/2.513, allocations: 16.91 MB / 0.8408 GB, free: 92.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00222/2.515, allocations: 0.7271 MB / 0.8415 GB, free: 92.21 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001643/2.517, allocations: 142.2 kB / 0.8417 GB, free: 92.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004782/2.522, allocations: 207.5 kB / 0.8419 GB, free: 92.21 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008823/2.522, allocations: 408.6 kB / 0.8423 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004122/2.523, allocations: 168.7 kB / 0.8424 GB, free: 92.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0118/2.535, allocations: 4.274 MB / 0.8466 GB, free: 91.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.203e-06/2.535, allocations: 0 / 0.8466 GB, free: 91.95 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01173/2.546, allocations: 1.549 MB / 0.8481 GB, free: 91.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * 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 (318): * Single equations (assignments): 315 * 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.001083/2.548, allocations: 330 kB / 0.8484 GB, free: 91.86 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01473/2.562, allocations: 6.244 MB / 0.8545 GB, free: 91.83 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.251e-05/2.562, allocations: 10.72 kB / 0.8545 GB, free: 91.83 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003352/2.566, allocations: 1.606 MB / 0.8561 GB, free: 91.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006576/2.572, allocations: 0.9205 MB / 0.857 GB, free: 91.65 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04027/2.613, allocations: 22.05 MB / 0.8785 GB, free: 81.24 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01352/2.626, allocations: 5.956 MB / 0.8844 GB, free: 80.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001827/2.628, allocations: 489.9 kB / 0.8848 GB, free: 80.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.941e-06/2.628, allocations: 0 / 0.8848 GB, free: 80.31 MB / 474.7 MB Notification: Performance of Templates: time 0.1424/2.771, allocations: 95.49 MB / 0.9781 GB, free: 19.96 MB / 474.7 MB