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.0009538/0.0009543, allocations: 95.36 kB / 17.3 MB, free: 6.344 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.001062/0.001062, allocations: 180.2 kB / 18.21 MB, free: 5.531 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.528/1.528, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.000461/0.0004611, allocations: 12.52 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1022, allocations: 47.59 MB / 329 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam): time 0.4003/0.5026, allocations: 169.2 MB / 498.2 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004488/0.5071, allocations: 3.181 MB / 0.4896 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004138/0.5075, allocations: 4 kB / 0.4896 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007628/0.5083, allocations: 147.2 kB / 0.4898 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.5097, allocations: 379.7 kB / 0.4901 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.5108, allocations: 312.2 kB / 0.4904 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.5127, allocations: 1.344 MB / 0.4917 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.513, allocations: 85.44 kB / 0.4918 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002074/0.515, allocations: 0.7055 MB / 0.4925 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.5156, allocations: 286.8 kB / 0.4928 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.564e-05/0.5157, allocations: 16 kB / 0.4928 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004626/0.5162, allocations: 107.9 kB / 0.4929 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001705/0.5164, allocations: 75.72 kB / 0.493 GB, free: 9.969 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003567/0.5168, allocations: 204.9 kB / 0.4932 GB, free: 9.762 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.5175, allocations: 0.4906 MB / 0.4936 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.5176, allocations: 0 / 0.4936 GB, free: 9.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5176, allocations: 0 / 0.4936 GB, free: 9.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.5176, allocations: 0 / 0.4936 GB, free: 9.27 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.0008851/0.5185, allocations: 0.5268 MB / 0.4941 GB, free: 8.695 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5185, allocations: 8.031 kB / 0.4942 GB, free: 8.688 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003792/0.5189, allocations: 47.55 kB / 0.4942 GB, free: 8.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.5194, allocations: 282.4 kB / 0.4945 GB, free: 8.324 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.506e-05/0.5194, allocations: 16.56 kB / 0.4945 GB, free: 8.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.595e-05/0.5195, allocations: 28 kB / 0.4945 GB, free: 8.281 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005976/0.5201, allocations: 319.6 kB / 0.4948 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.215e-05/0.5201, allocations: 7.984 kB / 0.4948 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.533e-05/0.5202, allocations: 17.19 kB / 0.4948 GB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.828e-06/0.5202, allocations: 4 kB / 0.4948 GB, free: 7.91 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003859/0.5206, allocations: 209.5 kB / 0.495 GB, free: 7.707 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.002086/0.5227, allocations: 1.581 MB / 0.4966 GB, free: 5.977 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003309/0.523, allocations: 178.7 kB / 0.4968 GB, free: 5.793 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.5232, allocations: 101.1 kB / 0.4969 GB, free: 5.691 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.197e-05/0.5232, allocations: 7.984 kB / 0.4969 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.5233, allocations: 34.56 kB / 0.4969 GB, free: 5.641 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.773e-06/0.5233, allocations: 0 / 0.4969 GB, free: 5.641 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.005701/0.529, allocations: 1.622 MB / 0.4985 GB, free: 3.883 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.529, allocations: 55.41 kB / 0.4985 GB, free: 3.816 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.5293, allocations: 252.9 kB / 0.4988 GB, free: 3.562 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.248e-05/0.5294, allocations: 33.7 kB / 0.4988 GB, free: 3.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.5295, allocations: 180.1 kB / 0.499 GB, free: 3.34 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.5296, allocations: 94.59 kB / 0.4991 GB, free: 3.246 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.5297, allocations: 37.7 kB / 0.4991 GB, free: 3.203 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.5298, allocations: 342.8 kB / 0.4994 GB, free: 2.859 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00017/0.53, allocations: 91.73 kB / 0.4995 GB, free: 2.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.5302, allocations: 187.8 kB / 0.4997 GB, free: 2.543 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004285/0.5307, allocations: 316.2 kB / 0.5 GB, free: 2.191 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.5307, allocations: 3.938 kB / 0.5 GB, free: 2.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000714/0.5314, allocations: 394.7 kB / 0.5004 GB, free: 1.789 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.5314, allocations: 4 kB / 0.5004 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.5314, allocations: 4 kB / 0.5004 GB, free: 1.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002391/0.5317, allocations: 74.08 kB / 0.5005 GB, free: 1.703 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003494/0.5321, allocations: 91.83 kB / 0.5005 GB, free: 1.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001442/0.5335, allocations: 1.856 MB / 0.5024 GB, free: 15.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.5338, allocations: 19.98 kB / 0.5024 GB, free: 15.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.686e-05/0.5339, allocations: 36 kB / 0.5024 GB, free: 15.54 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.0001855/0.534, allocations: 157.8 kB / 0.5026 GB, free: 15.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.391e-05/0.5341, allocations: 31.66 kB / 0.5026 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009718/0.5351, allocations: 443.6 kB / 0.503 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5351, allocations: 4 kB / 0.503 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.5351, allocations: 0 / 0.503 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005357/0.5357, allocations: 0.5591 MB / 0.5036 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.5367, allocations: 0.7349 MB / 0.5043 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/0.5367, allocations: 7.938 kB / 0.5043 GB, free: 13.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/0.5371, allocations: 63.95 kB / 0.5044 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001015/0.5372, allocations: 20.84 kB / 0.5044 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/0.5372, allocations: 15.98 kB / 0.5044 GB, free: 13.33 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00109/0.5383, allocations: 1.284 MB / 0.5056 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5384, allocations: 0 / 0.5056 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006949/0.5391, allocations: 486.6 kB / 0.5061 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.5392, allocations: 112.8 kB / 0.5062 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.127e-05/0.5392, allocations: 4 kB / 0.5062 GB, free: 11.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.5395, allocations: 11.98 kB / 0.5062 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.058e-05/0.5396, allocations: 31.97 kB / 0.5063 GB, free: 11.24 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.537e-05/0.5396, allocations: 39.92 kB / 0.5063 GB, free: 11.2 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.5398, allocations: 182 kB / 0.5065 GB, free: 11.02 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.5399, allocations: 0 / 0.5065 GB, free: 11.02 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005539/0.5404, allocations: 135.9 kB / 0.5066 GB, free: 10.89 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.0004619/0.5409, allocations: 143.2 kB / 0.5067 GB, free: 10.74 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007304/0.5416, allocations: 371.2 kB / 0.5071 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.5416, allocations: 0 / 0.5071 GB, free: 10.37 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003078/0.542, allocations: 234.5 kB / 0.5073 GB, free: 10.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.543, allocations: 154.5 kB / 0.5075 GB, free: 9.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.5445, allocations: 0.8676 MB / 0.5083 GB, free: 9.078 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/0.5449, allocations: 0.7645 MB / 0.5091 GB, free: 8.289 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0006381/0.5456, allocations: 118.9 kB / 0.5092 GB, free: 8.172 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000221/0.5458, allocations: 67.34 kB / 0.5092 GB, free: 8.105 MB / 414.1 MB Notification: Performance of SimCode: time 7.31e-07/0.5458, allocations: 0 / 0.5092 GB, free: 8.105 MB / 414.1 MB Notification: Performance of Templates: time 0.01622/0.562, allocations: 8.412 MB / 0.5174 GB, free: 15.69 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