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.CutForceAndTorque3.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.CutForceAndTorque3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cutForceAndTorque.force.3.|cutForceAndTorque.torque.3.|cutForceAndTorque.force.2.|cutForceAndTorque.torque.2.|cutForceAndTorque.force.1.|cutForceAndTorque.torque.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3") Notification: Performance of loadModel(ModelicaTest): time 2.133/2.133, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.096e-05, allocations: 3.984 kB / 309.7 MB, free: 1.328 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3216, allocations: 54.85 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.4695, allocations: 99.02 MB / 463.6 MB, free: 13.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.4698, allocations: 83.94 kB / 463.6 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2464/0.7162, allocations: 66.41 MB / 0.5176 GB, free: 10.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.997e-06/0.7162, allocations: 3.938 kB / 0.5176 GB, free: 10.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.7164, allocations: 64 kB / 0.5177 GB, free: 10.45 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: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.009775/0.7262, allocations: 3.125 MB / 0.5207 GB, free: 7.262 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.7263, allocations: 15.97 kB / 0.5208 GB, free: 7.246 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01118/0.7374, allocations: 1.937 MB / 0.5226 GB, free: 5.301 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006126/0.7436, allocations: 2.032 MB / 0.5246 GB, free: 3.219 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004041/0.7441, allocations: 279.4 kB / 0.5249 GB, free: 2.945 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001686/0.7458, allocations: 367.9 kB / 0.5253 GB, free: 2.586 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2834/1.029, allocations: 8.057 MB / 0.5331 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/1.029, allocations: 19.25 kB / 0.5331 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001403/1.031, allocations: 164.4 kB / 0.5333 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001652/1.032, allocations: 0.8094 MB / 0.5341 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/1.051, allocations: 6.902 MB / 0.5408 GB, free: 110.7 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04475/1.096, allocations: 27.52 MB / 0.5677 GB, free: 96.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006768/1.103, allocations: 2.528 MB / 0.5702 GB, free: 94.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/1.104, allocations: 0.9526 MB / 0.5711 GB, free: 94.49 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.115, allocations: 4.478 MB / 0.5755 GB, free: 92.39 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/1.115, allocations: 46.81 kB / 0.5755 GB, free: 92.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=120): time 5.722e-06/1.115, allocations: 3.781 kB / 0.5755 GB, free: 92.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=120): time 0.008735/1.124, allocations: 2.108 MB / 0.5776 GB, free: 91.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/1.124, allocations: 62.41 kB / 0.5776 GB, free: 91.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003747/1.128, allocations: 1.962 MB / 0.5796 GB, free: 91 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.128, allocations: 45.14 kB / 0.5796 GB, free: 90.95 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001365/1.129, allocations: 2.307 MB / 0.5818 GB, free: 89.33 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005251/1.13, allocations: 463.3 kB / 0.5823 GB, free: 89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/1.13, allocations: 73 kB / 0.5824 GB, free: 88.95 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002373/1.13, allocations: 464.8 kB / 0.5828 GB, free: 88.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002063/1.133, allocations: 1.045 MB / 0.5838 GB, free: 88.24 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003226/1.136, allocations: 3.154 MB / 0.5869 GB, free: 85.04 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003444/1.139, allocations: 1.851 MB / 0.5887 GB, free: 84.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.13e-05/1.139, allocations: 22.09 kB / 0.5887 GB, free: 84.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.009065/1.148, allocations: 4.066 MB / 0.5927 GB, free: 82.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.786e-05/1.149, allocations: 38.03 kB / 0.5927 GB, free: 82.99 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.719e-05/1.149, allocations: 75.19 kB / 0.5928 GB, free: 82.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/1.149, allocations: 113.8 kB / 0.5929 GB, free: 82.99 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003504/1.152, allocations: 0.8078 MB / 0.5937 GB, free: 82.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001303/1.152, allocations: 156.3 kB / 0.5939 GB, free: 82.85 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003342/1.156, allocations: 487.4 kB / 0.5943 GB, free: 82.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005701/1.156, allocations: 218.8 kB / 0.5945 GB, free: 82.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0005888/1.157, allocations: 380.6 kB / 0.5949 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003418/1.157, allocations: 192.2 kB / 0.5951 GB, free: 82.1 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002821/1.16, allocations: 1.488 MB / 0.5965 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-05/1.16, allocations: 11.72 kB / 0.5965 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.669e-06/1.16, allocations: 7.922 kB / 0.5965 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/1.16, allocations: 6.562 kB / 0.5966 GB, free: 81.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01629/1.177, allocations: 7.342 MB / 0.6037 GB, free: 78.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-05/1.177, allocations: 16 kB / 0.6037 GB, free: 78.19 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.178, allocations: 188.1 kB / 0.6039 GB, free: 78.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-05/1.178, allocations: 23.47 kB / 0.6039 GB, free: 78.01 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.178, allocations: 36 kB / 0.604 GB, free: 77.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.4e-05/1.178, allocations: 31.58 kB / 0.604 GB, free: 77.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.439e-05/1.178, allocations: 19.94 kB / 0.604 GB, free: 77.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/1.181, allocations: 3.147 MB / 0.6071 GB, free: 74.31 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000652/1.182, allocations: 335.7 kB / 0.6074 GB, free: 73.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003336/1.182, allocations: 36.83 kB / 0.6075 GB, free: 73.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.183, allocations: 53.47 kB / 0.6075 GB, free: 73.9 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.183, allocations: 112.8 kB / 0.6076 GB, free: 73.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001226/1.183, allocations: 54.45 kB / 0.6077 GB, free: 73.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002876/1.186, allocations: 1.523 MB / 0.6091 GB, free: 72.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.341e-06/1.186, allocations: 0 / 0.6091 GB, free: 72.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004281/1.191, allocations: 0.9246 MB / 0.6101 GB, free: 71.48 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 64 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 95 * 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.0004352/1.191, allocations: 162.6 kB / 0.6102 GB, free: 71.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004594/1.196, allocations: 2.499 MB / 0.6126 GB, free: 69.05 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.196, allocations: 4 kB / 0.6127 GB, free: 69.05 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001203/1.197, allocations: 0.6835 MB / 0.6133 GB, free: 68.44 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/1.199, allocations: 290 kB / 0.6136 GB, free: 68.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01316/1.212, allocations: 6.055 MB / 0.6195 GB, free: 62.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005229/1.217, allocations: 2.902 MB / 0.6223 GB, free: 60.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008203/1.218, allocations: 189.5 kB / 0.6225 GB, free: 60.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.966e-06/1.218, allocations: 4 kB / 0.6225 GB, free: 60.14 MB / 458.7 MB Notification: Performance of Templates: time 0.05692/1.275, allocations: 38.25 MB / 0.6599 GB, free: 24.79 MB / 458.7 MB