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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 194.9 MB / 211.1 MB, free: 8.551 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003982, allocations: 16 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3493, allocations: 44.51 MB / 308.6 MB, free: 12.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1534/0.5027, allocations: 81.41 MB / 390 MB, free: 11.13 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003387/0.5031, allocations: 87.95 kB / 390.1 MB, free: 11.05 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5669/1.07, allocations: 59.17 MB / 449.2 MB, free: 74.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.07, allocations: 0 / 449.2 MB, free: 74.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001548/1.07, allocations: 40 kB / 449.3 MB, free: 74.8 MB / 346.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.03617/1.106, allocations: 3.612 MB / 452.9 MB, free: 71.15 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.099e-05/1.107, allocations: 12.03 kB / 452.9 MB, free: 71.14 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00265/1.109, allocations: 489.3 kB / 453.4 MB, free: 70.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03016/1.139, allocations: 2.34 MB / 455.7 MB, free: 68.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/1.168, allocations: 4.869 MB / 460.6 MB, free: 63.47 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003735/1.169, allocations: 183 kB / 460.8 MB, free: 63.31 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002135/1.171, allocations: 228.8 kB / 461 MB, free: 63.09 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0426/1.213, allocations: 8.576 MB / 469.6 MB, free: 53.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002774/1.214, allocations: 55.47 kB / 469.6 MB, free: 53.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001913/1.216, allocations: 115.9 kB / 469.7 MB, free: 53.49 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002818/1.219, allocations: 0.7299 MB / 470.5 MB, free: 52.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04637/1.265, allocations: 9.662 MB / 480.1 MB, free: 43.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07386/1.339, allocations: 37.74 MB / 0.5057 GB, free: 4.109 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0291/1.368, allocations: 4.04 MB / 0.5097 GB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002232/1.368, allocations: 12 kB / 0.5097 GB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.439e-05/1.369, allocations: 42.56 kB / 0.5097 GB, free: 15.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 7.293e-06/1.369, allocations: 4 kB / 0.5097 GB, free: 15.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=136): time 0.1184/1.487, allocations: 17.73 MB / 0.5271 GB, free: 13.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00342/1.491, allocations: 3.074 MB / 0.5301 GB, free: 10.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007538/1.498, allocations: 2.704 MB / 0.5327 GB, free: 7.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006107/1.499, allocations: 45.7 kB / 0.5327 GB, free: 7.598 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002603/1.501, allocations: 2.08 MB / 0.5348 GB, free: 5.488 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001392/1.503, allocations: 0.5595 MB / 0.5353 GB, free: 4.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007314/1.504, allocations: 95.98 kB / 0.5354 GB, free: 4.828 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004324/1.504, allocations: 0.5045 MB / 0.5359 GB, free: 4.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007258/1.511, allocations: 2.391 MB / 0.5382 GB, free: 1.918 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01046/1.522, allocations: 5.27 MB / 0.5434 GB, free: 11.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/1.532, allocations: 3.434 MB / 0.5467 GB, free: 7.762 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.56e-05/1.532, allocations: 32 kB / 0.5468 GB, free: 7.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.3054/1.837, allocations: 9.427 MB / 0.556 GB, free: 107 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.857e-05/1.837, allocations: 47.53 kB / 0.556 GB, free: 107 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02086/1.858, allocations: 4.664 MB / 0.5606 GB, free: 106.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01646/1.875, allocations: 2.351 MB / 0.5629 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007517/1.882, allocations: 1.164 MB / 0.564 GB, free: 106.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/1.895, allocations: 8.278 MB / 0.5721 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008253/1.903, allocations: 0.5728 MB / 0.5726 GB, free: 101.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001464/1.904, allocations: 298.8 kB / 0.5729 GB, free: 101.7 MB / 394.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.004092/1.908, allocations: 1.403 MB / 0.5743 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008101/1.909, allocations: 257 kB / 0.5745 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.911, allocations: 414.6 kB / 0.5749 GB, free: 101.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02909/1.94, allocations: 4.588 MB / 0.5794 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-05/1.94, allocations: 3.156 kB / 0.5794 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.035e-05/1.94, allocations: 7.078 kB / 0.5794 GB, free: 101.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02019/1.96, allocations: 5.344 MB / 0.5846 GB, free: 99.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.774e-05/1.96, allocations: 0 / 0.5846 GB, free: 99.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004288/1.965, allocations: 281.8 kB / 0.5849 GB, free: 99.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0225/1.987, allocations: 2.372 MB / 0.5872 GB, free: 99.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008474/1.988, allocations: 43.83 kB / 0.5873 GB, free: 99.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/2.005, allocations: 9.001 MB / 0.5961 GB, free: 93.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00218/2.008, allocations: 2.913 MB / 0.5989 GB, free: 90.46 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/2.035, allocations: 8.135 MB / 0.6069 GB, free: 85.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/2.036, allocations: 337.4 kB / 0.6072 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009458/2.037, allocations: 35.75 kB / 0.6072 GB, free: 84.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004043/2.041, allocations: 270.7 kB / 0.6075 GB, free: 84.71 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006932/2.042, allocations: 102.3 kB / 0.6076 GB, free: 84.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002446/2.042, allocations: 41.33 kB / 0.6076 GB, free: 84.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.004857/2.047, allocations: 1.904 MB / 0.6095 GB, free: 83.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.91e-07/2.047, allocations: 0 / 0.6095 GB, free: 83.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.006182/2.053, allocations: 0.9352 MB / 0.6104 GB, free: 82.14 MB / 394.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.02661/2.08, allocations: 9.033 MB / 0.6192 GB, free: 73.23 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01769/2.098, allocations: 6.801 MB / 0.6258 GB, free: 66.46 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/2.098, allocations: 0 / 0.6258 GB, free: 66.46 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01/2.108, allocations: 3.412 MB / 0.6292 GB, free: 62.93 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/2.111, allocations: 286.5 kB / 0.6294 GB, free: 62.65 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3868/2.498, allocations: 100.2 MB / 0.7273 GB, free: 111.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003839/2.501, allocations: 2.338 MB / 0.7296 GB, free: 110.4 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007257/2.509, allocations: 1.626 MB / 0.7312 GB, free: 110.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003155/2.512, allocations: 1.154 MB / 0.7323 GB, free: 110.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.152e-06/2.512, allocations: 0 / 0.7323 GB, free: 110.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.219/2.731, allocations: 66.37 MB / 0.7971 GB, free: 55.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/2.731, allocations: 222.4 kB / 0.7973 GB, free: 55.56 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.136/7.867, allocations: 0 / 0.7973 GB, free: 55.56 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat