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.0009857/0.000986, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.0009895/0.0009895, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.275/1.275, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001817/0.001817, allocations: 51.92 kB / 280.7 MB, free: 3.188 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1112, allocations: 46.63 MB / 327.3 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3375/0.4487, allocations: 173.6 MB / 0.4892 GB, free: 9.379 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003911/0.4527, allocations: 3.212 MB / 0.4923 GB, free: 6.156 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001691/0.453, allocations: 4 kB / 0.4923 GB, free: 6.152 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005298/0.4535, allocations: 174.9 kB / 0.4925 GB, free: 5.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007622/0.4543, allocations: 403.2 kB / 0.4929 GB, free: 5.586 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007479/0.455, allocations: 343.8 kB / 0.4932 GB, free: 5.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008994/0.456, allocations: 0.8953 MB / 0.4941 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001795/0.4561, allocations: 104.6 kB / 0.4942 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001456/0.4576, allocations: 0.8001 MB / 0.4949 GB, free: 3.453 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000306/0.4579, allocations: 274.9 kB / 0.4952 GB, free: 3.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.458, allocations: 28 kB / 0.4952 GB, free: 3.156 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002761/0.4583, allocations: 123.9 kB / 0.4953 GB, free: 3.035 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.4584, allocations: 103.6 kB / 0.4954 GB, free: 2.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001868/0.4586, allocations: 179.3 kB / 0.4956 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.4591, allocations: 0.5063 MB / 0.4961 GB, free: 2.25 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.4591, allocations: 4 kB / 0.4961 GB, free: 2.246 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.4591, allocations: 4 kB / 0.4961 GB, free: 2.242 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.4591, allocations: 0 / 0.4961 GB, free: 2.242 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.0008347/0.46, allocations: 0.5968 MB / 0.4967 GB, free: 1.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.46, allocations: 15.89 kB / 0.4967 GB, free: 1.582 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002752/0.4603, allocations: 39.7 kB / 0.4968 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003327/0.4606, allocations: 294.3 kB / 0.497 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4607, allocations: 16.56 kB / 0.497 GB, free: 1.199 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.4607, allocations: 28 kB / 0.4971 GB, free: 1.172 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004344/0.4612, allocations: 315.7 kB / 0.4974 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.4612, allocations: 0 / 0.4974 GB, free: 0.8359 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.561e-05/0.4612, allocations: 15.94 kB / 0.4974 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.588e-06/0.4612, allocations: 8 kB / 0.4974 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002931/0.4615, allocations: 205.6 kB / 0.4976 GB, free: 0.6133 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.001669/0.4632, allocations: 1.593 MB / 0.4992 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.4635, allocations: 174.7 kB / 0.4993 GB, free: 14.69 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.4637, allocations: 97.14 kB / 0.4994 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.933e-05/0.4637, allocations: 7.984 kB / 0.4994 GB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.4637, allocations: 34.56 kB / 0.4995 GB, free: 14.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.353e-06/0.4638, allocations: 4 kB / 0.4995 GB, free: 14.54 MB / 414.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.005361/0.4691, allocations: 1.601 MB / 0.501 GB, free: 12.8 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4692, allocations: 59.41 kB / 0.5011 GB, free: 12.73 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.4694, allocations: 256.9 kB / 0.5013 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.4694, allocations: 33.7 kB / 0.5014 GB, free: 12.44 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.4696, allocations: 176.2 kB / 0.5015 GB, free: 12.26 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.127e-05/0.4696, allocations: 90.66 kB / 0.5016 GB, free: 12.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.4697, allocations: 85.38 kB / 0.5017 GB, free: 12.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001047/0.4699, allocations: 338.8 kB / 0.502 GB, free: 11.74 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000153/0.47, allocations: 87.84 kB / 0.5021 GB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.4702, allocations: 195.7 kB / 0.5023 GB, free: 11.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/0.4706, allocations: 303.8 kB / 0.5026 GB, free: 11.08 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.4707, allocations: 7.938 kB / 0.5026 GB, free: 11.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006256/0.4713, allocations: 399.2 kB / 0.503 GB, free: 10.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4713, allocations: 8 kB / 0.503 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.4713, allocations: 4 kB / 0.503 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002204/0.4716, allocations: 69.69 kB / 0.503 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003468/0.4719, allocations: 84.23 kB / 0.5031 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.4733, allocations: 1.966 MB / 0.505 GB, free: 8.371 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001838/0.4735, allocations: 16.03 kB / 0.5051 GB, free: 8.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.26e-05/0.4736, allocations: 32 kB / 0.5051 GB, free: 8.324 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.0001601/0.4738, allocations: 162.8 kB / 0.5052 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.788e-05/0.4738, allocations: 31.62 kB / 0.5053 GB, free: 8.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009124/0.4747, allocations: 434.4 kB / 0.5057 GB, free: 7.684 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.4748, allocations: 4 kB / 0.5057 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.4748, allocations: 0 / 0.5057 GB, free: 7.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006508/0.4754, allocations: 0.5669 MB / 0.5062 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.4764, allocations: 0.731 MB / 0.507 GB, free: 6.227 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4765, allocations: 4.062 kB / 0.507 GB, free: 6.223 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002952/0.4768, allocations: 75.89 kB / 0.507 GB, free: 6.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.809e-05/0.4768, allocations: 20.84 kB / 0.5071 GB, free: 6.125 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.4769, allocations: 15.98 kB / 0.5071 GB, free: 6.109 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008836/0.4778, allocations: 1.376 MB / 0.5084 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4778, allocations: 0 / 0.5084 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006078/0.4784, allocations: 481.9 kB / 0.5089 GB, free: 4.098 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.4785, allocations: 100.8 kB / 0.509 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.704e-05/0.4785, allocations: 7.938 kB / 0.509 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.4787, allocations: 15.98 kB / 0.509 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.4788, allocations: 19.98 kB / 0.509 GB, free: 3.938 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/0.4788, allocations: 36.05 kB / 0.509 GB, free: 3.902 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001662/0.479, allocations: 190 kB / 0.5092 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.479, allocations: 0 / 0.5092 GB, free: 3.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005335/0.4796, allocations: 120 kB / 0.5093 GB, free: 3.602 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.0003722/0.4799, allocations: 159 kB / 0.5095 GB, free: 3.438 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006441/0.4806, allocations: 383 kB / 0.5099 GB, free: 3.051 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.4806, allocations: 4.812 kB / 0.5099 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.4809, allocations: 238.4 kB / 0.5101 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009293/0.4818, allocations: 172.2 kB / 0.5103 GB, free: 2.629 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.4829, allocations: 0.6977 MB / 0.5109 GB, free: 1.906 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/0.4832, allocations: 0.7606 MB / 0.5117 GB, free: 1.121 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0005545/0.4838, allocations: 114.9 kB / 0.5118 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001952/0.484, allocations: 71.39 kB / 0.5119 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.484, allocations: 0 / 0.5119 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of Templates: time 0.01392/0.4979, allocations: 8.699 MB / 0.5203 GB, free: 8.227 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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