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.PointGravityWithPointMasses.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.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.648/1.648, allocations: 171.2 MB / 186.1 MB, free: 1.125 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003806, allocations: 12 kB / 233.4 MB, free: 2.266 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08217/0.08258, allocations: 38.77 MB / 272.1 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4133/0.4959, allocations: 75.33 MB / 347.5 MB, free: 13.64 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/0.4964, allocations: 88.7 kB / 347.5 MB, free: 13.59 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2231/0.7195, allocations: 51.18 MB / 398.7 MB, free: 336 kB / 314.7 MB Notification: Performance of FrontEnd: time 5.7e-06/0.7196, allocations: 0 / 398.7 MB, free: 336 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001289/0.7197, allocations: 55.94 kB / 398.8 MB, free: 280 kB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.009232/0.7289, allocations: 2.482 MB / 401.3 MB, free: 13.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.729, allocations: 8.031 kB / 401.3 MB, free: 13.72 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002531/0.7316, allocations: 0.5605 MB / 401.8 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.7473, allocations: 1.95 MB / 403.8 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005124/0.7525, allocations: 1.396 MB / 405.2 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003003/0.7528, allocations: 221.8 kB / 405.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001689/0.7545, allocations: 303.8 kB / 405.7 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03432/0.7889, allocations: 8.888 MB / 414.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002234/0.7892, allocations: 51.47 kB / 414.6 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001184/0.7904, allocations: 155.9 kB / 414.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002426/0.7928, allocations: 0.7812 MB / 415.6 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/0.8238, allocations: 7.137 MB / 422.7 MB, free: 7.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2877/1.112, allocations: 38.02 MB / 460.7 MB, free: 57.9 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03986/1.152, allocations: 5.235 MB / 466 MB, free: 57.17 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007507/1.159, allocations: 3.357 MB / 469.3 MB, free: 55.63 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.927e-05/1.159, allocations: 51.09 kB / 469.4 MB, free: 55.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=104): time 6.312e-06/1.159, allocations: 0 / 469.4 MB, free: 55.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=104): time 0.08104/1.24, allocations: 9.843 MB / 479.2 MB, free: 54.76 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/1.24, allocations: 209.1 kB / 479.4 MB, free: 54.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006189/1.247, allocations: 2.685 MB / 482.1 MB, free: 54.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002507/1.247, allocations: 36.8 kB / 482.1 MB, free: 54.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002232/1.249, allocations: 2.396 MB / 484.5 MB, free: 52.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007742/1.25, allocations: 483.8 kB / 485 MB, free: 52.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005684/1.251, allocations: 104.6 kB / 485.1 MB, free: 52.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004771/1.251, allocations: 0.5818 MB / 485.7 MB, free: 52.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003883/1.255, allocations: 1.478 MB / 487.2 MB, free: 52.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007397/1.262, allocations: 5.003 MB / 492.2 MB, free: 47.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005985/1.268, allocations: 2.684 MB / 494.8 MB, free: 47.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000115/1.269, allocations: 38.81 kB / 494.9 MB, free: 47.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.016/1.285, allocations: 6.16 MB / 0.4893 GB, free: 45.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/1.285, allocations: 57.25 kB / 0.4894 GB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002038/1.285, allocations: 126 kB / 0.4895 GB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/1.285, allocations: 185.7 kB / 0.4897 GB, free: 45.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01/1.295, allocations: 1.506 MB / 0.4911 GB, free: 45.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000284/1.296, allocations: 248.9 kB / 0.4914 GB, free: 45.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005799/1.301, allocations: 0.7545 MB / 0.4921 GB, free: 44.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/1.303, allocations: 343.7 kB / 0.4924 GB, free: 44.53 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 577 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],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 (671): * Single equations (assignments): 668 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004141/1.307, allocations: 1.554 MB / 0.4939 GB, free: 43.69 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006195/1.307, allocations: 244.8 kB / 0.4942 GB, free: 43.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002237/1.31, allocations: 0.7108 MB / 0.4949 GB, free: 42.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.297e-05/1.31, allocations: 12 kB / 0.4949 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.31, allocations: 0 / 0.4949 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.31, allocations: 7.844 kB / 0.4949 GB, free: 42.82 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006933/1.317, allocations: 2.266 MB / 0.4971 GB, free: 40.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.463e-05/1.317, allocations: 3.938 kB / 0.4971 GB, free: 40.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005154/1.322, allocations: 473.5 kB / 0.4976 GB, free: 40.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.383e-05/1.322, allocations: 4 kB / 0.4976 GB, free: 40.65 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002801/1.322, allocations: 31.73 kB / 0.4976 GB, free: 40.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.225e-05/1.322, allocations: 9.859 kB / 0.4976 GB, free: 40.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.322, allocations: 8 kB / 0.4976 GB, free: 40.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004752/1.327, allocations: 2.583 MB / 0.5001 GB, free: 38.2 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008628/1.328, allocations: 305.5 kB / 0.5004 GB, free: 37.89 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007845/1.329, allocations: 27.84 kB / 0.5005 GB, free: 37.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001918/1.331, allocations: 49.05 kB / 0.5005 GB, free: 37.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002735/1.331, allocations: 57.22 kB / 0.5006 GB, free: 37.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/1.331, allocations: 31.61 kB / 0.5006 GB, free: 37.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00432/1.336, allocations: 1.816 MB / 0.5024 GB, free: 36.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.22e-07/1.336, allocations: 0 / 0.5024 GB, free: 36.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005809/1.342, allocations: 0.8216 MB / 0.5032 GB, free: 35.45 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[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 (81): * Single equations (assignments): 78 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005592/1.347, allocations: 3.542 MB / 0.5066 GB, free: 32.1 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.009056/1.356, allocations: 3.354 MB / 0.5099 GB, free: 29.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/1.356, allocations: 0 / 0.5099 GB, free: 29.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/1.358, allocations: 0.6054 MB / 0.5105 GB, free: 28.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/1.36, allocations: 237.2 kB / 0.5107 GB, free: 28.21 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3078/1.668, allocations: 110.2 MB / 0.6183 GB, free: 33.72 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.673, allocations: 2.416 MB / 0.6206 GB, free: 32.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.00758/1.68, allocations: 1.633 MB / 0.6222 GB, free: 32.95 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00282/1.683, allocations: 1.186 MB / 0.6234 GB, free: 32.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/1.683, allocations: 0 / 0.6234 GB, free: 32.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1159/1.799, allocations: 49.98 MB / 0.6722 GB, free: 7.125 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002955/1.799, allocations: 211.6 kB / 0.6724 GB, free: 6.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.45/6.249, allocations: 0 / 0.6724 GB, free: 6.883 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat