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/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.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.901/1.901, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.997e-05/2.005e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.259, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.3971, allocations: 93.43 MB / 413.4 MB, free: 2.988 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002167/0.3974, allocations: 71.97 kB / 413.5 MB, free: 2.918 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/1.544, allocations: 194.7 MB / 0.5939 GB, free: 37.45 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.995e-06/1.544, allocations: 2.344 kB / 0.5939 GB, free: 37.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005488/1.544, allocations: 194.2 kB / 0.5941 GB, free: 37.45 MB / 410.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.03092/1.575, allocations: 9.422 MB / 0.6033 GB, free: 35.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/1.575, allocations: 7.562 kB / 0.6033 GB, free: 35.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0254/1.601, allocations: 4.028 MB / 0.6073 GB, free: 34.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02832/1.629, allocations: 10.55 MB / 0.6176 GB, free: 33.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000659/1.63, allocations: 354 kB / 0.6179 GB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004327/1.634, allocations: 0.6047 MB / 0.6185 GB, free: 33.76 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03136/1.665, allocations: 14.54 MB / 0.6327 GB, free: 33.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04842/1.714, allocations: 20.73 MB / 0.6529 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005849/1.714, allocations: 98.88 kB / 0.653 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004106/1.719, allocations: 47.22 kB / 0.6531 GB, free: 29.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004175/1.723, allocations: 2.278 MB / 0.6553 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1451/1.868, allocations: 93.8 MB / 0.7469 GB, free: 5.516 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008861/1.877, allocations: 4.137 MB / 0.7509 GB, free: 1.707 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004699/1.882, allocations: 1.948 MB / 0.7528 GB, free: 0 / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2696/2.151, allocations: 75.19 kB / 0.7529 GB, free: 81.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.548e-05/2.151, allocations: 66.34 kB / 0.753 GB, free: 81.23 MB / 458.7 MB Notification: Performance of pre-optimization done (n=330): time 9.846e-06/2.151, allocations: 0.75 kB / 0.753 GB, free: 81.23 MB / 458.7 MB Notification: Performance of matching and sorting (n=342): time 0.04612/2.198, allocations: 14.89 MB / 0.7675 GB, free: 76.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/2.198, allocations: 172.3 kB / 0.7677 GB, free: 75.97 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01193/2.21, allocations: 5.657 MB / 0.7732 GB, free: 75.44 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005754/2.21, allocations: 28.08 kB / 0.7732 GB, free: 75.41 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004554/2.215, allocations: 6.775 MB / 0.7798 GB, free: 71.69 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001497/2.216, allocations: 1.263 MB / 0.7811 GB, free: 70.95 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008954/2.217, allocations: 0 / 0.7811 GB, free: 70.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008263/2.218, allocations: 0.7751 MB / 0.7818 GB, free: 70.62 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006338/2.224, allocations: 2.86 MB / 0.7846 GB, free: 70.6 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009722/2.234, allocations: 9.633 MB / 0.794 GB, free: 61.79 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009673/2.244, allocations: 5.174 MB / 0.7991 GB, free: 61.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002154/2.244, allocations: 71.41 kB / 0.7992 GB, free: 61.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.02597/2.27, allocations: 10.85 MB / 0.8098 GB, free: 61.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001855/2.27, allocations: 113.3 kB / 0.8099 GB, free: 61.23 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002804/2.271, allocations: 244.1 kB / 0.8101 GB, free: 61.23 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003841/2.271, allocations: 357.8 kB / 0.8104 GB, free: 61.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01096/2.282, allocations: 2.705 MB / 0.8131 GB, free: 60.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003665/2.283, allocations: 484.6 kB / 0.8135 GB, free: 60.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01144/2.294, allocations: 495.7 kB / 0.814 GB, free: 60.87 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002224/2.296, allocations: 0.6674 MB / 0.8147 GB, free: 60.87 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * 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 (1420): * Single equations (assignments): 1417 * 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.003177/2.299, allocations: 0.7078 MB / 0.8154 GB, free: 60.37 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001364/2.301, allocations: 0.6203 MB / 0.816 GB, free: 60.02 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008227/2.309, allocations: 3.57 MB / 0.8194 GB, free: 59.81 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.114e-05/2.309, allocations: 33.75 kB / 0.8195 GB, free: 59.81 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-05/2.309, allocations: 6.781 kB / 0.8195 GB, free: 59.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.581e-05/2.309, allocations: 14.62 kB / 0.8195 GB, free: 59.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06703/2.376, allocations: 36.91 MB / 0.8555 GB, free: 50.01 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000149/2.376, allocations: 84 kB / 0.8556 GB, free: 49.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003451/2.38, allocations: 0.8083 MB / 0.8564 GB, free: 49.22 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001282/2.38, allocations: 120 kB / 0.8565 GB, free: 49.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005172/2.381, allocations: 122.2 kB / 0.8566 GB, free: 48.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001072/2.381, allocations: 167.5 kB / 0.8568 GB, free: 48.85 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.545e-05/2.381, allocations: 135.4 kB / 0.8569 GB, free: 48.72 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01168/2.393, allocations: 22.44 MB / 0.8789 GB, free: 22.16 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/2.395, allocations: 0.7612 MB / 0.8796 GB, free: 21.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001502/2.396, allocations: 123.4 kB / 0.8797 GB, free: 21.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005451/2.402, allocations: 193.8 kB / 0.8799 GB, free: 21.16 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001081/2.403, allocations: 0.5393 MB / 0.8804 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004412/2.403, allocations: 236.1 kB / 0.8806 GB, free: 20.5 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0082/2.412, allocations: 3.778 MB / 0.8843 GB, free: 17.24 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.332e-06/2.412, allocations: 0 / 0.8843 GB, free: 17.24 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01342/2.425, allocations: 1.592 MB / 0.8859 GB, free: 15.65 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.001127/2.426, allocations: 300.9 kB / 0.8862 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01264/2.439, allocations: 6.745 MB / 0.8928 GB, free: 9.25 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.512e-05/2.439, allocations: 13.5 kB / 0.8928 GB, free: 9.238 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003556/2.443, allocations: 1.889 MB / 0.8946 GB, free: 7.559 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006364/2.449, allocations: 0.8522 MB / 0.8955 GB, free: 6.836 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04832/2.497, allocations: 19.15 MB / 0.9142 GB, free: 4.477 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3518/2.849, allocations: 7.125 MB / 0.9211 GB, free: 79.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002437/2.852, allocations: 0.5562 MB / 0.9217 GB, free: 79.85 MB / 474.7 MB Notification: Performance of SimCode: time 2.094e-06/2.852, allocations: 4.094 kB / 0.9217 GB, free: 79.85 MB / 474.7 MB Notification: Performance of Templates: time 0.1684/3.02, allocations: 109.2 MB / 1.028 GB, free: 46.24 MB / 474.7 MB