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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.904/1.904, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.652e-05/1.658e-05, allocations: 0 / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3063, allocations: 48.69 MB / 320 MB, free: 14.23 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1407/0.447, allocations: 91.42 MB / 411.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002562/0.4473, allocations: 75.95 kB / 411.5 MB, free: 4.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7825/1.23, allocations: 162.4 MB / 0.5605 GB, free: 14.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.585e-06/1.23, allocations: 0 / 0.5605 GB, free: 14.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004463/1.23, allocations: 167.9 kB / 0.5606 GB, free: 13.88 MB / 394.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.02674/1.257, allocations: 7.975 MB / 0.5684 GB, free: 5.824 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/1.257, allocations: 12.03 kB / 0.5684 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02405/1.281, allocations: 3.678 MB / 0.572 GB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02925/1.31, allocations: 9.658 MB / 0.5814 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006064/1.311, allocations: 280 kB / 0.5817 GB, free: 8.102 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/1.315, allocations: 499.8 kB / 0.5822 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2834/1.598, allocations: 11.59 MB / 0.5935 GB, free: 53.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0376/1.636, allocations: 16.96 MB / 0.6101 GB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003652/1.636, allocations: 89.78 kB / 0.6101 GB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002566/1.639, allocations: 48.28 kB / 0.6102 GB, free: 49.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003556/1.642, allocations: 1.869 MB / 0.612 GB, free: 49.51 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.116/1.758, allocations: 82.13 MB / 0.6922 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005176/1.764, allocations: 3.059 MB / 0.6952 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002743/1.766, allocations: 1.495 MB / 0.6967 GB, free: 12.06 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/1.767, allocations: 39.75 kB / 0.6967 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/1.767, allocations: 68.52 kB / 0.6968 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 7.857e-06/1.767, allocations: 0 / 0.6968 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.06998/1.837, allocations: 11.79 MB / 0.7083 GB, free: 6.238 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001939/1.837, allocations: 151.6 kB / 0.7084 GB, free: 6.078 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01909/1.856, allocations: 5.162 MB / 0.7135 GB, free: 4.254 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007156/1.857, allocations: 29.3 kB / 0.7135 GB, free: 4.223 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01115/1.868, allocations: 5.749 MB / 0.7191 GB, free: 15.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002769/1.871, allocations: 0.9707 MB / 0.7201 GB, free: 14.96 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.872, allocations: 3.812 kB / 0.7201 GB, free: 14.96 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00156/1.874, allocations: 0.7107 MB / 0.7208 GB, free: 14.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006424/1.88, allocations: 2.37 MB / 0.7231 GB, free: 13.65 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01108/1.891, allocations: 8.359 MB / 0.7312 GB, free: 4.676 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009362/1.901, allocations: 4.392 MB / 0.7355 GB, free: 1.16 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002176/1.901, allocations: 64 kB / 0.7356 GB, free: 1.098 MB / 442.7 MB Notification: Performance of matching and sorting (n=1234) (initialization): time 0.02445/1.926, allocations: 9.216 MB / 0.7446 GB, free: 8.977 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001959/1.926, allocations: 100 kB / 0.7447 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003257/1.926, allocations: 216 kB / 0.7449 GB, free: 8.668 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/1.927, allocations: 316 kB / 0.7452 GB, free: 8.359 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009975/1.937, allocations: 2.326 MB / 0.7475 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004703/1.937, allocations: 420 kB / 0.7479 GB, free: 5.961 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009966/1.947, allocations: 462.9 kB / 0.7483 GB, free: 5.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001938/1.949, allocations: 0.5816 MB / 0.7489 GB, free: 5.023 MB / 458.7 MB 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.001708/1.951, allocations: 0.6318 MB / 0.7495 GB, free: 4.387 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.952, allocations: 0.5437 MB / 0.75 GB, free: 3.836 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007027/1.959, allocations: 2.585 MB / 0.7525 GB, free: 1.66 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.378e-05/1.959, allocations: 28 kB / 0.7526 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/1.959, allocations: 0 / 0.7526 GB, free: 1.633 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-05/1.959, allocations: 18.77 kB / 0.7526 GB, free: 1.629 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3111/2.27, allocations: 21.35 MB / 0.7734 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.864e-05/2.271, allocations: 56.59 kB / 0.7735 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/2.273, allocations: 0.5711 MB / 0.774 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.778e-05/2.273, allocations: 83.44 kB / 0.7741 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002737/2.273, allocations: 76.28 kB / 0.7742 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.818e-05/2.273, allocations: 112.9 kB / 0.7743 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-05/2.274, allocations: 89.81 kB / 0.7744 GB, free: 88.36 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008785/2.282, allocations: 14.79 MB / 0.7888 GB, free: 74.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001917/2.284, allocations: 0.6533 MB / 0.7895 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001244/2.286, allocations: 88.34 kB / 0.7896 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004292/2.29, allocations: 153.8 kB / 0.7897 GB, free: 74.23 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007708/2.291, allocations: 382.1 kB / 0.7901 GB, free: 74.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003227/2.291, allocations: 160.5 kB / 0.7902 GB, free: 74.19 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00765/2.299, allocations: 3.464 MB / 0.7936 GB, free: 73.97 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.267e-06/2.299, allocations: 0 / 0.7936 GB, free: 73.97 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01144/2.31, allocations: 1.314 MB / 0.7949 GB, free: 73.97 MB / 458.7 MB 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.0009211/2.311, allocations: 252 kB / 0.7951 GB, free: 73.88 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01066/2.322, allocations: 5.562 MB / 0.8006 GB, free: 73.85 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.173e-05/2.322, allocations: 7.156 kB / 0.8006 GB, free: 73.85 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/2.325, allocations: 1.405 MB / 0.8019 GB, free: 73.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005559/2.33, allocations: 0.7258 MB / 0.8026 GB, free: 73.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03466/2.365, allocations: 15.28 MB / 0.8176 GB, free: 68.92 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01324/2.378, allocations: 5.919 MB / 0.8233 GB, free: 68.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.38, allocations: 474.3 kB / 0.8238 GB, free: 68.02 MB / 458.7 MB Notification: Performance of SimCode: time 2.076e-06/2.38, allocations: 0 / 0.8238 GB, free: 68.02 MB / 458.7 MB Notification: Performance of Templates: time 0.1371/2.517, allocations: 91.43 MB / 0.9131 GB, free: 4.879 MB / 458.7 MB