Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.619/1.619, allocations: 171.3 MB / 179.2 MB, free: 7.594 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.32e-05/2.329e-05, allocations: 8 kB / 222.5 MB, free: 8.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06969/0.06973, allocations: 38.77 MB / 261.3 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2908/0.3606, allocations: 75.04 MB / 336.3 MB, free: 13.32 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.3609, allocations: 82.64 kB / 336.4 MB, free: 13.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3006/0.6615, allocations: 58.25 MB / 394.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.6616, allocations: 0 / 394.7 MB, free: 6.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.6617, allocations: 47.94 kB / 394.7 MB, free: 5.977 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.0181/0.6798, allocations: 3.437 MB / 398.1 MB, free: 2.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6799, allocations: 8.031 kB / 398.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.6943, allocations: 2.321 MB / 400.5 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01579/0.7101, allocations: 4.828 MB / 405.3 MB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001814/0.7103, allocations: 72 kB / 405.4 MB, free: 11.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001106/0.7115, allocations: 147.8 kB / 405.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01139/0.7229, allocations: 5.532 MB / 411.1 MB, free: 5.508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1997/0.9226, allocations: 7.8 MB / 418.9 MB, free: 85.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.9227, allocations: 50.98 kB / 418.9 MB, free: 85.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006165/0.9234, allocations: 25.31 kB / 418.9 MB, free: 85.13 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001458/0.9249, allocations: 0.7243 MB / 419.7 MB, free: 85.13 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04168/0.9666, allocations: 36.57 MB / 456.2 MB, free: 61.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005048/0.9716, allocations: 3.147 MB / 459.4 MB, free: 61.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003773/0.9755, allocations: 2.165 MB / 461.5 MB, free: 60.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001138/0.9756, allocations: 16.97 kB / 461.5 MB, free: 60.4 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.9757, allocations: 51.55 kB / 461.6 MB, free: 60.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 6.177e-06/0.9757, allocations: 3.625 kB / 461.6 MB, free: 60.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.04259/1.018, allocations: 13.55 MB / 475.2 MB, free: 55.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/1.018, allocations: 168.7 kB / 475.3 MB, free: 55.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004011/1.022, allocations: 2.294 MB / 477.6 MB, free: 54.88 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004624/1.023, allocations: 27.39 kB / 477.6 MB, free: 54.85 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001359/1.024, allocations: 2.121 MB / 479.8 MB, free: 53.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008896/1.025, allocations: 0.5525 MB / 480.3 MB, free: 52.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005029/1.026, allocations: 3.938 kB / 480.3 MB, free: 52.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003368/1.026, allocations: 0.5252 MB / 480.8 MB, free: 52.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004247/1.03, allocations: 2.231 MB / 483.1 MB, free: 51.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006161/1.037, allocations: 5.202 MB / 488.3 MB, free: 46.93 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/1.043, allocations: 3.325 MB / 491.6 MB, free: 45.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.472e-05/1.043, allocations: 30.16 kB / 491.6 MB, free: 45.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.02338/1.066, allocations: 8.457 MB / 0.4884 GB, free: 43.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.967e-05/1.066, allocations: 55.89 kB / 0.4884 GB, free: 43.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01222/1.079, allocations: 4.44 MB / 0.4928 GB, free: 39.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009307/1.088, allocations: 2.161 MB / 0.4949 GB, free: 38.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005287/1.093, allocations: 1.229 MB / 0.4961 GB, free: 37.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006813/1.1, allocations: 7.126 MB / 0.503 GB, free: 30.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/1.107, allocations: 494.9 kB / 0.5035 GB, free: 29.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00128/1.108, allocations: 313 kB / 0.5038 GB, free: 29.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (602): * Single equations (assignments): 587 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001421/1.109, allocations: 375 kB / 0.5041 GB, free: 29.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007042/1.11, allocations: 237 kB / 0.5044 GB, free: 28.85 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/1.111, allocations: 385.7 kB / 0.5047 GB, free: 28.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01269/1.124, allocations: 4.512 MB / 0.5091 GB, free: 23.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/1.124, allocations: 4 kB / 0.5092 GB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/1.124, allocations: 7.984 kB / 0.5092 GB, free: 23.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0114/1.135, allocations: 4.994 MB / 0.514 GB, free: 18.87 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/1.135, allocations: 0 / 0.514 GB, free: 18.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/1.138, allocations: 275.6 kB / 0.5143 GB, free: 18.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/1.148, allocations: 2.343 MB / 0.5166 GB, free: 16.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005222/1.149, allocations: 35.91 kB / 0.5166 GB, free: 16.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009908/1.159, allocations: 8.618 MB / 0.525 GB, free: 7.141 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001639/1.161, allocations: 2.777 MB / 0.5277 GB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.212/1.373, allocations: 7.992 MB / 0.5356 GB, free: 77.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007726/1.374, allocations: 307.6 kB / 0.5358 GB, free: 77.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008484/1.374, allocations: 16.78 kB / 0.5359 GB, free: 77.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003338/1.378, allocations: 249.3 kB / 0.5361 GB, free: 77.45 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007233/1.378, allocations: 103 kB / 0.5362 GB, free: 77.45 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/1.379, allocations: 43.81 kB / 0.5362 GB, free: 77.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003348/1.382, allocations: 1.523 MB / 0.5377 GB, free: 77.3 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.157e-06/1.382, allocations: 2 kB / 0.5377 GB, free: 77.3 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006154/1.388, allocations: 0.8535 MB / 0.5386 GB, free: 77.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006819/1.389, allocations: 157.4 kB / 0.5387 GB, free: 77.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01335/1.402, allocations: 6.241 MB / 0.5448 GB, free: 76.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.681e-06/1.402, allocations: 3.625 kB / 0.5448 GB, free: 76.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007619/1.41, allocations: 3.337 MB / 0.5481 GB, free: 75.75 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002285/1.412, allocations: 234.4 kB / 0.5483 GB, free: 75.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.43, allocations: 7.613 MB / 0.5557 GB, free: 74.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/1.434, allocations: 2.346 MB / 0.558 GB, free: 73.36 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001411/1.435, allocations: 224 kB / 0.5582 GB, free: 73.35 MB / 346.7 MB Notification: Performance of SimCode: time 2.16e-06/1.435, allocations: 0 / 0.5582 GB, free: 73.35 MB / 346.7 MB Notification: Performance of Templates: time 0.3549/1.79, allocations: 130.2 MB / 0.6853 GB, free: 95.1 MB / 362.7 MB