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/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.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.165/2.165, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004337/0.0004339, allocations: 12 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2896, allocations: 54.85 MB / 369.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.437, allocations: 98.9 MB / 468.2 MB, free: 9.695 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4373, allocations: 79.91 kB / 468.2 MB, free: 9.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.806/1.243, allocations: 166.1 MB / 0.6195 GB, free: 12.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.72e-06/1.243, allocations: 0 / 0.6195 GB, free: 12.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000391/1.244, allocations: 156 kB / 0.6196 GB, free: 11.96 MB / 426.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.02412/1.268, allocations: 8.525 MB / 0.6279 GB, free: 3.348 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.268, allocations: 12.03 kB / 0.628 GB, free: 3.336 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02218/1.29, allocations: 3.674 MB / 0.6315 GB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/1.319, allocations: 9.721 MB / 0.641 GB, free: 5.84 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009815/1.32, allocations: 0.6261 MB / 0.6416 GB, free: 5.207 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003619/1.324, allocations: 0.8394 MB / 0.6425 GB, free: 4.367 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05458/1.378, allocations: 19.65 MB / 0.6617 GB, free: 15.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004249/1.379, allocations: 87.22 kB / 0.6617 GB, free: 15.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003098/1.382, allocations: 403.7 kB / 0.6621 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004216/1.386, allocations: 1.861 MB / 0.6639 GB, free: 12.84 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3803/1.766, allocations: 15.52 MB / 0.6791 GB, free: 73.75 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1072/1.874, allocations: 81.53 MB / 0.7587 GB, free: 29.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.895, allocations: 5.994 MB / 0.7646 GB, free: 27.71 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02448/1.92, allocations: 11.33 MB / 0.7756 GB, free: 22.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.452e-05/1.92, allocations: 66.22 kB / 0.7757 GB, free: 22.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=250): time 6.864e-06/1.92, allocations: 0 / 0.7757 GB, free: 22.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=274): time 0.05525/1.975, allocations: 16.57 MB / 0.7919 GB, free: 15.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/1.975, allocations: 162.3 kB / 0.792 GB, free: 14.93 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01266/1.988, allocations: 6.028 MB / 0.7979 GB, free: 12.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004264/1.989, allocations: 66.67 kB / 0.798 GB, free: 12.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003646/1.992, allocations: 5.565 MB / 0.8034 GB, free: 8.441 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001131/1.993, allocations: 1.059 MB / 0.8045 GB, free: 7.68 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007275/1.994, allocations: 178.8 kB / 0.8046 GB, free: 7.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005452/1.995, allocations: 0.7005 MB / 0.8053 GB, free: 7.055 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006669/2.001, allocations: 2.682 MB / 0.8079 GB, free: 6.246 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01076/2.012, allocations: 8.447 MB / 0.8162 GB, free: 13.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009967/2.022, allocations: 4.607 MB / 0.8207 GB, free: 12.17 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002368/2.022, allocations: 61 kB / 0.8207 GB, free: 12.16 MB / 490.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02906/2.052, allocations: 10.59 MB / 0.8311 GB, free: 3.008 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001872/2.052, allocations: 92 kB / 0.8312 GB, free: 2.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003387/2.052, allocations: 208 kB / 0.8314 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004199/2.053, allocations: 300.8 kB / 0.8316 GB, free: 2.422 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009808/2.062, allocations: 2.252 MB / 0.8338 GB, free: 468 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004751/2.063, allocations: 402.4 kB / 0.8342 GB, free: 108 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01099/2.074, allocations: 0.6598 MB / 0.8349 GB, free: 15.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/2.076, allocations: 0.5538 MB / 0.8354 GB, free: 15.14 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.00946/2.085, allocations: 3.748 MB / 0.8391 GB, free: 11.87 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/2.087, allocations: 0.5862 MB / 0.8396 GB, free: 11.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007525/2.094, allocations: 2.991 MB / 0.8426 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.239e-05/2.094, allocations: 32 kB / 0.8426 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/2.094, allocations: 0 / 0.8426 GB, free: 8.707 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/2.094, allocations: 17.73 kB / 0.8426 GB, free: 8.703 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05377/2.148, allocations: 24.83 MB / 0.8669 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001431/2.148, allocations: 64 kB / 0.8669 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002745/2.151, allocations: 0.5938 MB / 0.8675 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001254/2.151, allocations: 88 kB / 0.8676 GB, free: 2.473 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005691/2.152, allocations: 135.7 kB / 0.8677 GB, free: 2.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001307/2.152, allocations: 125.6 kB / 0.8678 GB, free: 2.234 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.629e-05/2.152, allocations: 96.69 kB / 0.8679 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3172/2.469, allocations: 16.91 MB / 0.8844 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002066/2.471, allocations: 0.7173 MB / 0.8851 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001514/2.473, allocations: 141.9 kB / 0.8853 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004872/2.478, allocations: 215.8 kB / 0.8855 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007694/2.479, allocations: 414.5 kB / 0.8859 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000327/2.479, allocations: 168.5 kB / 0.886 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0107/2.49, allocations: 4.275 MB / 0.8902 GB, free: 101 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.152e-06/2.49, allocations: 0 / 0.8902 GB, free: 101 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01113/2.501, allocations: 1.548 MB / 0.8917 GB, free: 101 MB / 0.5105 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.0009695/2.502, allocations: 320 kB / 0.892 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01295/2.515, allocations: 6.248 MB / 0.8981 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.167e-05/2.515, allocations: 9.875 kB / 0.8981 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003251/2.518, allocations: 1.609 MB / 0.8997 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006397/2.525, allocations: 0.9037 MB / 0.9006 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04003/2.565, allocations: 22.04 MB / 0.9221 GB, free: 90.61 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01338/2.578, allocations: 5.961 MB / 0.9279 GB, free: 89.71 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001809/2.58, allocations: 485.5 kB / 0.9284 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.851e-06/2.58, allocations: 0 / 0.9284 GB, free: 89.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1423/2.722, allocations: 95.5 MB / 1.022 GB, free: 34 MB / 0.5105 GB