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.CutForceAndTorque2.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.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.24/2.24, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.504e-05, allocations: 7.938 kB / 309.7 MB, free: 1.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3179, allocations: 54.86 MB / 364.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1508/0.4687, allocations: 100.8 MB / 465.4 MB, free: 11.61 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.469, allocations: 79.95 kB / 465.4 MB, free: 11.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9631/1.432, allocations: 199.5 MB / 0.6493 GB, free: 42.04 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.432, allocations: 0 / 0.6493 GB, free: 42.04 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004669/1.433, allocations: 200 kB / 0.6495 GB, free: 41.85 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.02957/1.462, allocations: 9.424 MB / 0.6587 GB, free: 32.33 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.462, allocations: 8.031 kB / 0.6587 GB, free: 32.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02544/1.488, allocations: 4.03 MB / 0.6627 GB, free: 28.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02905/1.517, allocations: 10.55 MB / 0.673 GB, free: 17.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001009/1.518, allocations: 0.802 MB / 0.6737 GB, free: 16.83 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004926/1.523, allocations: 1.039 MB / 0.6748 GB, free: 15.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06731/1.59, allocations: 24.08 MB / 0.6983 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000613/1.591, allocations: 99.14 kB / 0.6984 GB, free: 6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004679/1.596, allocations: 491.8 kB / 0.6988 GB, free: 5.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005236/1.601, allocations: 2.267 MB / 0.7011 GB, free: 3.246 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6733/2.274, allocations: 18.97 MB / 0.7196 GB, free: 63.52 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1532/2.427, allocations: 94.16 MB / 0.8115 GB, free: 10.58 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02587/2.453, allocations: 7.62 MB / 0.819 GB, free: 8.246 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005781/2.459, allocations: 3.036 MB / 0.8219 GB, free: 7.09 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02905/2.488, allocations: 13.29 MB / 0.8349 GB, free: 0.7695 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.959e-05/2.488, allocations: 71.22 kB / 0.835 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of pre-optimization done (n=336): time 7.824e-06/2.488, allocations: 0 / 0.835 GB, free: 0.7031 MB / 474.8 MB Notification: Performance of matching and sorting (n=360): time 0.0714/2.56, allocations: 18.78 MB / 0.8533 GB, free: 4.461 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/2.56, allocations: 166.9 kB / 0.8535 GB, free: 4.266 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/2.576, allocations: 6.389 MB / 0.8597 GB, free: 14.64 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006717/2.577, allocations: 81.7 kB / 0.8598 GB, free: 14.55 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.006848/2.584, allocations: 6.555 MB / 0.8662 GB, free: 8.652 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002104/2.586, allocations: 1.359 MB / 0.8675 GB, free: 7.449 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001199/2.587, allocations: 214.2 kB / 0.8677 GB, free: 7.242 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.00122/2.588, allocations: 0.7584 MB / 0.8685 GB, free: 6.605 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007894/2.596, allocations: 2.985 MB / 0.8714 GB, free: 3.914 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0146/2.611, allocations: 9.47 MB / 0.8806 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01182/2.623, allocations: 5.237 MB / 0.8857 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/2.623, allocations: 64 kB / 0.8858 GB, free: 3.402 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03115/2.654, allocations: 11.92 MB / 0.8974 GB, free: 8.781 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002187/2.654, allocations: 104 kB / 0.8975 GB, free: 8.68 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003821/2.655, allocations: 236 kB / 0.8978 GB, free: 8.449 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005021/2.655, allocations: 340 kB / 0.8981 GB, free: 8.117 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01207/2.667, allocations: 2.609 MB / 0.9006 GB, free: 5.848 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005765/2.668, allocations: 455.8 kB / 0.9011 GB, free: 5.449 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01155/2.68, allocations: 0.6876 MB / 0.9018 GB, free: 4.863 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002235/2.682, allocations: 0.6378 MB / 0.9024 GB, free: 4.238 MB / 0.5262 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 () * 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.003137/2.685, allocations: 0.9346 MB / 0.9033 GB, free: 3.301 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001626/2.687, allocations: 0.6595 MB / 0.9039 GB, free: 2.633 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3293/3.016, allocations: 4.246 MB / 0.9081 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.868e-05/3.016, allocations: 41.06 kB / 0.9081 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.887e-05/3.016, allocations: 1.344 kB / 0.9081 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.068e-05/3.016, allocations: 17.75 kB / 0.9081 GB, free: 118.4 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07777/3.094, allocations: 41.63 MB / 0.9488 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002588/3.094, allocations: 89.09 kB / 0.9489 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003788/3.098, allocations: 0.84 MB / 0.9497 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001686/3.098, allocations: 127.7 kB / 0.9498 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007989/3.099, allocations: 193.3 kB / 0.95 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001403/3.099, allocations: 169.8 kB / 0.9502 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.903e-05/3.099, allocations: 136.8 kB / 0.9503 GB, free: 114.7 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01361/3.113, allocations: 25.09 MB / 0.9748 GB, free: 91.03 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002552/3.116, allocations: 0.8415 MB / 0.9756 GB, free: 90.94 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002019/3.118, allocations: 207.2 kB / 0.9758 GB, free: 90.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006018/3.124, allocations: 264.6 kB / 0.9761 GB, free: 90.93 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001133/3.125, allocations: 0.5677 MB / 0.9766 GB, free: 90.87 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005764/3.125, allocations: 242.9 kB / 0.9769 GB, free: 90.87 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 0.01078/3.136, allocations: 4.462 MB / 0.9812 GB, free: 90.62 MB / 0.5262 GB Notification: Performance of sort global known variables: time 1.257e-06/3.136, allocations: 0 / 0.9812 GB, free: 90.62 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.01357/3.15, allocations: 1.868 MB / 0.983 GB, free: 90.43 MB / 0.5262 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 () * 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.001388/3.151, allocations: 389.4 kB / 0.9834 GB, free: 90.27 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.01464/3.166, allocations: 7.279 MB / 0.9905 GB, free: 87.99 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 6.334e-05/3.166, allocations: 14.12 kB / 0.9905 GB, free: 87.99 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.00419/3.17, allocations: 2.117 MB / 0.9926 GB, free: 87.27 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007885/3.178, allocations: 1.086 MB / 0.9937 GB, free: 86.91 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04569/3.224, allocations: 19.66 MB / 1.013 GB, free: 77.1 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01727/3.241, allocations: 7.164 MB / 1.02 GB, free: 72.38 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002216/3.244, allocations: 0.5795 MB / 1.02 GB, free: 71.82 MB / 0.5262 GB Notification: Performance of SimCode: time 2.196e-06/3.244, allocations: 0 / 1.02 GB, free: 71.82 MB / 0.5262 GB Notification: Performance of Templates: time 0.4995/3.743, allocations: 114 MB / 1.132 GB, free: 100.9 MB / 0.5262 GB