Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2") Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006337/0.0006337, allocations: 12 kB / 314.9 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.347, allocations: 54.86 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5302, allocations: 100.9 MB / 470.7 MB, free: 5.664 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003102/0.5306, allocations: 83.95 kB / 470.8 MB, free: 5.582 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.518/2.049, allocations: 201.1 MB / 0.6561 GB, free: 46.58 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.775e-06/2.049, allocations: 0 / 0.6561 GB, free: 46.58 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005303/2.049, allocations: 199.4 kB / 0.6563 GB, free: 46.58 MB / 458.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.04019/2.09, allocations: 9.987 MB / 0.666 GB, free: 42.63 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/2.09, allocations: 11.03 kB / 0.666 GB, free: 42.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03429/2.124, allocations: 4.037 MB / 0.67 GB, free: 41.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03538/2.159, allocations: 10.6 MB / 0.6803 GB, free: 40.88 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001094/2.161, allocations: 0.7914 MB / 0.6811 GB, free: 40.85 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006169/2.167, allocations: 1.037 MB / 0.6821 GB, free: 40.85 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08075/2.248, allocations: 24.48 MB / 0.706 GB, free: 36.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007148/2.248, allocations: 97.81 kB / 0.7061 GB, free: 36.4 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005711/2.254, allocations: 496.2 kB / 0.7066 GB, free: 36.4 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005727/2.26, allocations: 2.275 MB / 0.7088 GB, free: 36.37 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06569/2.326, allocations: 19.52 MB / 0.7279 GB, free: 34.01 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5465/2.872, allocations: 94.22 MB / 0.8199 GB, free: 77.28 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03654/2.909, allocations: 7.706 MB / 0.8274 GB, free: 76.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04042/2.949, allocations: 13.31 MB / 0.8404 GB, free: 73.66 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.165e-05/2.949, allocations: 75.72 kB / 0.8405 GB, free: 73.62 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=336): time 8.215e-06/2.949, allocations: 0 / 0.8405 GB, free: 73.62 MB / 0.4948 GB Notification: Performance of matching and sorting (n=360): time 0.09813/3.047, allocations: 20.83 MB / 0.8608 GB, free: 67.81 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/3.048, allocations: 167.6 kB / 0.861 GB, free: 67.65 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02411/3.072, allocations: 7.406 MB / 0.8682 GB, free: 67.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0009331/3.073, allocations: 88.22 kB / 0.8683 GB, free: 67.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007306/3.08, allocations: 6.549 MB / 0.8747 GB, free: 63.62 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002468/3.083, allocations: 1.362 MB / 0.876 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001525/3.084, allocations: 215.8 kB / 0.8762 GB, free: 62.85 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001058/3.085, allocations: 0.7529 MB / 0.877 GB, free: 62.52 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01428/3.1, allocations: 3.219 MB / 0.8801 GB, free: 62.49 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0155/3.115, allocations: 9.739 MB / 0.8896 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01446/3.13, allocations: 5.392 MB / 0.8949 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002735/3.13, allocations: 63.09 kB / 0.895 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03608/3.166, allocations: 12.39 MB / 0.9071 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/3.166, allocations: 107.2 kB / 0.9072 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003607/3.167, allocations: 239.3 kB / 0.9074 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003568/3.167, allocations: 336.2 kB / 0.9077 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01646/3.183, allocations: 2.614 MB / 0.9103 GB, free: 53.14 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000467/3.184, allocations: 454.9 kB / 0.9107 GB, free: 53.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0134/3.197, allocations: 0.6851 MB / 0.9114 GB, free: 53.03 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002396/3.2, allocations: 0.6319 MB / 0.912 GB, free: 53.03 MB / 0.4948 GB 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 () * 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.01254/3.212, allocations: 4.511 MB / 0.9164 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/3.214, allocations: 0.6726 MB / 0.917 GB, free: 51.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01291/3.227, allocations: 4.103 MB / 0.921 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.568e-05/3.227, allocations: 40.77 kB / 0.9211 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/3.227, allocations: 3.594 kB / 0.9211 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.662e-05/3.227, allocations: 16.5 kB / 0.9211 GB, free: 49.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08656/3.314, allocations: 41.7 MB / 0.9618 GB, free: 19.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002658/3.314, allocations: 88 kB / 0.9619 GB, free: 19.53 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005646/3.32, allocations: 0.8414 MB / 0.9627 GB, free: 18.79 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001439/3.32, allocations: 128 kB / 0.9629 GB, free: 18.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007216/3.321, allocations: 202.3 kB / 0.9631 GB, free: 18.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001264/3.321, allocations: 170.7 kB / 0.9632 GB, free: 18.33 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.149e-05/3.321, allocations: 143.4 kB / 0.9633 GB, free: 18.19 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01882/3.34, allocations: 7.824 MB / 0.971 GB, free: 9.336 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004093/3.344, allocations: 0.8404 MB / 0.9718 GB, free: 8.512 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00371/3.348, allocations: 208.1 kB / 0.972 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01044/3.358, allocations: 265.2 kB / 0.9723 GB, free: 8.113 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001302/3.36, allocations: 0.5741 MB / 0.9728 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004931/3.36, allocations: 241.2 kB / 0.9731 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01358/3.374, allocations: 4.648 MB / 0.9776 GB, free: 3.668 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.172e-06/3.374, allocations: 4 kB / 0.9776 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0147/3.388, allocations: 1.866 MB / 0.9794 GB, free: 1.805 MB / 0.4948 GB 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 () * Number of clocked 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.001635/3.39, allocations: 420.9 kB / 0.9798 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02223/3.412, allocations: 7.564 MB / 0.9872 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.325e-05/3.412, allocations: 12 kB / 0.9872 GB, free: 10.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006309/3.419, allocations: 2.161 MB / 0.9893 GB, free: 8.957 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009824/3.429, allocations: 1.081 MB / 0.9904 GB, free: 8.043 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4676/3.896, allocations: 28.29 MB / 1.018 GB, free: 94.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0216/3.918, allocations: 7.16 MB / 1.025 GB, free: 93.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003134/3.921, allocations: 0.5805 MB / 1.026 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of SimCode: time 2.635e-06/3.921, allocations: 0 / 1.026 GB, free: 93.35 MB / 0.5261 GB Notification: Performance of Templates: time 0.2319/4.153, allocations: 114 MB / 1.137 GB, free: 54.25 MB / 0.5261 GB