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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001466, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001574/0.001574, allocations: 198 kB / 18.07 MB, free: 5.434 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.638/1.638, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001297/0.001297, allocations: 51.92 kB / 280 MB, free: 3.582 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.0984, allocations: 46.63 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3974/0.4959, allocations: 171.5 MB / 498.1 MB, free: 12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.4994, allocations: 3.228 MB / 0.4896 GB, free: 8.766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.4996, allocations: 7.938 kB / 0.4896 GB, free: 8.758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000527/0.5002, allocations: 147.2 kB / 0.4897 GB, free: 8.613 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008144/0.501, allocations: 379.7 kB / 0.4901 GB, free: 8.242 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007181/0.5017, allocations: 321.6 kB / 0.4904 GB, free: 7.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001039/0.5028, allocations: 1.348 MB / 0.4917 GB, free: 6.578 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.5029, allocations: 68.66 kB / 0.4918 GB, free: 6.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.5045, allocations: 0.7258 MB / 0.4925 GB, free: 5.789 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003287/0.5048, allocations: 290.9 kB / 0.4927 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.448e-05/0.5048, allocations: 16 kB / 0.4928 GB, free: 5.488 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002658/0.5051, allocations: 107.9 kB / 0.4929 GB, free: 5.383 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.5052, allocations: 83.66 kB / 0.4929 GB, free: 5.301 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001977/0.5055, allocations: 179.2 kB / 0.4931 GB, free: 5.125 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005348/0.506, allocations: 0.5024 MB / 0.4936 GB, free: 4.621 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.506, allocations: 0 / 0.4936 GB, free: 4.621 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.506, allocations: 0 / 0.4936 GB, free: 4.621 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.506, allocations: 4 kB / 0.4936 GB, free: 4.617 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.00083/0.5069, allocations: 0.593 MB / 0.4942 GB, free: 3.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.5069, allocations: 8.031 kB / 0.4942 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002698/0.5072, allocations: 39.72 kB / 0.4942 GB, free: 3.93 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003399/0.5075, allocations: 282.4 kB / 0.4945 GB, free: 3.613 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.5076, allocations: 31.3 kB / 0.4945 GB, free: 3.586 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.807e-05/0.5076, allocations: 31.98 kB / 0.4946 GB, free: 3.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004632/0.5081, allocations: 311.7 kB / 0.4949 GB, free: 3.219 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.5081, allocations: 7.938 kB / 0.4949 GB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.792e-05/0.5082, allocations: 15.94 kB / 0.4949 GB, free: 3.195 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.5082, allocations: 4 kB / 0.4949 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003096/0.5085, allocations: 209.6 kB / 0.4951 GB, free: 2.988 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.001635/0.5101, allocations: 1.581 MB / 0.4966 GB, free: 1.258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002854/0.5104, allocations: 170.8 kB / 0.4968 GB, free: 1.082 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.5106, allocations: 101.1 kB / 0.4969 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.5106, allocations: 11.98 kB / 0.4969 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.5107, allocations: 38.5 kB / 0.4969 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.5107, allocations: 0 / 0.4969 GB, free: 0.9219 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.005486/0.5162, allocations: 1.613 MB / 0.4985 GB, free: 15.18 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.5162, allocations: 55.41 kB / 0.4986 GB, free: 15.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.5165, allocations: 256.9 kB / 0.4988 GB, free: 14.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.5165, allocations: 29.7 kB / 0.4988 GB, free: 14.82 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001068/0.5166, allocations: 180.2 kB / 0.499 GB, free: 14.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.5167, allocations: 90.64 kB / 0.4991 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001327/0.5169, allocations: 93.38 kB / 0.4992 GB, free: 14.45 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001194/0.517, allocations: 334.8 kB / 0.4995 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.5171, allocations: 87.95 kB / 0.4996 GB, free: 14.03 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.5174, allocations: 191.8 kB / 0.4998 GB, free: 13.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003919/0.5178, allocations: 304.3 kB / 0.5001 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5178, allocations: 7.938 kB / 0.5001 GB, free: 13.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005998/0.5184, allocations: 390.7 kB / 0.5004 GB, free: 13.05 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5184, allocations: 4 kB / 0.5004 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.904e-06/0.5184, allocations: 8.344 kB / 0.5005 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002074/0.5186, allocations: 85.61 kB / 0.5005 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003335/0.519, allocations: 79.89 kB / 0.5006 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.5202, allocations: 1.852 MB / 0.5024 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002283/0.5205, allocations: 24.03 kB / 0.5024 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.319e-05/0.5206, allocations: 43.98 kB / 0.5025 GB, free: 10.8 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.5207, allocations: 153.7 kB / 0.5026 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.5208, allocations: 31.66 kB / 0.5027 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009648/0.5218, allocations: 438.2 kB / 0.5031 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5218, allocations: 4 kB / 0.5031 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.237e-06/0.5218, allocations: 0.875 kB / 0.5031 GB, free: 10.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00052/0.5223, allocations: 0.5591 MB / 0.5036 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.5234, allocations: 0.7388 MB / 0.5044 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.319e-06/0.5234, allocations: 3.938 kB / 0.5044 GB, free: 8.699 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003198/0.5237, allocations: 67.89 kB / 0.5044 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.98e-05/0.5238, allocations: 20.84 kB / 0.5044 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.5238, allocations: 23.97 kB / 0.5045 GB, free: 8.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008277/0.5247, allocations: 1.28 MB / 0.5057 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.5247, allocations: 32 / 0.5057 GB, free: 7.172 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006495/0.5253, allocations: 482.7 kB / 0.5062 GB, free: 6.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.5254, allocations: 100.8 kB / 0.5063 GB, free: 6.559 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.352e-05/0.5255, allocations: 8 kB / 0.5063 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.5258, allocations: 19.97 kB / 0.5063 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.512e-05/0.5258, allocations: 27.91 kB / 0.5063 GB, free: 6.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.5259, allocations: 31.98 kB / 0.5064 GB, free: 6.473 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001953/0.5261, allocations: 190 kB / 0.5065 GB, free: 6.289 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5261, allocations: 0 / 0.5065 GB, free: 6.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005373/0.5266, allocations: 127.9 kB / 0.5067 GB, free: 6.164 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.0003792/0.527, allocations: 143.1 kB / 0.5068 GB, free: 6.016 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006348/0.5277, allocations: 375.2 kB / 0.5071 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.5277, allocations: 4 kB / 0.5072 GB, free: 5.633 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002681/0.5279, allocations: 222.6 kB / 0.5074 GB, free: 5.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009215/0.5289, allocations: 167.6 kB / 0.5075 GB, free: 5.238 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5301, allocations: 0.7992 MB / 0.5083 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.5304, allocations: 0.7684 MB / 0.5091 GB, free: 3.621 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005496/0.531, allocations: 114.9 kB / 0.5092 GB, free: 3.508 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002296/0.5312, allocations: 71.41 kB / 0.5092 GB, free: 3.438 MB / 414.1 MB Notification: Performance of SimCode: time 4.5e-07/0.5312, allocations: 0 / 0.5092 GB, free: 3.438 MB / 414.1 MB Notification: Performance of Templates: time 0.01387/0.5451, allocations: 8.442 MB / 0.5175 GB, free: 10.98 MB / 430.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (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 & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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