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.001411/0.001411, allocations: 112.4 kB / 17.28 MB, free: 6.199 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.001616/0.001616, allocations: 189.3 kB / 18.2 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.354/1.354, allocations: 205.1 MB / 224 MB, free: 12.37 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.001257/0.001257, allocations: 40.16 kB / 280.3 MB, free: 3.375 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07942/0.08069, allocations: 46.64 MB / 326.9 MB, free: 4.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.361/0.4417, allocations: 171.3 MB / 498.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.4454, allocations: 3.189 MB / 0.4896 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003157/0.4458, allocations: 0 / 0.4896 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006003/0.4464, allocations: 151.2 kB / 0.4898 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001016/0.4475, allocations: 380 kB / 0.4901 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008928/0.4484, allocations: 320.2 kB / 0.4904 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001028/0.4494, allocations: 0.899 MB / 0.4913 GB, free: 7.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.4496, allocations: 97.41 kB / 0.4914 GB, free: 6.938 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.4513, allocations: 0.781 MB / 0.4922 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.4516, allocations: 290.9 kB / 0.4925 GB, free: 5.871 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.73e-05/0.4517, allocations: 32 kB / 0.4925 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002723/0.4519, allocations: 119.9 kB / 0.4926 GB, free: 5.723 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.452, allocations: 99.72 kB / 0.4927 GB, free: 5.625 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.4522, allocations: 191.2 kB / 0.4929 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005023/0.4527, allocations: 0.5102 MB / 0.4934 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.4527, allocations: 0 / 0.4934 GB, free: 4.926 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4528, allocations: 7.938 kB / 0.4934 GB, free: 4.918 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.4528, allocations: 0 / 0.4934 GB, free: 4.918 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.0008342/0.4536, allocations: 0.6009 MB / 0.494 GB, free: 4.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.4537, allocations: 8.031 kB / 0.494 GB, free: 4.262 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.4537, allocations: 58.55 kB / 0.494 GB, free: 4.195 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002519/0.454, allocations: 43.7 kB / 0.4941 GB, free: 4.152 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4543, allocations: 282.4 kB / 0.4943 GB, free: 3.836 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4544, allocations: 24.56 kB / 0.4944 GB, free: 3.812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.4544, allocations: 27.94 kB / 0.4944 GB, free: 3.785 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000475/0.4549, allocations: 314.8 kB / 0.4947 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.4549, allocations: 7.875 kB / 0.4947 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.455, allocations: 12 kB / 0.4947 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.455, allocations: 8 kB / 0.4947 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.4553, allocations: 209.5 kB / 0.4949 GB, free: 3.219 MB / 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.001608/0.4569, allocations: 1.585 MB / 0.4965 GB, free: 1.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.4572, allocations: 171.2 kB / 0.4966 GB, free: 1.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.4573, allocations: 96.77 kB / 0.4967 GB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.4574, allocations: 4 kB / 0.4967 GB, free: 1.207 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.4574, allocations: 46.48 kB / 0.4968 GB, free: 1.152 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.183e-06/0.4574, allocations: 0 / 0.4968 GB, free: 1.152 MB / 398.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.00541/0.4628, allocations: 1.618 MB / 0.4983 GB, free: 15.4 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.4629, allocations: 55.41 kB / 0.4984 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002483/0.4632, allocations: 256.9 kB / 0.4986 GB, free: 15.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/0.4632, allocations: 29.7 kB / 0.4987 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.4633, allocations: 176.2 kB / 0.4988 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.305e-05/0.4634, allocations: 98.55 kB / 0.4989 GB, free: 14.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001079/0.4635, allocations: 85.38 kB / 0.499 GB, free: 14.68 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4636, allocations: 338.8 kB / 0.4993 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4638, allocations: 83.97 kB / 0.4994 GB, free: 14.26 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/0.464, allocations: 191.8 kB / 0.4996 GB, free: 14.03 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.4644, allocations: 307.8 kB / 0.4999 GB, free: 13.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4644, allocations: 0 / 0.4999 GB, free: 13.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005864/0.465, allocations: 399.5 kB / 0.5003 GB, free: 13.28 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.465, allocations: 8 kB / 0.5003 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.465, allocations: 0 / 0.5003 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/0.4653, allocations: 73.62 kB / 0.5004 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003293/0.4656, allocations: 83.89 kB / 0.5004 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.467, allocations: 1.951 MB / 0.5023 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4672, allocations: 31.83 kB / 0.5024 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.791e-05/0.4673, allocations: 35.98 kB / 0.5024 GB, free: 10.93 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.0001596/0.4675, allocations: 166.5 kB / 0.5026 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.6e-05/0.4675, allocations: 27.7 kB / 0.5026 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008876/0.4684, allocations: 446.2 kB / 0.503 GB, free: 10.28 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.4684, allocations: 4 kB / 0.503 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.305e-06/0.4684, allocations: 0 / 0.503 GB, free: 10.27 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000481/0.4689, allocations: 0.5591 MB / 0.5036 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009055/0.4698, allocations: 0.7349 MB / 0.5043 GB, free: 8.824 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.4699, allocations: 4 kB / 0.5043 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.4702, allocations: 68.77 kB / 0.5044 GB, free: 8.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.027e-05/0.4703, allocations: 20.84 kB / 0.5044 GB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.58e-05/0.4703, allocations: 12 kB / 0.5044 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007872/0.4711, allocations: 1.382 MB / 0.5057 GB, free: 7.195 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4711, allocations: 4.156 kB / 0.5057 GB, free: 7.191 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005923/0.4717, allocations: 478.6 kB / 0.5062 GB, free: 6.699 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.089e-05/0.4718, allocations: 108.7 kB / 0.5063 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.4718, allocations: 8 kB / 0.5063 GB, free: 6.566 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.4721, allocations: 16.06 kB / 0.5063 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.4722, allocations: 23.97 kB / 0.5063 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.876e-05/0.4722, allocations: 27.98 kB / 0.5064 GB, free: 6.5 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001689/0.4724, allocations: 194 kB / 0.5066 GB, free: 6.312 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4724, allocations: 0 / 0.5066 GB, free: 6.312 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.4729, allocations: 123.9 kB / 0.5067 GB, free: 6.191 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.001119/0.474, allocations: 1.062 MB / 0.5077 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.4746, allocations: 390.3 kB / 0.5081 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4747, allocations: 0.8125 kB / 0.5081 GB, free: 4.699 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.4749, allocations: 230.5 kB / 0.5083 GB, free: 4.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000881/0.4758, allocations: 180.2 kB / 0.5085 GB, free: 4.281 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/0.4796, allocations: 3.285 MB / 0.5117 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.48, allocations: 0.7606 MB / 0.5124 GB, free: 40 kB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.4806, allocations: 114.9 kB / 0.5125 GB, free: 15.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002729/0.4808, allocations: 131.3 kB / 0.5127 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4808, allocations: 0 / 0.5127 GB, free: 15.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02909/0.5099, allocations: 11.66 MB / 0.524 GB, free: 4.109 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002359/0.5102, allocations: 252.3 kB / 0.5243 GB, free: 3.852 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.098/2.609, allocations: 0 / 0.5243 GB, free: 3.852 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 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.mat","/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","../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