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.001121/0.00112, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.001111/0.001111, allocations: 191 kB / 19.29 MB, free: 3.715 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.301/1.301, allocations: 205.1 MB / 225.2 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.001188/0.001188, allocations: 51.94 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08509/0.08629, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.3296/0.4159, allocations: 173.6 MB / 0.4906 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003537/0.4195, allocations: 3.212 MB / 0.4937 GB, free: 5.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.4197, allocations: 4 kB / 0.4937 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005223/0.4202, allocations: 170.9 kB / 0.4939 GB, free: 5.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008001/0.4211, allocations: 403.2 kB / 0.4943 GB, free: 5.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007823/0.4218, allocations: 347.9 kB / 0.4946 GB, free: 4.715 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008472/0.4227, allocations: 0.8913 MB / 0.4955 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.4229, allocations: 109.3 kB / 0.4956 GB, free: 3.719 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001536/0.4245, allocations: 0.7914 MB / 0.4964 GB, free: 2.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.4248, allocations: 270.9 kB / 0.4966 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.642e-05/0.4248, allocations: 36 kB / 0.4966 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002662/0.4251, allocations: 127.9 kB / 0.4968 GB, free: 2.504 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.4252, allocations: 87.73 kB / 0.4969 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.4254, allocations: 191.2 kB / 0.497 GB, free: 2.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005664/0.426, allocations: 0.5102 MB / 0.4975 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.426, allocations: 0 / 0.4975 GB, free: 1.719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.426, allocations: 0 / 0.4975 GB, free: 1.719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.426, allocations: 0 / 0.4975 GB, free: 1.719 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.0008436/0.4269, allocations: 0.5969 MB / 0.4981 GB, free: 1.074 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.4269, allocations: 15.89 kB / 0.4981 GB, free: 1.059 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002758/0.4272, allocations: 39.7 kB / 0.4982 GB, free: 1.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000437/0.4277, allocations: 294.3 kB / 0.4985 GB, free: 0.6914 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.4277, allocations: 24.06 kB / 0.4985 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.642e-05/0.4277, allocations: 24 kB / 0.4985 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.4282, allocations: 323.6 kB / 0.4988 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4282, allocations: 0 / 0.4988 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.4283, allocations: 15.94 kB / 0.4988 GB, free: 296 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.908e-06/0.4283, allocations: 8 kB / 0.4988 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.4286, allocations: 201.6 kB / 0.499 GB, free: 88 kB / 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.001726/0.4303, allocations: 1.596 MB / 0.5006 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000278/0.4306, allocations: 166.8 kB / 0.5007 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001447/0.4308, allocations: 105.1 kB / 0.5008 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.787e-05/0.4308, allocations: 7.984 kB / 0.5008 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4309, allocations: 34.56 kB / 0.5009 GB, free: 14.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 1.453e-06/0.4309, allocations: 4 kB / 0.5009 GB, free: 14.01 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.005286/0.4362, allocations: 1.6 MB / 0.5024 GB, free: 12.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.4362, allocations: 59.39 kB / 0.5025 GB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/0.4365, allocations: 249 kB / 0.5027 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.405e-05/0.4365, allocations: 33.7 kB / 0.5028 GB, free: 11.91 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.4366, allocations: 184.1 kB / 0.5029 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.124e-05/0.4367, allocations: 90.66 kB / 0.503 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.4368, allocations: 85.59 kB / 0.5031 GB, free: 11.55 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.437, allocations: 334.8 kB / 0.5034 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001519/0.4371, allocations: 91.95 kB / 0.5035 GB, free: 11.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002092/0.4374, allocations: 191.7 kB / 0.5037 GB, free: 10.89 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003865/0.4378, allocations: 307.8 kB / 0.504 GB, free: 10.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4378, allocations: 3.938 kB / 0.504 GB, free: 10.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006011/0.4384, allocations: 391.2 kB / 0.5044 GB, free: 10.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.4384, allocations: 8 kB / 0.5044 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.4384, allocations: 7.984 kB / 0.5044 GB, free: 10.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002122/0.4386, allocations: 70.09 kB / 0.5045 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003434/0.439, allocations: 91.89 kB / 0.5045 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001459/0.4405, allocations: 1.952 MB / 0.5065 GB, free: 7.852 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.4407, allocations: 12 kB / 0.5065 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.4407, allocations: 35.98 kB / 0.5065 GB, free: 7.805 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.0001824/0.4409, allocations: 158.8 kB / 0.5066 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.792e-05/0.441, allocations: 31.62 kB / 0.5067 GB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008807/0.4419, allocations: 448.8 kB / 0.5071 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4419, allocations: 7.938 kB / 0.5071 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.4419, allocations: 0 / 0.5071 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005669/0.4425, allocations: 0.5591 MB / 0.5077 GB, free: 6.496 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.4435, allocations: 0.7391 MB / 0.5084 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.4435, allocations: 4.062 kB / 0.5084 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003235/0.4439, allocations: 71.89 kB / 0.5085 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.077e-05/0.4439, allocations: 20.84 kB / 0.5085 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/0.444, allocations: 12 kB / 0.5085 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008535/0.4448, allocations: 1.378 MB / 0.5098 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.4448, allocations: 0 / 0.5098 GB, free: 4.062 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.4455, allocations: 482.7 kB / 0.5103 GB, free: 3.566 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.345e-05/0.4456, allocations: 104.8 kB / 0.5104 GB, free: 3.445 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.849e-05/0.4456, allocations: 8 kB / 0.5104 GB, free: 3.438 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002292/0.4458, allocations: 8 kB / 0.5104 GB, free: 3.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.092e-05/0.4459, allocations: 23.97 kB / 0.5104 GB, free: 3.406 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.446, allocations: 27.98 kB / 0.5105 GB, free: 3.379 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001716/0.4461, allocations: 198 kB / 0.5106 GB, free: 3.188 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.4461, allocations: 0 / 0.5106 GB, free: 3.188 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004644/0.4466, allocations: 116 kB / 0.5108 GB, free: 3.074 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.0003407/0.447, allocations: 155.1 kB / 0.5109 GB, free: 2.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006138/0.4476, allocations: 379 kB / 0.5113 GB, free: 2.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.4476, allocations: 4 kB / 0.5113 GB, free: 2.527 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002718/0.4479, allocations: 227.3 kB / 0.5115 GB, free: 2.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008353/0.4487, allocations: 188.1 kB / 0.5117 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.4498, allocations: 0.6868 MB / 0.5123 GB, free: 1.391 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4501, allocations: 0.7606 MB / 0.5131 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00037/0.4505, allocations: 126.9 kB / 0.5132 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.4506, allocations: 55.42 kB / 0.5133 GB, free: 436 kB / 414.1 MB Notification: Performance of SimCode: time 3e-07/0.4506, allocations: 0 / 0.5133 GB, free: 436 kB / 414.1 MB Notification: Performance of Templates: time 0.0127/0.4633, allocations: 8.698 MB / 0.5217 GB, free: 7.715 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 -s cvode -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/jenkins1/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/jenkins1/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