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.CutTorque.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.166/2.166, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.131e-05/2.146e-05, allocations: 4 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.314, allocations: 54.85 MB / 358 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1524/0.4665, allocations: 98.15 MB / 456.2 MB, free: 12.65 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.4668, allocations: 75.95 kB / 456.3 MB, free: 12.57 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8215/1.288, allocations: 162.4 MB / 0.6042 GB, free: 9.848 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.638e-06/1.288, allocations: 0 / 0.6042 GB, free: 9.848 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004316/1.289, allocations: 160 kB / 0.6043 GB, free: 9.691 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.02625/1.315, allocations: 7.968 MB / 0.6121 GB, free: 1.641 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/1.315, allocations: 12.02 kB / 0.6121 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0242/1.339, allocations: 3.67 MB / 0.6157 GB, free: 13.94 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02938/1.369, allocations: 9.663 MB / 0.6251 GB, free: 4.195 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000602/1.369, allocations: 280 kB / 0.6254 GB, free: 3.922 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003528/1.373, allocations: 499.8 kB / 0.6259 GB, free: 3.434 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.349/1.722, allocations: 11.59 MB / 0.6372 GB, free: 63.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03789/1.76, allocations: 16.96 MB / 0.6538 GB, free: 59.11 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003668/1.76, allocations: 93.09 kB / 0.6539 GB, free: 59.11 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002561/1.763, allocations: 51.12 kB / 0.6539 GB, free: 59.11 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003546/1.766, allocations: 1.862 MB / 0.6557 GB, free: 59.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1112/1.878, allocations: 82.13 MB / 0.7359 GB, free: 24.11 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/1.883, allocations: 3.058 MB / 0.7389 GB, free: 22.59 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/1.886, allocations: 1.491 MB / 0.7404 GB, free: 22.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/1.886, allocations: 47.7 kB / 0.7404 GB, free: 22.01 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.982e-05/1.886, allocations: 54.06 kB / 0.7405 GB, free: 21.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=244): time 7.237e-06/1.886, allocations: 2.719 kB / 0.7405 GB, free: 21.96 MB / 474.7 MB Notification: Performance of matching and sorting (n=256): time 0.0334/1.92, allocations: 11.8 MB / 0.752 GB, free: 16.19 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/1.92, allocations: 155.9 kB / 0.7521 GB, free: 16.03 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01074/1.931, allocations: 5.164 MB / 0.7572 GB, free: 14.21 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004236/1.931, allocations: 25.7 kB / 0.7572 GB, free: 14.18 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005129/1.936, allocations: 5.743 MB / 0.7628 GB, free: 9.77 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001444/1.938, allocations: 0.9767 MB / 0.7638 GB, free: 9.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007754/1.939, allocations: 2.156 kB / 0.7638 GB, free: 9.062 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008006/1.939, allocations: 0.7077 MB / 0.7645 GB, free: 8.582 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005249/1.945, allocations: 2.368 MB / 0.7668 GB, free: 7.75 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/1.956, allocations: 8.361 MB / 0.7749 GB, free: 14.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009531/1.966, allocations: 4.392 MB / 0.7792 GB, free: 11.24 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002347/1.966, allocations: 64 kB / 0.7793 GB, free: 11.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.02485/1.991, allocations: 9.212 MB / 0.7883 GB, free: 3.141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001962/1.991, allocations: 99.95 kB / 0.7884 GB, free: 3.043 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003285/1.991, allocations: 219.3 kB / 0.7886 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004453/1.992, allocations: 320 kB / 0.7889 GB, free: 2.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01007/2.002, allocations: 2.325 MB / 0.7912 GB, free: 500 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004481/2.002, allocations: 421.7 kB / 0.7916 GB, free: 124 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01008/2.012, allocations: 465.5 kB / 0.792 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002004/2.015, allocations: 0.573 MB / 0.7926 GB, free: 15.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 988 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1210): * Single equations (assignments): 1207 * 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.002337/2.017, allocations: 0.6349 MB / 0.7932 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001308/2.018, allocations: 0.5476 MB / 0.7937 GB, free: 13.99 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006424/2.025, allocations: 2.584 MB / 0.7963 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.232e-05/2.025, allocations: 28 kB / 0.7963 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/2.025, allocations: 0 / 0.7963 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.16e-05/2.025, allocations: 9.797 kB / 0.7963 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3504/2.375, allocations: 21.2 MB / 0.817 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000108/2.375, allocations: 56.09 kB / 0.8171 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002687/2.378, allocations: 0.5611 MB / 0.8176 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.082e-05/2.378, allocations: 85.55 kB / 0.8177 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000365/2.379, allocations: 82.75 kB / 0.8178 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.428e-05/2.379, allocations: 106.4 kB / 0.8179 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.557e-05/2.379, allocations: 91.5 kB / 0.8179 GB, free: 94.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009076/2.388, allocations: 14.79 MB / 0.8324 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001999/2.39, allocations: 0.6541 MB / 0.833 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001512/2.391, allocations: 83.98 kB / 0.8331 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/2.396, allocations: 155.4 kB / 0.8333 GB, free: 80.83 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007818/2.397, allocations: 379.5 kB / 0.8336 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003465/2.397, allocations: 161.3 kB / 0.8338 GB, free: 80.79 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.008153/2.406, allocations: 3.461 MB / 0.8372 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.184e-06/2.406, allocations: 2.531 kB / 0.8372 GB, free: 80.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01153/2.417, allocations: 1.321 MB / 0.8384 GB, free: 80.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 256 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (300): * Single equations (assignments): 297 * 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.0009846/2.418, allocations: 247 kB / 0.8387 GB, free: 80.48 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02023/2.438, allocations: 5.564 MB / 0.8441 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.092e-05/2.439, allocations: 7.031 kB / 0.8441 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00536/2.444, allocations: 1.412 MB / 0.8455 GB, free: 80.45 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/2.455, allocations: 0.7254 MB / 0.8462 GB, free: 80.42 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0645/2.52, allocations: 15.29 MB / 0.8611 GB, free: 75.71 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02074/2.541, allocations: 5.923 MB / 0.8669 GB, free: 74.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00275/2.544, allocations: 465.9 kB / 0.8674 GB, free: 74.8 MB / 0.4948 GB Notification: Performance of SimCode: time 2.212e-06/2.544, allocations: 0 / 0.8674 GB, free: 74.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.1657/2.709, allocations: 91.43 MB / 0.9566 GB, free: 26.4 MB / 0.4948 GB