Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.684/1.684, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005034/0.0005034, allocations: 8 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08583/0.08639, allocations: 38.78 MB / 272.1 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4558, allocations: 75.78 MB / 347.9 MB, free: 13.27 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003893/0.4562, allocations: 87.77 kB / 348 MB, free: 13.22 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2941/0.7504, allocations: 59.01 MB / 407 MB, free: 8.035 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.317e-06/0.7504, allocations: 0 / 407 MB, free: 8.035 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001438/0.7506, allocations: 40 kB / 407.1 MB, free: 7.996 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.02883/0.7794, allocations: 3.6 MB / 410.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.7795, allocations: 20.02 kB / 410.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002523/0.782, allocations: 485.2 kB / 411.1 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/0.803, allocations: 2.317 MB / 413.5 MB, free: 1.504 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/0.8233, allocations: 4.851 MB / 418.3 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003154/0.8236, allocations: 164.4 kB / 418.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001725/0.8254, allocations: 247.7 kB / 418.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03277/0.8582, allocations: 8.572 MB / 427.3 MB, free: 2.766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002916/0.8585, allocations: 63.39 kB / 427.3 MB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001807/0.8604, allocations: 115.9 kB / 427.5 MB, free: 2.594 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003018/0.8635, allocations: 0.726 MB / 428.2 MB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3119/1.175, allocations: 9.652 MB / 437.8 MB, free: 82.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05411/1.23, allocations: 37.74 MB / 475.6 MB, free: 57.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.25, allocations: 4.041 MB / 479.6 MB, free: 56.53 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001732/1.25, allocations: 7.844 kB / 479.6 MB, free: 56.53 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/1.25, allocations: 48.22 kB / 479.7 MB, free: 56.48 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.56e-06/1.25, allocations: 0 / 479.7 MB, free: 56.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=136): time 0.0776/1.328, allocations: 17.74 MB / 497.4 MB, free: 50.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002495/1.33, allocations: 3.075 MB / 0.4888 GB, free: 47.47 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006636/1.337, allocations: 2.697 MB / 0.4914 GB, free: 46.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006417/1.338, allocations: 57.83 kB / 0.4914 GB, free: 46.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001891/1.34, allocations: 2.068 MB / 0.4935 GB, free: 45.05 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.341, allocations: 0.5637 MB / 0.494 GB, free: 44.65 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006595/1.342, allocations: 100.3 kB / 0.4941 GB, free: 44.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00034/1.342, allocations: 0.5038 MB / 0.4946 GB, free: 44.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006211/1.348, allocations: 2.389 MB / 0.4969 GB, free: 42.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008122/1.356, allocations: 5.258 MB / 0.5021 GB, free: 36.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008156/1.365, allocations: 3.426 MB / 0.5054 GB, free: 33.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.185e-05/1.365, allocations: 28 kB / 0.5054 GB, free: 33.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.03223/1.397, allocations: 9.233 MB / 0.5145 GB, free: 26.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.402e-05/1.397, allocations: 48 kB / 0.5145 GB, free: 25.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01881/1.416, allocations: 4.512 MB / 0.5189 GB, free: 21.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01455/1.43, allocations: 2.189 MB / 0.521 GB, free: 19.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007982/1.439, allocations: 1.189 MB / 0.5222 GB, free: 18.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008948/1.448, allocations: 7.453 MB / 0.5295 GB, free: 10.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008144/1.456, allocations: 0.5659 MB / 0.53 GB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001338/1.457, allocations: 304.9 kB / 0.5303 GB, free: 9.262 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.004345/1.461, allocations: 1.414 MB / 0.5317 GB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009034/1.462, allocations: 252.7 kB / 0.532 GB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001638/1.464, allocations: 415.2 kB / 0.5324 GB, free: 7.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01997/1.484, allocations: 4.589 MB / 0.5368 GB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-05/1.484, allocations: 8 kB / 0.5368 GB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.991e-05/1.484, allocations: 11.97 kB / 0.5369 GB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01689/1.501, allocations: 5.316 MB / 0.542 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.533e-05/1.501, allocations: 1.641 kB / 0.542 GB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003314/1.504, allocations: 284.1 kB / 0.5423 GB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0168/1.521, allocations: 2.374 MB / 0.5446 GB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000726/1.522, allocations: 45.75 kB / 0.5447 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0167/1.539, allocations: 9 MB / 0.5535 GB, free: 0.9375 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2538/1.793, allocations: 2.904 MB / 0.5563 GB, free: 87.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03296/1.826, allocations: 8.137 MB / 0.5642 GB, free: 86.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.827, allocations: 337.5 kB / 0.5646 GB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/1.828, allocations: 31.44 kB / 0.5646 GB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004255/1.832, allocations: 268 kB / 0.5649 GB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007144/1.833, allocations: 110.2 kB / 0.565 GB, free: 86.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002585/1.833, allocations: 45.88 kB / 0.565 GB, free: 86.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.005441/1.839, allocations: 1.9 MB / 0.5669 GB, free: 86.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.092e-06/1.839, allocations: 0 / 0.5669 GB, free: 86.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006536/1.845, allocations: 0.9303 MB / 0.5678 GB, free: 86.45 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.02856/1.874, allocations: 9.026 MB / 0.5766 GB, free: 85.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01794/1.892, allocations: 6.516 MB / 0.5829 GB, free: 84.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.892, allocations: 0 / 0.5829 GB, free: 84.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0105/1.903, allocations: 3.422 MB / 0.5863 GB, free: 83.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/1.906, allocations: 274.4 kB / 0.5866 GB, free: 83.19 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09927/2.005, allocations: 100 MB / 0.6842 GB, free: 10.87 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003989/2.009, allocations: 2.351 MB / 0.6865 GB, free: 9.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.007464/2.017, allocations: 1.627 MB / 0.6881 GB, free: 7.961 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00346/2.02, allocations: 1.152 MB / 0.6892 GB, free: 6.91 MB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/2.02, allocations: 0 / 0.6892 GB, free: 6.91 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4051/2.425, allocations: 65.14 MB / 0.7528 GB, free: 87.38 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/2.426, allocations: 222 kB / 0.753 GB, free: 87.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.761/7.186, allocations: 0 / 0.753 GB, free: 87.14 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat