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.CutForceAndTorque2.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.CutForceAndTorque2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForce1a.force.3.|cutForce1a.torque.3.|cutForce1b.torque.3.|cutForce2a.force.3.|cutForce2a.torque.3.|cutForce2b.force.3.|cutForce2b.torque.3.|cutForce1a.force.2.|cutForce1a.torque.2.|cutForce1b.torque.2.|cutForce2a.force.2.|cutForce2a.torque.2.|cutForce2b.force.2.|cutForce2b.torque.2.|cutForce1a.force.1.|cutForce1a.torque.1.|cutForce1b.torque.1.|cutForce2a.force.1.|cutForce2a.torque.1.|cutForce2b.force.1.|cutForce2b.torque.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 1.802/1.802, allocations: 209.3 MB / 222.4 MB, free: 7.719 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.161e-05/3.184e-05, allocations: 7.984 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09153/0.09159, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3576/0.4492, allocations: 94.09 MB / 420.6 MB, free: 13.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.4495, allocations: 78.02 kB / 420.7 MB, free: 13.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9693/1.419, allocations: 199.5 MB / 0.6056 GB, free: 70.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.781e-06/1.419, allocations: 0 / 0.6056 GB, free: 70.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004874/1.419, allocations: 202.8 kB / 0.6058 GB, free: 70.29 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.02994/1.449, allocations: 9.417 MB / 0.615 GB, free: 64.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/1.449, allocations: 14.81 kB / 0.615 GB, free: 64.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02748/1.477, allocations: 4.024 MB / 0.619 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02824/1.505, allocations: 10.56 MB / 0.6293 GB, free: 52.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000906/1.506, allocations: 0.8006 MB / 0.6301 GB, free: 51.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004587/1.511, allocations: 1.033 MB / 0.6311 GB, free: 50.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06131/1.572, allocations: 24.08 MB / 0.6546 GB, free: 24.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000537/1.573, allocations: 107 kB / 0.6547 GB, free: 24.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004358/1.577, allocations: 493.3 kB / 0.6551 GB, free: 24.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00433/1.581, allocations: 2.27 MB / 0.6574 GB, free: 22.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04959/1.631, allocations: 18.97 MB / 0.6759 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/2.101, allocations: 94.15 MB / 0.7678 GB, free: 47.78 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02898/2.13, allocations: 7.61 MB / 0.7753 GB, free: 47.08 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006739/2.136, allocations: 3.039 MB / 0.7782 GB, free: 47.02 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0331/2.169, allocations: 13.3 MB / 0.7912 GB, free: 43.35 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.039e-05/2.17, allocations: 68.81 kB / 0.7913 GB, free: 43.29 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 8.274e-06/2.17, allocations: 0 / 0.7913 GB, free: 43.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.09534/2.265, allocations: 18.78 MB / 0.8096 GB, free: 35.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/2.265, allocations: 163.5 kB / 0.8098 GB, free: 35.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/2.279, allocations: 6.403 MB / 0.816 GB, free: 33.27 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005943/2.28, allocations: 79.52 kB / 0.8161 GB, free: 33.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004581/2.285, allocations: 6.552 MB / 0.8225 GB, free: 28.07 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001587/2.286, allocations: 1.36 MB / 0.8238 GB, free: 27.08 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009775/2.287, allocations: 213.9 kB / 0.824 GB, free: 26.91 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008516/2.288, allocations: 0.7553 MB / 0.8248 GB, free: 26.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007347/2.295, allocations: 2.985 MB / 0.8277 GB, free: 25.43 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01148/2.307, allocations: 9.466 MB / 0.8369 GB, free: 15.72 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/2.323, allocations: 5.243 MB / 0.842 GB, free: 13.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003459/2.323, allocations: 63.94 kB / 0.8421 GB, free: 13.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.05648/2.38, allocations: 11.93 MB / 0.8537 GB, free: 7.016 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004067/2.38, allocations: 104 kB / 0.8538 GB, free: 6.914 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006939/2.381, allocations: 228 kB / 0.8541 GB, free: 6.691 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/2.382, allocations: 340 kB / 0.8544 GB, free: 6.359 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02206/2.404, allocations: 2.616 MB / 0.8569 GB, free: 4.086 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005566/2.405, allocations: 461.2 kB / 0.8574 GB, free: 3.684 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01164/2.416, allocations: 0.6828 MB / 0.8581 GB, free: 3.102 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00228/2.419, allocations: 0.6343 MB / 0.8587 GB, free: 2.48 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (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],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[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],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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.003059/2.422, allocations: 0.9392 MB / 0.8596 GB, free: 1.539 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001611/2.423, allocations: 0.6633 MB / 0.8602 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01079/2.434, allocations: 3.988 MB / 0.8641 GB, free: 13.47 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.299e-05/2.434, allocations: 36 kB / 0.8642 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.762e-05/2.434, allocations: 8 kB / 0.8642 GB, free: 13.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.798e-05/2.434, allocations: 22.66 kB / 0.8642 GB, free: 13.42 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4574/2.892, allocations: 41.62 MB / 0.9048 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001734/2.892, allocations: 86.47 kB / 0.9049 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004056/2.896, allocations: 0.8421 MB / 0.9057 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/2.896, allocations: 128.4 kB / 0.9059 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006196/2.897, allocations: 198.3 kB / 0.9061 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001301/2.897, allocations: 167.7 kB / 0.9062 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.606e-05/2.897, allocations: 144.5 kB / 0.9064 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/2.911, allocations: 25.09 MB / 0.9308 GB, free: 83.74 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002733/2.914, allocations: 0.839 MB / 0.9317 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001954/2.916, allocations: 205.6 kB / 0.9319 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006276/2.922, allocations: 266.2 kB / 0.9321 GB, free: 83.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001129/2.923, allocations: 0.5703 MB / 0.9327 GB, free: 83.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004779/2.924, allocations: 240 kB / 0.9329 GB, free: 83.56 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01084/2.935, allocations: 4.457 MB / 0.9373 GB, free: 83.32 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.101e-06/2.935, allocations: 0 / 0.9373 GB, free: 83.32 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01331/2.948, allocations: 1.874 MB / 0.9391 GB, free: 83.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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.001236/2.949, allocations: 389.3 kB / 0.9395 GB, free: 83.15 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01476/2.964, allocations: 7.273 MB / 0.9466 GB, free: 82.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.696e-05/2.964, allocations: 14.95 kB / 0.9466 GB, free: 82.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004416/2.969, allocations: 2.117 MB / 0.9486 GB, free: 81.73 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00805/2.977, allocations: 1.086 MB / 0.9497 GB, free: 81.36 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0454/3.022, allocations: 19.66 MB / 0.9689 GB, free: 71.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01693/3.039, allocations: 7.159 MB / 0.9759 GB, free: 69.32 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002332/3.042, allocations: 0.5837 MB / 0.9765 GB, free: 69.29 MB / 490.7 MB Notification: Performance of SimCode: time 2.168e-06/3.042, allocations: 0 / 0.9765 GB, free: 69.29 MB / 490.7 MB Notification: Performance of Templates: time 0.4811/3.523, allocations: 114 MB / 1.088 GB, free: 100.1 MB / 490.7 MB