Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,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.CutForceAndTorque1") Notification: Performance of loadModel(ModelicaTest): time 2.057/2.057, allocations: 209.2 MB / 225.4 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006664/0.0006666, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3548, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.5225, allocations: 94.18 MB / 426 MB, free: 240 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/0.5229, allocations: 79.97 kB / 426.1 MB, free: 160 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.084/1.607, allocations: 202.3 MB / 0.6137 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.367e-06/1.607, allocations: 0 / 0.6137 GB, free: 13.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0006087/1.607, allocations: 195.9 kB / 0.6138 GB, free: 13.01 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.0439/1.651, allocations: 9.985 MB / 0.6236 GB, free: 2.922 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.352e-05/1.651, allocations: 12.02 kB / 0.6236 GB, free: 2.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3663/2.018, allocations: 4.035 MB / 0.6275 GB, free: 49.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.037/2.055, allocations: 10.59 MB / 0.6379 GB, free: 48.83 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001288/2.056, allocations: 0.7972 MB / 0.6387 GB, free: 48.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006478/2.062, allocations: 1.049 MB / 0.6397 GB, free: 48.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08111/2.144, allocations: 24.49 MB / 0.6636 GB, free: 44.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007157/2.144, allocations: 94.38 kB / 0.6637 GB, free: 44.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005821/2.15, allocations: 493.9 kB / 0.6642 GB, free: 44.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005993/2.156, allocations: 2.268 MB / 0.6664 GB, free: 44.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06586/2.222, allocations: 19.52 MB / 0.6854 GB, free: 44.18 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1962/2.418, allocations: 94.14 MB / 0.7774 GB, free: 6.652 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0378/2.456, allocations: 7.661 MB / 0.7849 GB, free: 0.4922 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04346/2.5, allocations: 13.29 MB / 0.7978 GB, free: 5.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.984e-05/2.5, allocations: 71.97 kB / 0.7979 GB, free: 5.113 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.344e-06/2.5, allocations: 0 / 0.7979 GB, free: 5.113 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.442/2.942, allocations: 20.91 MB / 0.8183 GB, free: 86.32 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/2.942, allocations: 167.6 kB / 0.8185 GB, free: 86.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02268/2.965, allocations: 7.411 MB / 0.8257 GB, free: 85.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008282/2.966, allocations: 79.67 kB / 0.8258 GB, free: 85.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00583/2.972, allocations: 6.545 MB / 0.8322 GB, free: 82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002123/2.974, allocations: 1.359 MB / 0.8335 GB, free: 81.22 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001542/2.975, allocations: 220.6 kB / 0.8337 GB, free: 81.22 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001099/2.976, allocations: 0.7584 MB / 0.8345 GB, free: 80.89 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01069/2.987, allocations: 3.216 MB / 0.8376 GB, free: 80.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01499/3.002, allocations: 9.737 MB / 0.8471 GB, free: 72.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01476/3.017, allocations: 5.402 MB / 0.8524 GB, free: 72.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000327/3.017, allocations: 65.22 kB / 0.8525 GB, free: 72.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03678/3.054, allocations: 12.38 MB / 0.8646 GB, free: 71.69 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001837/3.054, allocations: 101.3 kB / 0.8646 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003778/3.055, allocations: 234.9 kB / 0.8649 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/3.055, allocations: 341.4 kB / 0.8652 GB, free: 71.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01683/3.072, allocations: 2.622 MB / 0.8678 GB, free: 71.46 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000518/3.073, allocations: 452.7 kB / 0.8682 GB, free: 71.37 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01381/3.086, allocations: 0.6781 MB / 0.8689 GB, free: 71.35 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002592/3.089, allocations: 0.6386 MB / 0.8695 GB, free: 71.35 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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 () * Number of clocked 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.01332/3.102, allocations: 4.516 MB / 0.8739 GB, free: 70.86 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001966/3.104, allocations: 0.667 MB / 0.8745 GB, free: 70.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/3.118, allocations: 4.095 MB / 0.8785 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-05/3.118, allocations: 38.58 kB / 0.8786 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.898e-05/3.118, allocations: 6.75 kB / 0.8786 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-05/3.118, allocations: 16.83 kB / 0.8786 GB, free: 70.28 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1059/3.224, allocations: 50.13 MB / 0.9275 GB, free: 44.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002609/3.225, allocations: 79.95 kB / 0.9276 GB, free: 44.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005735/3.23, allocations: 0.7391 MB / 0.9283 GB, free: 43.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001556/3.231, allocations: 108 kB / 0.9284 GB, free: 43.88 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008807/3.232, allocations: 166.8 kB / 0.9286 GB, free: 43.72 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001025/3.232, allocations: 136.8 kB / 0.9287 GB, free: 43.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-05/3.232, allocations: 115.5 kB / 0.9288 GB, free: 43.49 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01378/3.246, allocations: 7.243 MB / 0.9359 GB, free: 35.51 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/3.248, allocations: 0.7893 MB / 0.9367 GB, free: 34.73 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002846/3.251, allocations: 171.4 kB / 0.9369 GB, free: 34.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007395/3.259, allocations: 269.2 kB / 0.9371 GB, free: 34.38 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001362/3.26, allocations: 485.7 kB / 0.9376 GB, free: 33.99 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005452/3.261, allocations: 208.2 kB / 0.9378 GB, free: 33.8 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01374/3.274, allocations: 4.654 MB / 0.9423 GB, free: 30.04 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.202e-06/3.275, allocations: 0 / 0.9423 GB, free: 30.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01483/3.289, allocations: 1.867 MB / 0.9441 GB, free: 28.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * 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 (376): * Single equations (assignments): 373 * 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.001655/3.291, allocations: 379 kB / 0.9445 GB, free: 27.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02017/3.311, allocations: 7.578 MB / 0.9519 GB, free: 21.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.258e-05/3.311, allocations: 12 kB / 0.9519 GB, free: 21.21 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005797/3.317, allocations: 2.117 MB / 0.954 GB, free: 19.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009312/3.327, allocations: 1.035 MB / 0.955 GB, free: 18.53 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4184/3.745, allocations: 27.4 MB / 0.9817 GB, free: 66.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02363/3.769, allocations: 7.125 MB / 0.9887 GB, free: 65.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/3.772, allocations: 0.5693 MB / 0.9893 GB, free: 65.78 MB / 474.7 MB Notification: Performance of SimCode: time 1.213e-06/3.772, allocations: 0.9375 kB / 0.9893 GB, free: 65.78 MB / 474.7 MB Notification: Performance of Templates: time 0.2806/4.053, allocations: 114 MB / 1.101 GB, free: 24.22 MB / 474.7 MB