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.CutForceAndTorque3.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.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.428/2.428, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004171/0.0004171, allocations: 15.98 kB / 314.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.353, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.5567, allocations: 99.09 MB / 468.9 MB, free: 7.617 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.5571, allocations: 87.94 kB / 469 MB, free: 7.531 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6138/1.171, allocations: 66.56 MB / 0.523 GB, free: 49.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.136e-06/1.171, allocations: 4 kB / 0.523 GB, free: 49.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001496/1.171, allocations: 67.98 kB / 0.5231 GB, free: 49.82 MB / 394.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.01093/1.182, allocations: 3.234 MB / 0.5262 GB, free: 46.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.182, allocations: 11.97 kB / 0.5262 GB, free: 46.51 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01424/1.196, allocations: 1.933 MB / 0.5281 GB, free: 44.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006585/1.203, allocations: 2.04 MB / 0.5301 GB, free: 42.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002314/1.203, allocations: 283.4 kB / 0.5304 GB, free: 42.2 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001258/1.205, allocations: 363.9 kB / 0.5307 GB, free: 41.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02136/1.226, allocations: 8.162 MB / 0.5387 GB, free: 33.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/1.226, allocations: 15.81 kB / 0.5387 GB, free: 33.27 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007559/1.227, allocations: 171.9 kB / 0.5389 GB, free: 33.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0015/1.228, allocations: 0.8105 MB / 0.5397 GB, free: 32.29 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01982/1.248, allocations: 7.009 MB / 0.5465 GB, free: 25.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05901/1.307, allocations: 27.52 MB / 0.5734 GB, free: 13.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009189/1.317, allocations: 2.556 MB / 0.5759 GB, free: 10.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/1.331, allocations: 4.486 MB / 0.5803 GB, free: 5.711 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/1.331, allocations: 39.56 kB / 0.5803 GB, free: 5.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 5.14e-06/1.331, allocations: 0 / 0.5803 GB, free: 5.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.01344/1.344, allocations: 2.983 MB / 0.5832 GB, free: 2.617 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.018e-05/1.344, allocations: 68.36 kB / 0.5833 GB, free: 2.539 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.349, allocations: 2.201 MB / 0.5854 GB, free: 304 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002858/1.35, allocations: 49.69 kB / 0.5855 GB, free: 248 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002417/1.352, allocations: 2.304 MB / 0.5877 GB, free: 13.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009061/1.353, allocations: 458 kB / 0.5882 GB, free: 13.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/1.353, allocations: 72 kB / 0.5882 GB, free: 13.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003865/1.354, allocations: 466.6 kB / 0.5887 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003144/1.357, allocations: 1.077 MB / 0.5897 GB, free: 11.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005203/1.362, allocations: 3.199 MB / 0.5928 GB, free: 7.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005022/1.367, allocations: 1.859 MB / 0.5947 GB, free: 5.734 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.452e-05/1.367, allocations: 20 kB / 0.5947 GB, free: 5.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=468) (initialization): time 0.01236/1.38, allocations: 4.134 MB / 0.5987 GB, free: 1.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.77e-05/1.38, allocations: 36 kB / 0.5988 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.38, allocations: 79.98 kB / 0.5988 GB, free: 1.457 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001602/1.38, allocations: 116.1 kB / 0.5989 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005176/1.385, allocations: 0.8032 MB / 0.5997 GB, free: 0.5391 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000201/1.386, allocations: 151.4 kB / 0.5999 GB, free: 400 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004101/1.39, allocations: 490.8 kB / 0.6003 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009043/1.391, allocations: 223.9 kB / 0.6005 GB, free: 15.69 MB / 442.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 () * Number of clocked 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.004771/1.395, allocations: 1.694 MB / 0.6022 GB, free: 13.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004782/1.396, allocations: 197.5 kB / 0.6024 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00447/1.4, allocations: 1.517 MB / 0.6039 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-05/1.4, allocations: 12 kB / 0.6039 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.401, allocations: 0 / 0.6039 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/1.401, allocations: 7.938 kB / 0.6039 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02202/1.423, allocations: 7.377 MB / 0.6111 GB, free: 4.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.788e-05/1.423, allocations: 16.25 kB / 0.6111 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001628/1.424, allocations: 191.6 kB / 0.6113 GB, free: 4.387 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.973e-05/1.424, allocations: 24 kB / 0.6113 GB, free: 4.363 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001627/1.425, allocations: 32 kB / 0.6113 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.107e-05/1.425, allocations: 31.86 kB / 0.6114 GB, free: 4.301 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.436e-05/1.425, allocations: 19.94 kB / 0.6114 GB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004592/1.429, allocations: 1.996 MB / 0.6133 GB, free: 2.066 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008567/1.43, allocations: 330 kB / 0.6137 GB, free: 1.723 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000479/1.431, allocations: 39.98 kB / 0.6137 GB, free: 1.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.432, allocations: 51.88 kB / 0.6138 GB, free: 1.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.432, allocations: 103.6 kB / 0.6138 GB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.432, allocations: 55.98 kB / 0.6139 GB, free: 1.477 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004021/1.436, allocations: 1.546 MB / 0.6154 GB, free: 15.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.21e-07/1.436, allocations: 0 / 0.6154 GB, free: 15.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00524/1.442, allocations: 0.9252 MB / 0.6163 GB, free: 14.98 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 () * Number of clocked 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.000624/1.442, allocations: 166.8 kB / 0.6165 GB, free: 14.81 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007003/1.449, allocations: 2.543 MB / 0.619 GB, free: 12.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.782e-05/1.449, allocations: 8.062 kB / 0.619 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001949/1.451, allocations: 0.6898 MB / 0.6196 GB, free: 11.59 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/1.454, allocations: 307.4 kB / 0.6199 GB, free: 11.29 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02241/1.476, allocations: 8.798 MB / 0.6285 GB, free: 2.266 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007325/1.484, allocations: 2.899 MB / 0.6314 GB, free: 15.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001056/1.485, allocations: 183.4 kB / 0.6315 GB, free: 15.16 MB / 474.7 MB Notification: Performance of SimCode: time 3.166e-06/1.485, allocations: 4 kB / 0.6315 GB, free: 15.16 MB / 474.7 MB Notification: Performance of Templates: time 0.414/1.899, allocations: 38.25 MB / 0.6689 GB, free: 122.3 MB / 474.7 MB