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.006764/0.006763, allocations: 187.1 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.392/3.392, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002088/0.002088, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005371, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1105, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.566/0.6766, allocations: 138 MB / 0.5005 GB, free: 3.488 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004095/0.6807, allocations: 1.939 MB / 0.5024 GB, free: 1.543 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004316/0.6812, allocations: 7.938 kB / 0.5024 GB, free: 1.535 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.6821, allocations: 135.4 kB / 0.5026 GB, free: 1.402 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001149/0.6833, allocations: 275.1 kB / 0.5028 GB, free: 1.133 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.6846, allocations: 277.2 kB / 0.5031 GB, free: 0.8633 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.001293/0.686, allocations: 486.9 kB / 0.5036 GB, free: 396 kB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.6863, allocations: 69.56 kB / 0.5036 GB, free: 328 kB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001854/0.6882, allocations: 438.8 kB / 0.504 GB, free: 15.89 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005277/0.6887, allocations: 171.4 kB / 0.5042 GB, free: 15.72 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.324e-05/0.6889, allocations: 12 kB / 0.5042 GB, free: 15.71 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005263/0.6894, allocations: 111.8 kB / 0.5043 GB, free: 15.6 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.6896, allocations: 67.78 kB / 0.5044 GB, free: 15.54 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001629/0.6898, allocations: 93.58 kB / 0.5045 GB, free: 15.44 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008944/0.6907, allocations: 393.2 kB / 0.5049 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6907, allocations: 0 / 0.5049 GB, free: 15.05 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.6908, allocations: 0 / 0.5049 GB, free: 15.05 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.6908, allocations: 0 / 0.5049 GB, free: 15.05 MB / 394.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.001146/0.6919, allocations: 0.5191 MB / 0.5054 GB, free: 14.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.692, allocations: 8.031 kB / 0.5054 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003969/0.6924, allocations: 47.61 kB / 0.5054 GB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.6929, allocations: 278.5 kB / 0.5057 GB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.981e-05/0.693, allocations: 20.56 kB / 0.5057 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.409e-05/0.6931, allocations: 24 kB / 0.5057 GB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008486/0.6939, allocations: 315.6 kB / 0.506 GB, free: 13.74 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.694, allocations: 4 kB / 0.506 GB, free: 13.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.892e-05/0.6941, allocations: 12 kB / 0.506 GB, free: 13.72 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.928e-05/0.6941, allocations: 7.953 kB / 0.506 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005551/0.6946, allocations: 207.7 kB / 0.5062 GB, free: 13.52 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.002886/0.6975, allocations: 1.585 MB / 0.5078 GB, free: 11.78 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.6981, allocations: 170.8 kB / 0.508 GB, free: 11.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.605e-05/0.6982, allocations: 4 kB / 0.508 GB, free: 11.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.947e-05/0.6982, allocations: 42.56 kB / 0.508 GB, free: 11.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 5.39e-06/0.6982, allocations: 0 / 0.508 GB, free: 11.55 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.009721/0.708, allocations: 1.622 MB / 0.5096 GB, free: 9.797 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.708, allocations: 51.41 kB / 0.5096 GB, free: 9.734 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004122/0.7085, allocations: 260.8 kB / 0.5099 GB, free: 9.473 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.733e-05/0.7085, allocations: 33.7 kB / 0.5099 GB, free: 9.434 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.7087, allocations: 226.8 kB / 0.5101 GB, free: 9.207 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.7088, allocations: 102.5 kB / 0.5102 GB, free: 9.105 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/0.7089, allocations: 8 kB / 0.5102 GB, free: 9.098 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7091, allocations: 322.8 kB / 0.5105 GB, free: 8.773 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002823/0.7093, allocations: 91.73 kB / 0.5106 GB, free: 8.684 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004196/0.7098, allocations: 195.7 kB / 0.5108 GB, free: 8.449 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003659/0.7102, allocations: 119.9 kB / 0.5109 GB, free: 8.332 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.7102, allocations: 0 / 0.5109 GB, free: 8.332 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001139/0.7113, allocations: 379.9 kB / 0.5113 GB, free: 7.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.809e-05/0.7114, allocations: 8 kB / 0.5113 GB, free: 7.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7114, allocations: 4 kB / 0.5113 GB, free: 7.938 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.7118, allocations: 77.62 kB / 0.5114 GB, free: 7.855 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.7124, allocations: 80.31 kB / 0.5115 GB, free: 7.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002087/0.7145, allocations: 1.868 MB / 0.5133 GB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004613/0.715, allocations: 19.98 kB / 0.5133 GB, free: 5.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.192e-05/0.7152, allocations: 39.98 kB / 0.5133 GB, free: 5.695 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.0002823/0.7154, allocations: 153.8 kB / 0.5135 GB, free: 5.535 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.793e-05/0.7156, allocations: 31.72 kB / 0.5135 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.7172, allocations: 448.4 kB / 0.5139 GB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.7172, allocations: 4 kB / 0.5139 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.7172, allocations: 0 / 0.5139 GB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009533/0.7182, allocations: 0.5591 MB / 0.5145 GB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001843/0.7201, allocations: 0.7169 MB / 0.5152 GB, free: 3.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.157e-05/0.7201, allocations: 12.02 kB / 0.5152 GB, free: 3.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.7207, allocations: 75.83 kB / 0.5153 GB, free: 3.527 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.7209, allocations: 20.78 kB / 0.5153 GB, free: 3.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.42e-05/0.7209, allocations: 12 kB / 0.5153 GB, free: 3.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/0.7223, allocations: 1.292 MB / 0.5166 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.7223, allocations: 0 / 0.5166 GB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.7236, allocations: 0.5018 MB / 0.5171 GB, free: 1.523 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.7237, allocations: 100.8 kB / 0.5172 GB, free: 1.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.7238, allocations: 8 kB / 0.5172 GB, free: 1.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004469/0.7243, allocations: 12 kB / 0.5172 GB, free: 1.387 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.497e-05/0.7244, allocations: 31.98 kB / 0.5172 GB, free: 1.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.383e-05/0.7245, allocations: 27.98 kB / 0.5172 GB, free: 1.328 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002978/0.7248, allocations: 190 kB / 0.5174 GB, free: 1.145 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.7248, allocations: 0 / 0.5174 GB, free: 1.145 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008339/0.7256, allocations: 120 kB / 0.5175 GB, free: 1.027 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.0005355/0.7262, allocations: 155.1 kB / 0.5177 GB, free: 0.8672 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001056/0.7273, allocations: 371.4 kB / 0.518 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.7273, allocations: 0 / 0.518 GB, free: 0.4922 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.7278, allocations: 234.5 kB / 0.5183 GB, free: 256 kB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001551/0.7293, allocations: 163.7 kB / 0.5184 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001948/0.7313, allocations: 0.8608 MB / 0.5192 GB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.7318, allocations: 0.7762 MB / 0.52 GB, free: 14.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/0.7323, allocations: 79.39 kB / 0.5201 GB, free: 14.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7323, allocations: 0 / 0.5201 GB, free: 14.32 MB / 410.7 MB Notification: Performance of Templates: time 0.02246/0.7548, allocations: 7.476 MB / 0.5274 GB, free: 6.84 MB / 410.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/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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches