Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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) 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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 194.8 MB / 212.3 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.000335, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08798/0.08834, allocations: 44.49 MB / 309 MB, free: 1.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.395/0.4833, allocations: 81.41 MB / 390.4 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4837, allocations: 91.83 kB / 390.5 MB, free: 14.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2412/0.7249, allocations: 60.02 MB / 450.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.7249, allocations: 0 / 450.5 MB, free: 1.801 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001557/0.7251, allocations: 44 kB / 450.5 MB, free: 1.758 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.02722/0.7523, allocations: 3.609 MB / 454.1 MB, free: 14.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.7524, allocations: 8.031 kB / 454.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0203/0.7727, allocations: 2.345 MB / 456.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/0.7917, allocations: 4.861 MB / 461.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002696/0.7921, allocations: 174.9 kB / 461.5 MB, free: 7.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001524/0.7936, allocations: 234.5 kB / 461.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/0.8219, allocations: 8.592 MB / 470.3 MB, free: 14.35 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.8221, allocations: 51.53 kB / 470.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000751/0.8229, allocations: 118.2 kB / 470.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001761/0.8246, allocations: 0.726 MB / 471.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03236/0.857, allocations: 9.661 MB / 480.9 MB, free: 3.816 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0577/0.9148, allocations: 37.74 MB / 0.5065 GB, free: 12.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02062/0.9355, allocations: 4.04 MB / 0.5104 GB, free: 8.781 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001679/0.9357, allocations: 12 kB / 0.5104 GB, free: 8.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.194e-05/0.9357, allocations: 46.5 kB / 0.5105 GB, free: 8.715 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 4.93e-06/0.9357, allocations: 0 / 0.5105 GB, free: 8.715 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.3283/1.264, allocations: 17.74 MB / 0.5278 GB, free: 111.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002398/1.266, allocations: 3.067 MB / 0.5308 GB, free: 108.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007251/1.274, allocations: 3.015 MB / 0.5337 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006144/1.274, allocations: 47.02 kB / 0.5338 GB, free: 108.2 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001863/1.276, allocations: 2.05 MB / 0.5358 GB, free: 107.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.278, allocations: 0.5598 MB / 0.5363 GB, free: 106.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/1.278, allocations: 95.08 kB / 0.5364 GB, free: 106.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003535/1.279, allocations: 0.5133 MB / 0.5369 GB, free: 106.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006336/1.285, allocations: 2.393 MB / 0.5393 GB, free: 106.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008238/1.293, allocations: 5.289 MB / 0.5444 GB, free: 102.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008536/1.302, allocations: 3.431 MB / 0.5478 GB, free: 102.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.149e-05/1.302, allocations: 33.08 kB / 0.5478 GB, free: 102.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03295/1.335, allocations: 9.356 MB / 0.557 GB, free: 100.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/1.335, allocations: 49.34 kB / 0.557 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01948/1.354, allocations: 4.674 MB / 0.5616 GB, free: 99.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01568/1.37, allocations: 2.351 MB / 0.5639 GB, free: 99.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007143/1.377, allocations: 1.166 MB / 0.565 GB, free: 99.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01163/1.389, allocations: 8.28 MB / 0.5731 GB, free: 93.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008129/1.397, allocations: 0.5662 MB / 0.5736 GB, free: 93.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001073/1.398, allocations: 304.2 kB / 0.5739 GB, free: 92.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (575): * Single equations (assignments): 560 * 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 {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 prepare postOptimizeDAE: time 0.003355/1.402, allocations: 1.402 MB / 0.5753 GB, free: 92.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008633/1.403, allocations: 252.7 kB / 0.5755 GB, free: 92.16 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/1.404, allocations: 419 kB / 0.5759 GB, free: 91.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01911/1.423, allocations: 4.581 MB / 0.5804 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.057e-05/1.423, allocations: 3.938 kB / 0.5804 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/1.423, allocations: 10.69 kB / 0.5804 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/1.437, allocations: 5.341 MB / 0.5856 GB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.19e-05/1.437, allocations: 0 / 0.5856 GB, free: 88.44 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003031/1.44, allocations: 287.2 kB / 0.5859 GB, free: 88.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01504/1.455, allocations: 2.367 MB / 0.5882 GB, free: 86.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005976/1.455, allocations: 47.25 kB / 0.5883 GB, free: 86.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01308/1.468, allocations: 9.003 MB / 0.5971 GB, free: 78.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002069/1.471, allocations: 2.919 MB / 0.5999 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02611/1.497, allocations: 8.045 MB / 0.6078 GB, free: 68.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.498, allocations: 341.6 kB / 0.6081 GB, free: 68.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/1.499, allocations: 32.61 kB / 0.6081 GB, free: 68.21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004196/1.503, allocations: 268.9 kB / 0.6084 GB, free: 67.95 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008202/1.504, allocations: 103.8 kB / 0.6085 GB, free: 67.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.504, allocations: 45.78 kB / 0.6085 GB, free: 67.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004698/1.509, allocations: 1.902 MB / 0.6104 GB, free: 65.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.122e-06/1.509, allocations: 0 / 0.6104 GB, free: 65.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005815/1.515, allocations: 0.9377 MB / 0.6113 GB, free: 64.97 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 () * Number of clocked 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.0006137/1.516, allocations: 171.6 kB / 0.6115 GB, free: 64.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01684/1.532, allocations: 6.797 MB / 0.6181 GB, free: 57.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.104e-06/1.532, allocations: 0.9375 kB / 0.6181 GB, free: 57.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009897/1.542, allocations: 3.425 MB / 0.6214 GB, free: 54.31 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/1.545, allocations: 287.4 kB / 0.6217 GB, free: 54.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/1.57, allocations: 9.817 MB / 0.6313 GB, free: 44.28 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003632/1.573, allocations: 2.354 MB / 0.6336 GB, free: 41.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001812/1.575, allocations: 222.3 kB / 0.6338 GB, free: 41.69 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/1.575, allocations: 4 kB / 0.6338 GB, free: 41.69 MB / 410.7 MB Notification: Performance of Templates: time 0.4509/2.026, allocations: 132 MB / 0.7627 GB, free: 46.01 MB / 410.7 MB