Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT.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.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.188/2.188, allocations: 194.9 MB / 211.1 MB, free: 8.566 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.000358, allocations: 8 kB / 264.1 MB, free: 3.469 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2975, allocations: 44.51 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.75/9.047, allocations: 2.901 GB / 3.203 GB, free: 84.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004103/9.048, allocations: 95.33 kB / 3.203 GB, free: 84.13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.618/13.67, allocations: 0.9808 GB / 4.184 GB, free: 55.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.313e-06/13.67, allocations: 0 / 4.184 GB, free: 55.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.263e-05/13.67, allocations: 10.33 kB / 4.184 GB, free: 55.52 MB / 410.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.005133/13.67, allocations: 1.225 MB / 4.185 GB, free: 54.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/13.67, allocations: 9.25 kB / 4.185 GB, free: 54.89 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/13.67, allocations: 66.19 kB / 4.185 GB, free: 54.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003288/13.67, allocations: 43.08 kB / 4.185 GB, free: 54.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000414/13.67, allocations: 277.6 kB / 4.185 GB, free: 54.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/13.67, allocations: 19.81 kB / 4.185 GB, free: 54.63 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.126e-05/13.67, allocations: 28.78 kB / 4.185 GB, free: 54.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006136/13.67, allocations: 295.3 kB / 4.185 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/13.67, allocations: 3.188 kB / 4.185 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.945e-05/13.67, allocations: 11.41 kB / 4.185 GB, free: 54.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/13.67, allocations: 7.547 kB / 4.185 GB, free: 54.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/13.67, allocations: 198.6 kB / 4.186 GB, free: 54.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001997/13.68, allocations: 1.438 MB / 4.187 GB, free: 53.5 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/13.68, allocations: 169.5 kB / 4.187 GB, free: 53.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/13.68, allocations: 3.031 kB / 4.187 GB, free: 53.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/13.68, allocations: 47.48 kB / 4.187 GB, free: 53.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.337e-06/13.68, allocations: 0 / 4.187 GB, free: 53.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003595/13.68, allocations: 1.011 MB / 4.188 GB, free: 53.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/13.68, allocations: 55.25 kB / 4.188 GB, free: 52.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/13.68, allocations: 232.5 kB / 4.189 GB, free: 52.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.232e-05/13.68, allocations: 28.64 kB / 4.189 GB, free: 52.82 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/13.68, allocations: 180.1 kB / 4.189 GB, free: 52.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.211e-05/13.68, allocations: 93.73 kB / 4.189 GB, free: 52.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/13.68, allocations: 11.44 kB / 4.189 GB, free: 52.64 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.047e-05/13.68, allocations: 337.7 kB / 4.189 GB, free: 52.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002129/13.68, allocations: 82.75 kB / 4.189 GB, free: 52.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/13.68, allocations: 175.6 kB / 4.189 GB, free: 52.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/13.68, allocations: 111.5 kB / 4.19 GB, free: 52.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/13.68, allocations: 0 / 4.19 GB, free: 52.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009604/13.68, allocations: 387.4 kB / 4.19 GB, free: 52.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/13.68, allocations: 11.42 kB / 4.19 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/13.68, allocations: 0 / 4.19 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003977/13.68, allocations: 62.28 kB / 4.19 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005187/13.68, allocations: 67.38 kB / 4.19 GB, free: 52.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/13.69, allocations: 2.684 MB / 4.193 GB, free: 49.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/13.69, allocations: 22.61 kB / 4.193 GB, free: 49.63 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-05/13.69, allocations: 17.56 kB / 4.193 GB, free: 49.63 MB / 410.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.0002181/13.69, allocations: 160.7 kB / 4.193 GB, free: 49.51 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.593e-05/13.69, allocations: 28.91 kB / 4.193 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.16e-05/13.69, allocations: 35.97 kB / 4.193 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/13.69, allocations: 3.875 kB / 4.193 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/13.69, allocations: 0 / 4.193 GB, free: 49.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007841/13.69, allocations: 0.5621 MB / 4.193 GB, free: 49.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001408/13.69, allocations: 0.7007 MB / 4.194 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/13.69, allocations: 0 / 4.194 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/13.69, allocations: 49.17 kB / 4.194 GB, free: 48.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004529/13.69, allocations: 52.95 kB / 4.194 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.942e-05/13.69, allocations: 14.09 kB / 4.194 GB, free: 48.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/13.69, allocations: 1.396 MB / 4.196 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/13.69, allocations: 2.875 kB / 4.196 GB, free: 47.46 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001071/13.69, allocations: 482.9 kB / 4.196 GB, free: 47.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/13.69, allocations: 96.52 kB / 4.196 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/13.69, allocations: 9.422 kB / 4.196 GB, free: 47.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003783/13.69, allocations: 18.58 kB / 4.196 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.937e-05/13.69, allocations: 19.48 kB / 4.196 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/13.69, allocations: 15.41 kB / 4.196 GB, free: 47.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002409/13.69, allocations: 182.3 kB / 4.196 GB, free: 47.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.6e-07/13.69, allocations: 0 / 4.196 GB, free: 47.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007765/13.69, allocations: 118.5 kB / 4.197 GB, free: 47.09 MB / 410.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.001644/13.7, allocations: 1.27 MB / 4.198 GB, free: 46.29 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/13.7, allocations: 479.8 kB / 4.198 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/13.7, allocations: 0 / 4.198 GB, free: 46.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005209/13.7, allocations: 229.4 kB / 4.198 GB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001482/13.7, allocations: 156.3 kB / 4.199 GB, free: 45.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/13.7, allocations: 3.664 MB / 4.202 GB, free: 43.39 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/13.7, allocations: 0.7729 MB / 4.203 GB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005378/13.7, allocations: 52.31 kB / 4.203 GB, free: 42.69 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/13.7, allocations: 91.12 kB / 4.203 GB, free: 42.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/13.7, allocations: 0 / 4.203 GB, free: 42.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03978/13.74, allocations: 11.59 MB / 4.214 GB, free: 42 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002301/13.74, allocations: 230 kB / 4.215 GB, free: 41.76 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.175/16.92, allocations: 0 / 4.215 GB, free: 41.76 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat