Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00122/0.001221, allocations: 179.2 kB / 16.41 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 205.4 MB / 222.5 MB, free: 9.113 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007343/0.0007343, allocations: 98.56 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002755/0.0002755, allocations: 16 kB / 327 MB, free: 172 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1984, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3214/0.5198, allocations: 157.7 MB / 0.5198 GB, free: 1.137 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002875/0.5227, allocations: 2.988 MB / 0.5227 GB, free: 1.047 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001734/0.5229, allocations: 8.312 kB / 0.5227 GB, free: 1.043 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004013/0.5233, allocations: 131.4 kB / 0.5229 GB, free: 1.039 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006458/0.524, allocations: 368.2 kB / 0.5232 GB, free: 1.016 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006883/0.5247, allocations: 270.7 kB / 0.5235 GB, free: 1.012 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001001/0.5257, allocations: 1.112 MB / 0.5246 GB, free: 1.008 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.5258, allocations: 75.25 kB / 0.5246 GB, free: 1 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001259/0.5271, allocations: 0.6656 MB / 0.5253 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.5274, allocations: 274.9 kB / 0.5256 GB, free: 0.9844 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.5275, allocations: 18.16 kB / 0.5256 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002675/0.5278, allocations: 109.6 kB / 0.5257 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.974e-05/0.5279, allocations: 77.34 kB / 0.5257 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.155e-05/0.528, allocations: 89.27 kB / 0.5258 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.5284, allocations: 404.7 kB / 0.5262 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5284, allocations: 0 / 0.5262 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5284, allocations: 0 / 0.5262 GB, free: 0.9219 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.5284, allocations: 0.9062 kB / 0.5262 GB, free: 0.9219 MB / 378.7 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.0008089/0.5292, allocations: 0.5162 MB / 0.5267 GB, free: 16.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.5292, allocations: 9.625 kB / 0.5267 GB, free: 16.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.5295, allocations: 45.94 kB / 0.5268 GB, free: 16.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003373/0.5298, allocations: 272 kB / 0.527 GB, free: 16.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.5299, allocations: 24.72 kB / 0.5271 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.452e-05/0.5299, allocations: 26.03 kB / 0.5271 GB, free: 16.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004768/0.5304, allocations: 323.2 kB / 0.5274 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.5304, allocations: 0.9688 kB / 0.5274 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/0.5305, allocations: 14.03 kB / 0.5274 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.5305, allocations: 5.5 kB / 0.5274 GB, free: 16.15 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003095/0.5308, allocations: 201.5 kB / 0.5276 GB, free: 16.15 MB / 394.7 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.001581/0.5324, allocations: 1.589 MB / 0.5292 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.5327, allocations: 174.8 kB / 0.5293 GB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.5328, allocations: 106 kB / 0.5294 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.057e-05/0.5328, allocations: 8.734 kB / 0.5294 GB, free: 14.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.5329, allocations: 37.12 kB / 0.5295 GB, free: 14.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.5329, allocations: 0 / 0.5295 GB, free: 14.87 MB / 394.7 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.00502/0.5379, allocations: 1.617 MB / 0.531 GB, free: 14.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.311e-05/0.5379, allocations: 57.97 kB / 0.5311 GB, free: 14.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.5382, allocations: 257 kB / 0.5313 GB, free: 13.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.5382, allocations: 32.17 kB / 0.5314 GB, free: 13.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.704e-05/0.5383, allocations: 167.5 kB / 0.5315 GB, free: 13.81 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.5383, allocations: 102.2 kB / 0.5316 GB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.5384, allocations: 7.281 kB / 0.5316 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.5385, allocations: 336.7 kB / 0.532 GB, free: 13.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.5386, allocations: 95.34 kB / 0.5321 GB, free: 13.43 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001888/0.5388, allocations: 186.6 kB / 0.5322 GB, free: 13.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001778/0.539, allocations: 117.3 kB / 0.5323 GB, free: 13.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.539, allocations: 0 / 0.5323 GB, free: 13.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005396/0.5396, allocations: 403.5 kB / 0.5327 GB, free: 13.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.5396, allocations: 7.781 kB / 0.5327 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.5396, allocations: 2.781 kB / 0.5327 GB, free: 13.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001874/0.5398, allocations: 80.11 kB / 0.5328 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003086/0.5401, allocations: 83.75 kB / 0.5329 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.5413, allocations: 1.851 MB / 0.5347 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002212/0.5416, allocations: 20.27 kB / 0.5347 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.705e-05/0.5416, allocations: 48.78 kB / 0.5348 GB, free: 11.42 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.5418, allocations: 157.2 kB / 0.5349 GB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.867e-05/0.5418, allocations: 26.28 kB / 0.5349 GB, free: 11.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000863/0.5427, allocations: 445.1 kB / 0.5354 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.5427, allocations: 5.781 kB / 0.5354 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.5427, allocations: 0 / 0.5354 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004639/0.5432, allocations: 0.5626 MB / 0.5359 GB, free: 10.71 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00087/0.5441, allocations: 0.7383 MB / 0.5366 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.5441, allocations: 1.75 kB / 0.5366 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.5444, allocations: 66.5 kB / 0.5367 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.509e-05/0.5445, allocations: 21.97 kB / 0.5367 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.375e-05/0.5445, allocations: 11.11 kB / 0.5367 GB, free: 10.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007489/0.5453, allocations: 1.282 MB / 0.538 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5453, allocations: 0 / 0.538 GB, free: 9.117 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000566/0.5459, allocations: 487.6 kB / 0.5385 GB, free: 8.934 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.5459, allocations: 110.6 kB / 0.5386 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.546, allocations: 3.25 kB / 0.5386 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.5462, allocations: 16.25 kB / 0.5386 GB, free: 8.824 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.5463, allocations: 27.69 kB / 0.5386 GB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.5463, allocations: 31.97 kB / 0.5386 GB, free: 8.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001611/0.5465, allocations: 191.9 kB / 0.5388 GB, free: 8.738 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5465, allocations: 0 / 0.5388 GB, free: 8.738 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004415/0.547, allocations: 120.2 kB / 0.5389 GB, free: 8.734 MB / 394.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003207/0.5473, allocations: 164.3 kB / 0.5391 GB, free: 8.629 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005532/0.5478, allocations: 377.9 kB / 0.5395 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5479, allocations: 1.781 kB / 0.5395 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002428/0.5481, allocations: 223.3 kB / 0.5397 GB, free: 8.402 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/0.549, allocations: 158.1 kB / 0.5398 GB, free: 8.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5501, allocations: 0.8636 MB / 0.5407 GB, free: 7.871 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.5504, allocations: 0.7677 MB / 0.5414 GB, free: 7.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002484/0.5506, allocations: 73.25 kB / 0.5415 GB, free: 7.113 MB / 394.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5506, allocations: 1.859 kB / 0.5415 GB, free: 7.113 MB / 394.7 MB Notification: Performance of Templates: time 0.008918/0.5596, allocations: 7.463 MB / 0.5488 GB, free: 3.27 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches