Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Sensors.CutTorque") Notification: Performance of loadModel(ModelicaTest): time 2.708/2.708, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004378, allocations: 8 kB / 314.9 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.359/0.3594, allocations: 54.85 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.5361, allocations: 98.89 MB / 468.7 MB, free: 7.691 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/0.5364, allocations: 95.89 kB / 468.8 MB, free: 7.598 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9662/1.503, allocations: 167.9 MB / 0.6217 GB, free: 12.14 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.503, allocations: 0 / 0.6217 GB, free: 12.14 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006832/1.503, allocations: 163.9 kB / 0.6219 GB, free: 11.98 MB / 458.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.03829/1.542, allocations: 8.529 MB / 0.6302 GB, free: 3.359 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.542, allocations: 12.03 kB / 0.6302 GB, free: 3.348 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3887/1.93, allocations: 3.665 MB / 0.6338 GB, free: 57.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03621/1.967, allocations: 9.722 MB / 0.6433 GB, free: 57.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00107/1.968, allocations: 0.6276 MB / 0.6439 GB, free: 57.32 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005228/1.973, allocations: 0.8386 MB / 0.6447 GB, free: 57.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06427/2.037, allocations: 19.71 MB / 0.664 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006283/2.038, allocations: 92.41 kB / 0.6641 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004369/2.043, allocations: 398.1 kB / 0.6644 GB, free: 53.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004993/2.048, allocations: 1.867 MB / 0.6663 GB, free: 53.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05285/2.1, allocations: 15.53 MB / 0.6814 GB, free: 53.07 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1433/2.244, allocations: 81.54 MB / 0.761 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02756/2.271, allocations: 5.987 MB / 0.7669 GB, free: 11.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03576/2.307, allocations: 11.32 MB / 0.778 GB, free: 1.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.573e-05/2.307, allocations: 60.27 kB / 0.778 GB, free: 1.707 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 7.474e-06/2.307, allocations: 0 / 0.778 GB, free: 1.707 MB / 474.7 MB Notification: Performance of matching and sorting (n=274): time 0.07764/2.385, allocations: 16.59 MB / 0.7942 GB, free: 3.391 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/2.385, allocations: 158.5 kB / 0.7944 GB, free: 3.207 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02318/2.408, allocations: 7.059 MB / 0.8013 GB, free: 14.27 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006529/2.409, allocations: 69.7 kB / 0.8013 GB, free: 14.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.006097/2.415, allocations: 5.565 MB / 0.8068 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001759/2.417, allocations: 1.053 MB / 0.8078 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/2.418, allocations: 184 kB / 0.808 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0007696/2.419, allocations: 0.6966 MB / 0.8086 GB, free: 7.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009668/2.429, allocations: 2.677 MB / 0.8113 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3848/2.814, allocations: 8.479 MB / 0.8195 GB, free: 90.68 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01956/2.833, allocations: 4.601 MB / 0.824 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004956/2.834, allocations: 60.53 kB / 0.8241 GB, free: 90.65 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.04439/2.878, allocations: 10.59 MB / 0.8344 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000384/2.879, allocations: 92.72 kB / 0.8345 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005449/2.879, allocations: 206 kB / 0.8347 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005262/2.88, allocations: 303.9 kB / 0.835 GB, free: 90.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01839/2.898, allocations: 2.243 MB / 0.8372 GB, free: 90.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004262/2.899, allocations: 407.8 kB / 0.8376 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01249/2.911, allocations: 0.6166 MB / 0.8382 GB, free: 90.08 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002278/2.914, allocations: 0.5533 MB / 0.8387 GB, free: 90.08 MB / 0.4948 GB 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.01103/2.925, allocations: 3.747 MB / 0.8424 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00142/2.926, allocations: 0.587 MB / 0.843 GB, free: 89.77 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009397/2.936, allocations: 3.004 MB / 0.8459 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.33e-05/2.936, allocations: 26.53 kB / 0.8459 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.561e-05/2.936, allocations: 4.609 kB / 0.8459 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/2.936, allocations: 9.984 kB / 0.8459 GB, free: 89.61 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05629/2.992, allocations: 24.82 MB / 0.8702 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001578/2.992, allocations: 59.78 kB / 0.8702 GB, free: 86.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003961/2.996, allocations: 0.5971 MB / 0.8708 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001026/2.996, allocations: 88.66 kB / 0.8709 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004839/2.997, allocations: 134.1 kB / 0.871 GB, free: 86.52 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.249e-05/2.997, allocations: 122.9 kB / 0.8711 GB, free: 86.49 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.269e-05/2.997, allocations: 96.44 kB / 0.8712 GB, free: 86.46 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/3.007, allocations: 5.748 MB / 0.8768 GB, free: 83.23 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002326/3.009, allocations: 0.7221 MB / 0.8775 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002286/3.012, allocations: 147 kB / 0.8777 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005951/3.018, allocations: 208.2 kB / 0.8779 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009675/3.019, allocations: 410.4 kB / 0.8783 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/3.019, allocations: 169.7 kB / 0.8784 GB, free: 82.76 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01278/3.032, allocations: 4.279 MB / 0.8826 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.71e-07/3.032, allocations: 3.875 kB / 0.8826 GB, free: 81.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01251/3.044, allocations: 1.543 MB / 0.8841 GB, free: 81.39 MB / 0.4948 GB 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.001217/3.046, allocations: 323.2 kB / 0.8844 GB, free: 81.18 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01696/3.063, allocations: 6.245 MB / 0.8905 GB, free: 79.13 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.214e-05/3.063, allocations: 11.28 kB / 0.8905 GB, free: 79.13 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004086/3.067, allocations: 1.605 MB / 0.8921 GB, free: 78.58 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00806/3.075, allocations: 0.9099 MB / 0.893 GB, free: 78.25 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04911/3.124, allocations: 22.11 MB / 0.9146 GB, free: 63.68 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01495/3.139, allocations: 5.961 MB / 0.9204 GB, free: 59.33 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/3.141, allocations: 491.5 kB / 0.9209 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of SimCode: time 1.112e-06/3.141, allocations: 0 / 0.9209 GB, free: 58.87 MB / 0.4948 GB Notification: Performance of Templates: time 0.6706/3.812, allocations: 95.5 MB / 1.014 GB, free: 71.58 MB / 0.5105 GB