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.0006527/0.0006526, allocations: 96.08 kB / 17.3 MB, free: 6.391 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.0006888/0.0006888, allocations: 176.5 kB / 18.2 MB, free: 5.551 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.48/1.48, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004821/0.000482, allocations: 8.516 kB / 281.5 MB, free: 3.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.102, allocations: 47.58 MB / 329.1 MB, free: 3.652 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4022/0.5042, allocations: 169.2 MB / 498.3 MB, free: 496 kB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003917/0.5082, allocations: 3.177 MB / 0.4897 GB, free: 13.3 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.5087, allocations: 4 kB / 0.4897 GB, free: 13.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000687/0.5094, allocations: 139.2 kB / 0.4898 GB, free: 13.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001205/0.5106, allocations: 383.9 kB / 0.4902 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009324/0.5116, allocations: 318.2 kB / 0.4905 GB, free: 12.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001388/0.513, allocations: 1.348 MB / 0.4918 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.5131, allocations: 82.64 kB / 0.4919 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001748/0.5149, allocations: 0.7094 MB / 0.4926 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.5153, allocations: 290.8 kB / 0.4929 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.814e-05/0.5153, allocations: 12 kB / 0.4929 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002678/0.5156, allocations: 103.9 kB / 0.493 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001201/0.5157, allocations: 83.64 kB / 0.4931 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.5159, allocations: 193 kB / 0.4933 GB, free: 9.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000595/0.5165, allocations: 0.51 MB / 0.4938 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5165, allocations: 0 / 0.4938 GB, free: 9.148 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5165, allocations: 0 / 0.4938 GB, free: 9.148 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.5166, allocations: 0 / 0.4938 GB, free: 9.148 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.0007862/0.5173, allocations: 0.5152 MB / 0.4943 GB, free: 8.586 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.5174, allocations: 8.031 kB / 0.4943 GB, free: 8.578 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.318e-05/0.5175, allocations: 58.55 kB / 0.4943 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002793/0.5178, allocations: 51.61 kB / 0.4944 GB, free: 8.461 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003875/0.5182, allocations: 286.4 kB / 0.4946 GB, free: 8.141 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.894e-05/0.5182, allocations: 20.56 kB / 0.4947 GB, free: 8.121 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.5183, allocations: 24 kB / 0.4947 GB, free: 8.098 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.5189, allocations: 311.7 kB / 0.495 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.5189, allocations: 11.94 kB / 0.495 GB, free: 7.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.5189, allocations: 12 kB / 0.495 GB, free: 7.738 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.519, allocations: 4 kB / 0.495 GB, free: 7.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.5193, allocations: 209.5 kB / 0.4952 GB, free: 7.531 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.001954/0.5213, allocations: 1.581 MB / 0.4967 GB, free: 5.801 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003/0.5216, allocations: 171.1 kB / 0.4969 GB, free: 5.625 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.5217, allocations: 96.77 kB / 0.497 GB, free: 5.527 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.5218, allocations: 4 kB / 0.497 GB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5218, allocations: 42.56 kB / 0.497 GB, free: 5.473 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 3.798e-06/0.5218, allocations: 3.984 kB / 0.4971 GB, free: 5.469 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.005558/0.5274, allocations: 1.622 MB / 0.4986 GB, free: 3.715 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/0.5274, allocations: 55.41 kB / 0.4987 GB, free: 3.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.5277, allocations: 257 kB / 0.4989 GB, free: 3.391 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.5278, allocations: 29.7 kB / 0.499 GB, free: 3.355 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.5279, allocations: 176.2 kB / 0.4991 GB, free: 3.176 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.513e-05/0.528, allocations: 94.64 kB / 0.4992 GB, free: 3.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.602e-05/0.528, allocations: 37.7 kB / 0.4993 GB, free: 3.039 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5282, allocations: 338.8 kB / 0.4996 GB, free: 2.699 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5283, allocations: 91.69 kB / 0.4997 GB, free: 2.609 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002322/0.5286, allocations: 191.8 kB / 0.4999 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004056/0.529, allocations: 316.2 kB / 0.5002 GB, free: 2.027 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.529, allocations: 0 / 0.5002 GB, free: 2.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006219/0.5296, allocations: 398.9 kB / 0.5005 GB, free: 1.625 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.5296, allocations: 4 kB / 0.5005 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5297, allocations: 4 kB / 0.5005 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002228/0.5299, allocations: 73.69 kB / 0.5006 GB, free: 1.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.5302, allocations: 87.77 kB / 0.5007 GB, free: 1.453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.5316, allocations: 1.856 MB / 0.5025 GB, free: 15.44 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.5319, allocations: 28.92 kB / 0.5025 GB, free: 15.41 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5319, allocations: 32 kB / 0.5026 GB, free: 15.38 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.0001689/0.5321, allocations: 157.7 kB / 0.5027 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.5322, allocations: 31.66 kB / 0.5027 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009406/0.5331, allocations: 443.6 kB / 0.5032 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5331, allocations: 8 kB / 0.5032 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.5331, allocations: 0 / 0.5032 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005152/0.5337, allocations: 0.5591 MB / 0.5037 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009481/0.5346, allocations: 0.731 MB / 0.5044 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.5346, allocations: 4 kB / 0.5044 GB, free: 13.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.5349, allocations: 71.95 kB / 0.5045 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.338e-05/0.535, allocations: 24.83 kB / 0.5045 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.535, allocations: 15.98 kB / 0.5045 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008087/0.5359, allocations: 1.28 MB / 0.5058 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.5359, allocations: 0 / 0.5058 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006255/0.5365, allocations: 486.4 kB / 0.5063 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.909e-05/0.5366, allocations: 116.9 kB / 0.5064 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.5367, allocations: 4 kB / 0.5064 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.5369, allocations: 11.98 kB / 0.5064 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.224e-05/0.537, allocations: 31.91 kB / 0.5064 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.537, allocations: 31.98 kB / 0.5064 GB, free: 11.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001767/0.5372, allocations: 186 kB / 0.5066 GB, free: 10.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5372, allocations: 4 kB / 0.5066 GB, free: 10.85 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004855/0.5377, allocations: 127.9 kB / 0.5068 GB, free: 10.73 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.001087/0.5388, allocations: 1.05 MB / 0.5078 GB, free: 9.641 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006053/0.5394, allocations: 375.3 kB / 0.5081 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5394, allocations: 0 / 0.5081 GB, free: 9.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002576/0.5397, allocations: 226.5 kB / 0.5084 GB, free: 9.027 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009463/0.5406, allocations: 164.5 kB / 0.5085 GB, free: 8.863 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.5443, allocations: 3.358 MB / 0.5118 GB, free: 5.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003379/0.5446, allocations: 0.7606 MB / 0.5125 GB, free: 4.551 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005572/0.5452, allocations: 126.8 kB / 0.5127 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002617/0.5455, allocations: 119.4 kB / 0.5128 GB, free: 4.312 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5455, allocations: 0 / 0.5128 GB, free: 4.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.5692, allocations: 11.28 MB / 0.5238 GB, free: 9.016 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001895/0.5694, allocations: 255.5 kB / 0.524 GB, free: 8.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.848/2.418, allocations: 0 / 0.524 GB, free: 8.754 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