Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 101.7 kB / 17.58 MB, free: 5.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 191.9 kB / 18.51 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.61/2.61, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002581/0.002581, allocations: 56.14 kB / 280.8 MB, free: 3.062 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.1682, allocations: 46.62 MB / 327.4 MB, free: 4.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.731/0.8993, allocations: 173.6 MB / 0.4893 GB, free: 9.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008829/0.9082, allocations: 3.212 MB / 0.4924 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006047/0.9089, allocations: 4 kB / 0.4924 GB, free: 6.047 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001191/0.9102, allocations: 174.9 kB / 0.4926 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001968/0.9122, allocations: 407.5 kB / 0.493 GB, free: 5.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001766/0.914, allocations: 341.6 kB / 0.4933 GB, free: 5.145 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.9161, allocations: 0.8875 MB / 0.4942 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.9165, allocations: 116.6 kB / 0.4943 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004222/0.9208, allocations: 0.7909 MB / 0.495 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.9216, allocations: 266.9 kB / 0.4953 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.9218, allocations: 32 kB / 0.4953 GB, free: 3.059 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008704/0.9227, allocations: 127.9 kB / 0.4954 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.923, allocations: 95.7 kB / 0.4955 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006345/0.9237, allocations: 187.3 kB / 0.4957 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001311/0.925, allocations: 0.5102 MB / 0.4962 GB, free: 2.145 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.925, allocations: 4 kB / 0.4962 GB, free: 2.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.9251, allocations: 0 / 0.4962 GB, free: 2.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.9251, allocations: 3.938 kB / 0.4962 GB, free: 2.137 MB / 398.1 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.002149/0.9273, allocations: 0.597 MB / 0.4968 GB, free: 1.492 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.112e-05/0.9274, allocations: 8.031 kB / 0.4968 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001567/0.9275, allocations: 58.55 kB / 0.4969 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006444/0.9282, allocations: 43.7 kB / 0.4969 GB, free: 1.375 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.929, allocations: 294.3 kB / 0.4972 GB, free: 1.047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.186e-05/0.929, allocations: 20.56 kB / 0.4972 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.9292, allocations: 24 kB / 0.4972 GB, free: 1.004 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/0.9302, allocations: 315.7 kB / 0.4975 GB, free: 0.668 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.9303, allocations: 3.938 kB / 0.4975 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.9304, allocations: 16 kB / 0.4976 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.9304, allocations: 4 kB / 0.4976 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.931, allocations: 205.6 kB / 0.4978 GB, free: 456 kB / 398.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003648/0.9347, allocations: 1.596 MB / 0.4993 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006074/0.9353, allocations: 175.1 kB / 0.4995 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.9356, allocations: 96.77 kB / 0.4996 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.9357, allocations: 4 kB / 0.4996 GB, free: 14.42 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.9358, allocations: 42.56 kB / 0.4996 GB, free: 14.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 5.26e-06/0.9358, allocations: 0 / 0.4996 GB, free: 14.37 MB / 414.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: volume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=27): time 0.01069/0.9465, allocations: 1.622 MB / 0.5012 GB, free: 12.61 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.9466, allocations: 51.41 kB / 0.5012 GB, free: 12.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006927/0.9473, allocations: 252.9 kB / 0.5015 GB, free: 12.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.35e-05/0.9474, allocations: 29.7 kB / 0.5015 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.9477, allocations: 180.2 kB / 0.5017 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001394/0.9478, allocations: 94.66 kB / 0.5018 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002252/0.9481, allocations: 85.38 kB / 0.5019 GB, free: 11.89 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003486/0.9484, allocations: 338.8 kB / 0.5022 GB, free: 11.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003094/0.9488, allocations: 91.95 kB / 0.5023 GB, free: 11.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004473/0.9492, allocations: 187.7 kB / 0.5025 GB, free: 11.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000886/0.9501, allocations: 307.8 kB / 0.5027 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.9502, allocations: 0 / 0.5027 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001445/0.9516, allocations: 399.2 kB / 0.5031 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.355e-05/0.9517, allocations: 4 kB / 0.5031 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.943e-05/0.9517, allocations: 4 kB / 0.5031 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.9522, allocations: 74.08 kB / 0.5032 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007399/0.953, allocations: 87.89 kB / 0.5033 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003167/0.9562, allocations: 1.958 MB / 0.5052 GB, free: 8.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004351/0.9566, allocations: 8 kB / 0.5052 GB, free: 8.188 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.9568, allocations: 43.94 kB / 0.5052 GB, free: 8.145 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003893/0.9572, allocations: 158.8 kB / 0.5054 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001809/0.9574, allocations: 31.62 kB / 0.5054 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.9593, allocations: 437.6 kB / 0.5058 GB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.9593, allocations: 4 kB / 0.5059 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.9594, allocations: 0 / 0.5059 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009707/0.9603, allocations: 0.563 MB / 0.5064 GB, free: 6.848 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001961/0.9623, allocations: 0.7427 MB / 0.5071 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.9623, allocations: 0 / 0.5071 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.9629, allocations: 71.89 kB / 0.5072 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.9632, allocations: 20.84 kB / 0.5072 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.7e-05/0.9632, allocations: 8 kB / 0.5072 GB, free: 5.938 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001725/0.965, allocations: 1.382 MB / 0.5086 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.965, allocations: 4.156 kB / 0.5086 GB, free: 4.41 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001241/0.9663, allocations: 478.5 kB / 0.509 GB, free: 3.918 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000158/0.9664, allocations: 100.8 kB / 0.5091 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.9666, allocations: 7.984 kB / 0.5091 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.967, allocations: 8.062 kB / 0.5091 GB, free: 3.785 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.9672, allocations: 31.97 kB / 0.5092 GB, free: 3.754 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.557e-05/0.9673, allocations: 31.98 kB / 0.5092 GB, free: 3.723 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003587/0.9677, allocations: 186 kB / 0.5094 GB, free: 3.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 5.01e-07/0.9677, allocations: 0 / 0.5094 GB, free: 3.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001057/0.9687, allocations: 124 kB / 0.5095 GB, free: 3.422 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.9711, allocations: 1.074 MB / 0.5106 GB, free: 2.312 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001429/0.9725, allocations: 390.3 kB / 0.5109 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.9726, allocations: 0 / 0.5109 GB, free: 1.918 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000544/0.9731, allocations: 231.3 kB / 0.5111 GB, free: 1.68 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.9751, allocations: 164.3 kB / 0.5113 GB, free: 1.516 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/0.9847, allocations: 3.19 MB / 0.5144 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006971/0.9854, allocations: 0.7645 MB / 0.5152 GB, free: 13.36 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00142/0.9869, allocations: 118.9 kB / 0.5153 GB, free: 13.24 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006242/0.9876, allocations: 127.4 kB / 0.5154 GB, free: 13.12 MB / 430.1 MB Notification: Performance of SimCode: time 2.114e-06/0.9876, allocations: 0 / 0.5154 GB, free: 13.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1995/1.187, allocations: 11.77 MB / 0.5269 GB, free: 1.277 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 19.88/21.07, allocations: 28.47 kB / 0.5269 GB, free: 1.25 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/IdealSteam/IdealSteam.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches