Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.658/1.658, allocations: 171.1 MB / 187.3 MB, free: 1.148 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003395, allocations: 16 kB / 233.8 MB, free: 3.074 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.084/0.08436, allocations: 38.76 MB / 272.5 MB, free: 12.23 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3627/0.4471, allocations: 75.77 MB / 348.3 MB, free: 14.31 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.4475, allocations: 87.33 kB / 348.4 MB, free: 14.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2982/0.7457, allocations: 59.86 MB / 408.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.7458, allocations: 0 / 408.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.00018/0.746, allocations: 51.94 kB / 408.3 MB, free: 8.004 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.02925/0.7752, allocations: 3.592 MB / 411.9 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.7753, allocations: 8.031 kB / 411.9 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02098/0.7963, allocations: 2.317 MB / 414.2 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02061/0.8169, allocations: 4.859 MB / 419.1 MB, free: 13.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/0.8173, allocations: 168.4 kB / 419.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001765/0.8191, allocations: 231.8 kB / 419.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03218/0.8513, allocations: 8.599 MB / 428.1 MB, free: 3.254 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002104/0.8516, allocations: 51.47 kB / 428.1 MB, free: 3.203 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001262/0.8529, allocations: 119.9 kB / 428.3 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002061/0.8549, allocations: 0.726 MB / 429 MB, free: 2.359 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2955/1.15, allocations: 9.66 MB / 438.6 MB, free: 82.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05375/1.204, allocations: 37.73 MB / 476.4 MB, free: 58.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0202/1.225, allocations: 4.032 MB / 480.4 MB, free: 56.73 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001849/1.225, allocations: 7.469 kB / 480.4 MB, free: 56.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.225, allocations: 46.22 kB / 480.5 MB, free: 56.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 6.062e-06/1.225, allocations: 3.891 kB / 480.5 MB, free: 56.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.07908/1.304, allocations: 17.74 MB / 498.2 MB, free: 50.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002419/1.306, allocations: 3.079 MB / 0.4895 GB, free: 47.66 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006639/1.313, allocations: 3.011 MB / 0.4925 GB, free: 46.64 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006395/1.314, allocations: 43.86 kB / 0.4925 GB, free: 46.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001717/1.316, allocations: 2.051 MB / 0.4945 GB, free: 45.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001125/1.317, allocations: 0.5624 MB / 0.4951 GB, free: 44.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005411/1.317, allocations: 96.06 kB / 0.4952 GB, free: 44.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002909/1.318, allocations: 0.5164 MB / 0.4957 GB, free: 44.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006444/1.324, allocations: 2.382 MB / 0.498 GB, free: 43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008375/1.332, allocations: 5.281 MB / 0.5031 GB, free: 36.85 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008485/1.341, allocations: 3.427 MB / 0.5065 GB, free: 33.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.341, allocations: 28 kB / 0.5065 GB, free: 33.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03262/1.374, allocations: 9.151 MB / 0.5155 GB, free: 26.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/1.374, allocations: 48.19 kB / 0.5155 GB, free: 26.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01909/1.393, allocations: 4.516 MB / 0.5199 GB, free: 21.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/1.408, allocations: 2.185 MB / 0.522 GB, free: 19.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007973/1.416, allocations: 1.193 MB / 0.5232 GB, free: 18.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008772/1.424, allocations: 7.43 MB / 0.5305 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008509/1.433, allocations: 0.5704 MB / 0.531 GB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001349/1.434, allocations: 301.7 kB / 0.5313 GB, free: 9.625 MB / 346.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 (581): * Single equations (assignments): 566 * 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.00381/1.438, allocations: 1.407 MB / 0.5327 GB, free: 8.207 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/1.439, allocations: 256.1 kB / 0.5329 GB, free: 7.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/1.441, allocations: 419.2 kB / 0.5333 GB, free: 7.543 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0196/1.46, allocations: 4.589 MB / 0.5378 GB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.639e-05/1.46, allocations: 4 kB / 0.5378 GB, free: 2.914 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/1.46, allocations: 7.984 kB / 0.5378 GB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01495/1.475, allocations: 5.324 MB / 0.543 GB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.667e-05/1.476, allocations: 4 kB / 0.543 GB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003228/1.479, allocations: 283.5 kB / 0.5433 GB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01651/1.495, allocations: 2.37 MB / 0.5456 GB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006865/1.496, allocations: 45.67 kB / 0.5457 GB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01664/1.513, allocations: 9.007 MB / 0.5544 GB, free: 1.301 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2452/1.758, allocations: 2.902 MB / 0.5573 GB, free: 87.59 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02998/1.788, allocations: 8.058 MB / 0.5651 GB, free: 87.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001004/1.789, allocations: 331.8 kB / 0.5655 GB, free: 86.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001467/1.79, allocations: 36.45 kB / 0.5655 GB, free: 86.95 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004721/1.795, allocations: 267.3 kB / 0.5658 GB, free: 86.95 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008748/1.796, allocations: 101.9 kB / 0.5659 GB, free: 86.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000265/1.796, allocations: 49.97 kB / 0.5659 GB, free: 86.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00611/1.803, allocations: 1.902 MB / 0.5678 GB, free: 86.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.01e-07/1.803, allocations: 0 / 0.5678 GB, free: 86.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006779/1.809, allocations: 0.9316 MB / 0.5687 GB, free: 86.81 MB / 362.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.0009429/1.81, allocations: 174.1 kB / 0.5688 GB, free: 86.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01828/1.829, allocations: 6.533 MB / 0.5752 GB, free: 86.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.428e-06/1.829, allocations: 0 / 0.5752 GB, free: 86.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0105/1.839, allocations: 3.42 MB / 0.5786 GB, free: 85.2 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003079/1.842, allocations: 282.5 kB / 0.5788 GB, free: 85.18 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.025/1.867, allocations: 9.804 MB / 0.5884 GB, free: 81.86 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003988/1.871, allocations: 2.347 MB / 0.5907 GB, free: 81.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/1.873, allocations: 224.2 kB / 0.5909 GB, free: 81.11 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/1.873, allocations: 0 / 0.5909 GB, free: 81.11 MB / 362.7 MB Notification: Performance of Templates: time 0.459/2.332, allocations: 131.6 MB / 0.7194 GB, free: 85.85 MB / 362.7 MB