Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_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_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") Notification: Performance of loadModel(Modelica): time 2.15/2.15, allocations: 194.8 MB / 211.7 MB, free: 2.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003632/0.0003633, allocations: 19.94 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09119/0.09158, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/0.5226, allocations: 81.4 MB / 390.5 MB, free: 15.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004462/0.5232, allocations: 95.67 kB / 390.5 MB, free: 15.42 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2914/0.8146, allocations: 60.03 MB / 450.6 MB, free: 1.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.8147, allocations: 4 kB / 450.6 MB, free: 1.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000162/0.8149, allocations: 40 kB / 450.6 MB, free: 1.398 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.02745/0.8423, allocations: 3.6 MB / 454.2 MB, free: 13.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.8424, allocations: 8.031 kB / 454.2 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02137/0.8638, allocations: 2.351 MB / 456.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/0.8836, allocations: 4.86 MB / 461.4 MB, free: 7.605 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002966/0.884, allocations: 170 kB / 461.6 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00161/0.8856, allocations: 238.6 kB / 461.8 MB, free: 7.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02968/0.9153, allocations: 8.566 MB / 470.4 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/0.9155, allocations: 59.52 kB / 470.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009861/0.9165, allocations: 118.2 kB / 470.6 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001946/0.9185, allocations: 0.7333 MB / 471.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03347/0.952, allocations: 9.661 MB / 481 MB, free: 3.379 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05893/1.011, allocations: 37.73 MB / 0.5065 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02086/1.032, allocations: 4.036 MB / 0.5105 GB, free: 8.352 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001649/1.032, allocations: 15.61 kB / 0.5105 GB, free: 8.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/1.032, allocations: 50.55 kB / 0.5106 GB, free: 8.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 7.093e-06/1.032, allocations: 3.984 kB / 0.5106 GB, free: 8.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.3603/1.392, allocations: 17.74 MB / 0.5279 GB, free: 111.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002616/1.395, allocations: 3.075 MB / 0.5309 GB, free: 108.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00843/1.404, allocations: 3.016 MB / 0.5338 GB, free: 108.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006048/1.404, allocations: 40.61 kB / 0.5339 GB, free: 108.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002052/1.406, allocations: 2.077 MB / 0.5359 GB, free: 107.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.408, allocations: 0.5602 MB / 0.5364 GB, free: 107 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/1.409, allocations: 95.88 kB / 0.5365 GB, free: 107 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004492/1.409, allocations: 0.5052 MB / 0.537 GB, free: 106.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006793/1.416, allocations: 2.398 MB / 0.5394 GB, free: 106.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009071/1.425, allocations: 5.267 MB / 0.5445 GB, free: 102.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008736/1.434, allocations: 3.431 MB / 0.5479 GB, free: 102.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001078/1.434, allocations: 34.25 kB / 0.5479 GB, free: 102.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03478/1.469, allocations: 9.431 MB / 0.5571 GB, free: 100.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/1.469, allocations: 49.09 kB / 0.5571 GB, free: 100.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02044/1.489, allocations: 4.672 MB / 0.5617 GB, free: 99.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/1.506, allocations: 2.348 MB / 0.564 GB, free: 99.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007526/1.513, allocations: 1.162 MB / 0.5651 GB, free: 99.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/1.526, allocations: 8.283 MB / 0.5732 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008502/1.534, allocations: 0.5656 MB / 0.5738 GB, free: 93.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.536, allocations: 302.2 kB / 0.5741 GB, free: 93.06 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.004671/1.54, allocations: 1.41 MB / 0.5754 GB, free: 92.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009628/1.541, allocations: 253.5 kB / 0.5757 GB, free: 92.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001705/1.543, allocations: 419.6 kB / 0.5761 GB, free: 91.99 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02025/1.563, allocations: 4.578 MB / 0.5806 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-05/1.564, allocations: 3.812 kB / 0.5806 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.729e-05/1.564, allocations: 6.844 kB / 0.5806 GB, free: 90.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01518/1.579, allocations: 5.347 MB / 0.5858 GB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.292e-05/1.579, allocations: 0 / 0.5858 GB, free: 87.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003078/1.582, allocations: 285.3 kB / 0.5861 GB, free: 87.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01547/1.597, allocations: 2.373 MB / 0.5884 GB, free: 86.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006502/1.598, allocations: 44.98 kB / 0.5884 GB, free: 86.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01365/1.612, allocations: 9.012 MB / 0.5972 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002127/1.614, allocations: 2.914 MB / 0.6001 GB, free: 74.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02619/1.64, allocations: 8.046 MB / 0.6079 GB, free: 68.01 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.641, allocations: 337.6 kB / 0.6082 GB, free: 67.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001371/1.643, allocations: 31.98 kB / 0.6083 GB, free: 67.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004376/1.647, allocations: 267.5 kB / 0.6085 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009017/1.648, allocations: 104.8 kB / 0.6086 GB, free: 67.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002512/1.648, allocations: 47.95 kB / 0.6087 GB, free: 67.22 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005024/1.653, allocations: 1.902 MB / 0.6105 GB, free: 65.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.263e-06/1.653, allocations: 0 / 0.6105 GB, free: 65.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006309/1.66, allocations: 0.9337 MB / 0.6114 GB, free: 64.38 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.0008774/1.661, allocations: 175.9 kB / 0.6116 GB, free: 64.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01787/1.679, allocations: 6.79 MB / 0.6182 GB, free: 57.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/1.679, allocations: 0 / 0.6182 GB, free: 57.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0103/1.689, allocations: 3.416 MB / 0.6216 GB, free: 53.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003028/1.692, allocations: 283.2 kB / 0.6219 GB, free: 53.47 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02456/1.717, allocations: 9.531 MB / 0.6312 GB, free: 44.01 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/1.721, allocations: 2.349 MB / 0.6335 GB, free: 41.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007185/1.728, allocations: 1.624 MB / 0.635 GB, free: 40.02 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001511/1.729, allocations: 191.4 kB / 0.6352 GB, free: 39.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/1.729, allocations: 0 / 0.6352 GB, free: 39.83 MB / 410.7 MB Notification: Performance of Templates: time 0.1034/1.833, allocations: 36.05 MB / 0.6704 GB, free: 4.062 MB / 410.7 MB