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.001171/0.001171, allocations: 107.9 kB / 17.15 MB, free: 6.305 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.001206/0.001207, allocations: 198 kB / 18.07 MB, free: 5.41 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.322/1.322, allocations: 205.1 MB / 223.9 MB, free: 12.46 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.001235/0.001235, allocations: 47.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08352/0.08477, allocations: 46.63 MB / 326.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3034/0.3882, allocations: 171.5 MB / 498.2 MB, free: 11.94 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.3916, allocations: 3.239 MB / 0.4897 GB, free: 8.691 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.3918, allocations: 7.938 kB / 0.4897 GB, free: 8.684 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.3923, allocations: 147.2 kB / 0.4898 GB, free: 8.539 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007258/0.393, allocations: 380 kB / 0.4902 GB, free: 8.168 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007466/0.3938, allocations: 313.5 kB / 0.4905 GB, free: 7.863 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.3948, allocations: 1.344 MB / 0.4918 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.395, allocations: 84.12 kB / 0.4919 GB, free: 6.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.3965, allocations: 0.7255 MB / 0.4926 GB, free: 5.715 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003088/0.3968, allocations: 282.9 kB / 0.4928 GB, free: 5.438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.3968, allocations: 16 kB / 0.4929 GB, free: 5.422 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002688/0.3971, allocations: 107.9 kB / 0.493 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3972, allocations: 83.7 kB / 0.493 GB, free: 5.234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.3974, allocations: 175.2 kB / 0.4932 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004681/0.3979, allocations: 0.5102 MB / 0.4937 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.3979, allocations: 0 / 0.4937 GB, free: 4.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 7.02e-07/0.3979, allocations: 0 / 0.4937 GB, free: 4.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.3979, allocations: 0 / 0.4937 GB, free: 4.551 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.0007301/0.3987, allocations: 0.5931 MB / 0.4943 GB, free: 3.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.3987, allocations: 8.031 kB / 0.4943 GB, free: 3.902 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.806e-05/0.3988, allocations: 62.53 kB / 0.4943 GB, free: 3.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002489/0.399, allocations: 39.7 kB / 0.4944 GB, free: 3.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3993, allocations: 286.4 kB / 0.4947 GB, free: 3.473 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3994, allocations: 24.5 kB / 0.4947 GB, free: 3.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.3994, allocations: 24 kB / 0.4947 GB, free: 3.426 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004406/0.3999, allocations: 323.7 kB / 0.495 GB, free: 3.078 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.3999, allocations: 7.922 kB / 0.495 GB, free: 3.07 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.587e-05/0.3999, allocations: 12 kB / 0.495 GB, free: 3.059 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.3999, allocations: 4 kB / 0.495 GB, free: 3.055 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002977/0.4002, allocations: 201.6 kB / 0.4952 GB, free: 2.859 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.001525/0.4018, allocations: 1.585 MB / 0.4968 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.402, allocations: 175.1 kB / 0.4969 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.4022, allocations: 100.7 kB / 0.497 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.4022, allocations: 7.984 kB / 0.497 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.4023, allocations: 38.56 kB / 0.4971 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.323e-06/0.4023, allocations: 0 / 0.4971 GB, free: 0.7891 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.005222/0.4075, allocations: 1.618 MB / 0.4987 GB, free: 15.04 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4075, allocations: 51.41 kB / 0.4987 GB, free: 14.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.4078, allocations: 256.9 kB / 0.499 GB, free: 14.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.964e-05/0.4078, allocations: 29.7 kB / 0.499 GB, free: 14.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.4079, allocations: 184.1 kB / 0.4992 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.699e-05/0.408, allocations: 90.66 kB / 0.4992 GB, free: 14.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4081, allocations: 85.38 kB / 0.4993 GB, free: 14.32 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.4082, allocations: 342.8 kB / 0.4997 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.4084, allocations: 87.95 kB / 0.4997 GB, free: 13.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001987/0.4086, allocations: 187.7 kB / 0.4999 GB, free: 13.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003802/0.409, allocations: 316.2 kB / 0.5002 GB, free: 13.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.409, allocations: 0 / 0.5002 GB, free: 13.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005993/0.4096, allocations: 394.7 kB / 0.5006 GB, free: 12.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.4096, allocations: 4 kB / 0.5006 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.4096, allocations: 4 kB / 0.5006 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002098/0.4098, allocations: 78.08 kB / 0.5007 GB, free: 12.82 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003232/0.4102, allocations: 83.89 kB / 0.5008 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001174/0.4113, allocations: 1.856 MB / 0.5026 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002205/0.4116, allocations: 19.89 kB / 0.5026 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.048e-05/0.4116, allocations: 40 kB / 0.5026 GB, free: 10.67 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.0001666/0.4118, allocations: 157.9 kB / 0.5028 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.4119, allocations: 31.66 kB / 0.5028 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008805/0.4128, allocations: 433.9 kB / 0.5032 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/0.4128, allocations: 4.875 kB / 0.5032 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.4128, allocations: 0 / 0.5032 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004906/0.4133, allocations: 0.5707 MB / 0.5038 GB, free: 9.367 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008792/0.4142, allocations: 0.7349 MB / 0.5045 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.4142, allocations: 0 / 0.5045 GB, free: 8.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002975/0.4145, allocations: 71.89 kB / 0.5046 GB, free: 8.496 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.491e-05/0.4146, allocations: 28.84 kB / 0.5046 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.441e-05/0.4146, allocations: 11.98 kB / 0.5046 GB, free: 8.453 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006964/0.4153, allocations: 1.284 MB / 0.5059 GB, free: 7.035 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4153, allocations: 4.031 kB / 0.5059 GB, free: 7.031 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005753/0.4159, allocations: 474.7 kB / 0.5063 GB, free: 6.543 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.241e-05/0.416, allocations: 104.8 kB / 0.5064 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.964e-05/0.416, allocations: 8 kB / 0.5064 GB, free: 6.414 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002391/0.4163, allocations: 12 kB / 0.5064 GB, free: 6.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.4163, allocations: 31.97 kB / 0.5065 GB, free: 6.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.4164, allocations: 27.98 kB / 0.5065 GB, free: 6.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4166, allocations: 194 kB / 0.5067 GB, free: 6.156 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4166, allocations: 0 / 0.5067 GB, free: 6.156 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000468/0.417, allocations: 127.9 kB / 0.5068 GB, free: 6.031 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.001029/0.4181, allocations: 1.054 MB / 0.5078 GB, free: 4.941 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005485/0.4186, allocations: 378.6 kB / 0.5082 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4186, allocations: 0 / 0.5082 GB, free: 4.559 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002473/0.4189, allocations: 227.5 kB / 0.5084 GB, free: 4.324 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008441/0.4198, allocations: 163.5 kB / 0.5086 GB, free: 4.164 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00335/0.4231, allocations: 3.294 MB / 0.5118 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.4234, allocations: 0.7645 MB / 0.5125 GB, free: 15.91 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0005033/0.4239, allocations: 126.9 kB / 0.5127 GB, free: 15.78 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002447/0.4241, allocations: 127.4 kB / 0.5128 GB, free: 15.66 MB / 430.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4241, allocations: 0 / 0.5128 GB, free: 15.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02337/0.4475, allocations: 11.38 MB / 0.5239 GB, free: 4.23 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/0.4478, allocations: 260.1 kB / 0.5241 GB, free: 3.965 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.097/2.545, allocations: 0 / 0.5241 GB, free: 3.965 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