Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.908/1.908, allocations: 171.1 MB / 186.1 MB, free: 1.133 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004969, allocations: 15.94 kB / 233.4 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1211, allocations: 38.77 MB / 272.1 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.542/8.663, allocations: 2.791 GB / 3.057 GB, free: 8.375 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/8.664, allocations: 84.2 kB / 3.057 GB, free: 8.328 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.665/13.33, allocations: 0.949 GB / 4.006 GB, free: 34.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.552e-06/13.33, allocations: 3 kB / 4.006 GB, free: 34.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.243e-05/13.33, allocations: 12 kB / 4.006 GB, free: 34.09 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.005382/13.33, allocations: 1.224 MB / 4.007 GB, free: 33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/13.33, allocations: 11.97 kB / 4.007 GB, free: 32.98 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/13.33, allocations: 61.5 kB / 4.007 GB, free: 32.92 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/13.33, allocations: 47.05 kB / 4.007 GB, free: 32.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004649/13.33, allocations: 281.6 kB / 4.008 GB, free: 32.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/13.33, allocations: 16.56 kB / 4.008 GB, free: 32.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.048e-05/13.33, allocations: 24 kB / 4.008 GB, free: 32.55 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/13.34, allocations: 303.2 kB / 4.008 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/13.34, allocations: 4 kB / 4.008 GB, free: 32.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.066e-05/13.34, allocations: 12 kB / 4.008 GB, free: 32.26 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/13.34, allocations: 4 kB / 4.008 GB, free: 32.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004562/13.34, allocations: 199.6 kB / 4.008 GB, free: 32.08 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002136/13.34, allocations: 1.429 MB / 4.01 GB, free: 30.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/13.34, allocations: 176.3 kB / 4.01 GB, free: 30.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/13.34, allocations: 4.188 kB / 4.01 GB, free: 30.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/13.34, allocations: 42.64 kB / 4.01 GB, free: 30.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.535e-06/13.34, allocations: 4 kB / 4.01 GB, free: 30.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003735/13.34, allocations: 0.9966 MB / 4.011 GB, free: 29.47 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.095e-05/13.34, allocations: 55.41 kB / 4.011 GB, free: 29.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/13.34, allocations: 229.2 kB / 4.011 GB, free: 29.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.047e-05/13.34, allocations: 33.7 kB / 4.011 GB, free: 29.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/13.34, allocations: 175.8 kB / 4.011 GB, free: 28.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.81e-05/13.34, allocations: 101 kB / 4.011 GB, free: 28.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.35e-05/13.34, allocations: 4 kB / 4.011 GB, free: 28.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/13.34, allocations: 338.6 kB / 4.012 GB, free: 28.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002168/13.34, allocations: 87.56 kB / 4.012 GB, free: 28.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/13.34, allocations: 178.4 kB / 4.012 GB, free: 28.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/13.34, allocations: 108 kB / 4.012 GB, free: 28.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/13.34, allocations: 4 kB / 4.012 GB, free: 28.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001042/13.35, allocations: 385.5 kB / 4.012 GB, free: 27.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/13.35, allocations: 8 kB / 4.012 GB, free: 27.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/13.35, allocations: 0 / 4.012 GB, free: 27.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000415/13.35, allocations: 80.45 kB / 4.012 GB, free: 27.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005102/13.35, allocations: 68.12 kB / 4.013 GB, free: 27.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00243/13.35, allocations: 2.682 MB / 4.015 GB, free: 24.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005146/13.35, allocations: 23.69 kB / 4.015 GB, free: 24.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.241e-05/13.35, allocations: 12 kB / 4.015 GB, free: 24.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002464/13.35, allocations: 161.7 kB / 4.015 GB, free: 24.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/13.35, allocations: 23.72 kB / 4.015 GB, free: 24.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/13.35, allocations: 37.47 kB / 4.015 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/13.35, allocations: 0 / 4.015 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/13.35, allocations: 4 kB / 4.015 GB, free: 24.55 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008358/13.35, allocations: 0.5594 MB / 4.016 GB, free: 23.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/13.35, allocations: 0.7066 MB / 4.017 GB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/13.35, allocations: 3.953 kB / 4.017 GB, free: 23.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003692/13.35, allocations: 51.2 kB / 4.017 GB, free: 23.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004879/13.35, allocations: 55.03 kB / 4.017 GB, free: 23.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.062e-05/13.35, allocations: 10.34 kB / 4.017 GB, free: 23.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001382/13.35, allocations: 1.402 MB / 4.018 GB, free: 21.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/13.35, allocations: 0 / 4.018 GB, free: 21.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/13.36, allocations: 483.1 kB / 4.019 GB, free: 21.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/13.36, allocations: 100.7 kB / 4.019 GB, free: 21.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/13.36, allocations: 8 kB / 4.019 GB, free: 21.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003852/13.36, allocations: 15.52 kB / 4.019 GB, free: 21.08 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.486e-05/13.36, allocations: 15.12 kB / 4.019 GB, free: 21.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.089e-05/13.36, allocations: 11.95 kB / 4.019 GB, free: 21.06 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002486/13.36, allocations: 183.9 kB / 4.019 GB, free: 20.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.51e-07/13.36, allocations: 0 / 4.019 GB, free: 20.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008141/13.36, allocations: 123.6 kB / 4.019 GB, free: 20.78 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001671/13.36, allocations: 1.267 MB / 4.02 GB, free: 19.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/13.36, allocations: 473.4 kB / 4.021 GB, free: 19.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/13.36, allocations: 0 / 4.021 GB, free: 19.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005141/13.36, allocations: 234.2 kB / 4.021 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/13.36, allocations: 158.8 kB / 4.021 GB, free: 18.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004174/13.37, allocations: 3.667 MB / 4.025 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/13.37, allocations: 0.7776 MB / 4.025 GB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005221/13.37, allocations: 56.39 kB / 4.025 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/13.37, allocations: 83.22 kB / 4.026 GB, free: 14.33 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/13.37, allocations: 0 / 4.026 GB, free: 14.33 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04277/13.41, allocations: 11.58 MB / 4.037 GB, free: 6.516 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/13.41, allocations: 237.4 kB / 4.037 GB, free: 6.273 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/16.43, allocations: 0 / 4.037 GB, free: 6.273 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat