Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) 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 2.055/2.055, allocations: 194.9 MB / 211.7 MB, free: 2.984 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003638, allocations: 8 kB / 263.9 MB, free: 13.56 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08514/0.08553, allocations: 44.52 MB / 308.5 MB, free: 0.9766 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3821/0.4677, allocations: 81.4 MB / 389.9 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.468, allocations: 89.7 kB / 390 MB, free: 18.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2217/0.6897, allocations: 59.17 MB / 449.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.763e-06/0.6898, allocations: 0 / 449.1 MB, free: 7.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001453/0.6899, allocations: 48 kB / 449.2 MB, free: 7.465 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.01975/0.7097, allocations: 3.601 MB / 452.8 MB, free: 3.984 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.7098, allocations: 8.031 kB / 452.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01502/0.7248, allocations: 2.351 MB / 455.1 MB, free: 1.648 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01661/0.7415, allocations: 4.858 MB / 460 MB, free: 13.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003278/0.7418, allocations: 168.9 kB / 460.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001512/0.7434, allocations: 240.3 kB / 460.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/0.7692, allocations: 8.574 MB / 469 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001617/0.7694, allocations: 55.45 kB / 469 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009761/0.7704, allocations: 119.9 kB / 469.1 MB, free: 3.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001575/0.772, allocations: 0.726 MB / 469.9 MB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02687/0.7989, allocations: 9.666 MB / 479.5 MB, free: 9.484 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05566/0.8546, allocations: 37.73 MB / 0.5051 GB, free: 2.516 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01612/0.8707, allocations: 4.044 MB / 0.5091 GB, free: 14.31 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001385/0.8709, allocations: 16 kB / 0.5091 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.109e-05/0.871, allocations: 54.48 kB / 0.5091 GB, free: 14.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 6.039e-06/0.871, allocations: 0 / 0.5091 GB, free: 14.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=136): time 0.285/1.156, allocations: 17.72 MB / 0.5264 GB, free: 112.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002195/1.158, allocations: 3.077 MB / 0.5295 GB, free: 110 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/1.165, allocations: 2.706 MB / 0.5321 GB, free: 109.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004322/1.165, allocations: 40.81 kB / 0.5321 GB, free: 109.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001552/1.167, allocations: 2.056 MB / 0.5341 GB, free: 108.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009795/1.168, allocations: 0.5595 MB / 0.5347 GB, free: 108.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006374/1.169, allocations: 93.84 kB / 0.5348 GB, free: 108.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004098/1.169, allocations: 0.5149 MB / 0.5353 GB, free: 108.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005637/1.175, allocations: 2.389 MB / 0.5376 GB, free: 108.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00752/1.182, allocations: 5.268 MB / 0.5428 GB, free: 104.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007493/1.19, allocations: 3.431 MB / 0.5461 GB, free: 104.4 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001444/1.19, allocations: 30.91 kB / 0.5461 GB, free: 104.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.02703/1.217, allocations: 9.362 MB / 0.5553 GB, free: 103 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/1.217, allocations: 47.84 kB / 0.5553 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01452/1.232, allocations: 4.671 MB / 0.5599 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/1.243, allocations: 2.352 MB / 0.5622 GB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005272/1.248, allocations: 1.165 MB / 0.5633 GB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/1.258, allocations: 8.276 MB / 0.5714 GB, free: 95.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006786/1.265, allocations: 0.5677 MB / 0.572 GB, free: 95.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00133/1.266, allocations: 301.5 kB / 0.5722 GB, free: 95.29 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.003927/1.27, allocations: 1.406 MB / 0.5736 GB, free: 94.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000829/1.271, allocations: 256.7 kB / 0.5739 GB, free: 94.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001206/1.272, allocations: 414.2 kB / 0.5743 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01415/1.286, allocations: 4.583 MB / 0.5787 GB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.503e-05/1.286, allocations: 8.75 kB / 0.5787 GB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.929e-05/1.286, allocations: 3.938 kB / 0.5787 GB, free: 93.13 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01237/1.299, allocations: 5.344 MB / 0.584 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-05/1.299, allocations: 0 / 0.584 GB, free: 91.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/1.301, allocations: 281.7 kB / 0.5842 GB, free: 91.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01139/1.313, allocations: 2.379 MB / 0.5866 GB, free: 90.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005461/1.313, allocations: 41.31 kB / 0.5866 GB, free: 90.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/1.324, allocations: 9.004 MB / 0.5954 GB, free: 83.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001815/1.326, allocations: 2.916 MB / 0.5982 GB, free: 80.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01843/1.344, allocations: 8.134 MB / 0.6062 GB, free: 73.45 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/1.345, allocations: 331.1 kB / 0.6065 GB, free: 73.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007713/1.346, allocations: 36.83 kB / 0.6065 GB, free: 73.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.349, allocations: 262.9 kB / 0.6068 GB, free: 72.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007048/1.349, allocations: 109.4 kB / 0.6069 GB, free: 72.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/1.35, allocations: 48.66 kB / 0.6069 GB, free: 72.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004271/1.354, allocations: 1.902 MB / 0.6088 GB, free: 71.29 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.06e-06/1.354, allocations: 0 / 0.6088 GB, free: 71.29 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005869/1.36, allocations: 0.9399 MB / 0.6097 GB, free: 70.36 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.0007115/1.361, allocations: 167.8 kB / 0.6099 GB, free: 70.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01375/1.374, allocations: 6.797 MB / 0.6165 GB, free: 63.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.374, allocations: 0 / 0.6165 GB, free: 63.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007366/1.382, allocations: 3.432 MB / 0.6199 GB, free: 59.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002418/1.384, allocations: 285.3 kB / 0.6201 GB, free: 59.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0198/1.404, allocations: 9.788 MB / 0.6297 GB, free: 49.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003459/1.408, allocations: 2.349 MB / 0.632 GB, free: 47.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/1.409, allocations: 227.3 kB / 0.6322 GB, free: 47.12 MB / 410.7 MB Notification: Performance of SimCode: time 2.261e-06/1.409, allocations: 0 / 0.6322 GB, free: 47.12 MB / 410.7 MB Notification: Performance of Templates: time 0.4038/1.813, allocations: 132 MB / 0.7611 GB, free: 57.03 MB / 410.7 MB