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.001438/0.001438, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001592/0.001592, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.349/1.349, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001139/0.001139, allocations: 44.41 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07987/0.08102, 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.3179/0.399, allocations: 173.6 MB / 0.4906 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004036/0.4031, allocations: 3.213 MB / 0.4937 GB, free: 5.578 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.4033, allocations: 4 kB / 0.4937 GB, free: 5.574 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.4038, allocations: 174.9 kB / 0.4939 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007747/0.4046, allocations: 399.2 kB / 0.4943 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007699/0.4054, allocations: 344 kB / 0.4946 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008537/0.4063, allocations: 0.8952 MB / 0.4955 GB, free: 3.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002078/0.4065, allocations: 104.6 kB / 0.4956 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00155/0.408, allocations: 0.7939 MB / 0.4963 GB, free: 2.891 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003335/0.4084, allocations: 278.8 kB / 0.4966 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.4085, allocations: 32 kB / 0.4966 GB, free: 2.586 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000301/0.4088, allocations: 127.9 kB / 0.4968 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.4089, allocations: 91.72 kB / 0.4969 GB, free: 2.371 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001935/0.4091, allocations: 187.3 kB / 0.497 GB, free: 2.188 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005705/0.4097, allocations: 0.5102 MB / 0.4975 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4097, allocations: 0 / 0.4975 GB, free: 1.676 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.4097, allocations: 0 / 0.4975 GB, free: 1.676 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.4097, allocations: 0 / 0.4975 GB, free: 1.676 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.0008772/0.4106, allocations: 0.6047 MB / 0.4981 GB, free: 1.023 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.4106, allocations: 11.89 kB / 0.4981 GB, free: 1.012 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002967/0.4109, allocations: 39.7 kB / 0.4982 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004835/0.4114, allocations: 294.4 kB / 0.4984 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.4115, allocations: 20.56 kB / 0.4985 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.501e-05/0.4115, allocations: 24 kB / 0.4985 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004749/0.412, allocations: 315.7 kB / 0.4988 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.412, allocations: 0 / 0.4988 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.677e-05/0.4121, allocations: 19.88 kB / 0.4988 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.4121, allocations: 15.98 kB / 0.4988 GB, free: 236 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.4124, allocations: 201.6 kB / 0.499 GB, free: 36 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.001768/0.4142, allocations: 1.577 MB / 0.5006 GB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000312/0.4145, allocations: 179.6 kB / 0.5007 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001496/0.4147, allocations: 101.1 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.952e-05/0.4147, allocations: 4 kB / 0.5008 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.4148, allocations: 38.56 kB / 0.5009 GB, free: 13.97 MB / 414.1 MB Notification: Performance of pre-optimization done (n=22): time 3.226e-06/0.4148, allocations: 0 / 0.5009 GB, free: 13.97 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.005274/0.4201, allocations: 1.613 MB / 0.5024 GB, free: 12.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.13e-05/0.4201, allocations: 55.41 kB / 0.5025 GB, free: 12.16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.4204, allocations: 256.9 kB / 0.5027 GB, free: 11.9 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.668e-05/0.4204, allocations: 29.7 kB / 0.5028 GB, free: 11.87 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.4206, allocations: 176.2 kB / 0.5029 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/0.4206, allocations: 94.64 kB / 0.503 GB, free: 11.59 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001479/0.4208, allocations: 89.59 kB / 0.5031 GB, free: 11.5 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.4209, allocations: 334.8 kB / 0.5034 GB, free: 11.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.4211, allocations: 91.95 kB / 0.5035 GB, free: 11.07 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.4213, allocations: 195.7 kB / 0.5037 GB, free: 10.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.4218, allocations: 299.8 kB / 0.504 GB, free: 10.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4218, allocations: 3.938 kB / 0.504 GB, free: 10.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006692/0.4225, allocations: 399.2 kB / 0.5044 GB, free: 10.1 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.4225, allocations: 4 kB / 0.5044 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.4225, allocations: 4 kB / 0.5044 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002203/0.4227, allocations: 82.02 kB / 0.5045 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003523/0.4231, allocations: 83.89 kB / 0.5045 GB, free: 9.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.4246, allocations: 1.947 MB / 0.5064 GB, free: 7.812 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.4248, allocations: 8 kB / 0.5064 GB, free: 7.805 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-05/0.4249, allocations: 43.98 kB / 0.5065 GB, free: 7.762 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.0001674/0.425, allocations: 158.8 kB / 0.5066 GB, free: 7.598 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.4251, allocations: 27.62 kB / 0.5067 GB, free: 7.57 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008396/0.426, allocations: 447.1 kB / 0.5071 GB, free: 7.117 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.426, allocations: 7.984 kB / 0.5071 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.426, allocations: 0 / 0.5071 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005396/0.4265, allocations: 0.5552 MB / 0.5076 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009965/0.4275, allocations: 0.7507 MB / 0.5084 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.4276, allocations: 0 / 0.5084 GB, free: 5.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.4279, allocations: 67.89 kB / 0.5084 GB, free: 5.582 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.376e-05/0.428, allocations: 20.84 kB / 0.5085 GB, free: 5.559 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.428, allocations: 12 kB / 0.5085 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008804/0.4289, allocations: 1.383 MB / 0.5098 GB, free: 4.023 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.4289, allocations: 4.031 kB / 0.5098 GB, free: 4.02 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006322/0.4295, allocations: 474.7 kB / 0.5103 GB, free: 3.531 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.4296, allocations: 104.8 kB / 0.5104 GB, free: 3.41 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.094e-05/0.4297, allocations: 8 kB / 0.5104 GB, free: 3.402 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002365/0.4299, allocations: 8 kB / 0.5104 GB, free: 3.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.43, allocations: 28.03 kB / 0.5104 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.43, allocations: 28.86 kB / 0.5105 GB, free: 3.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002068/0.4302, allocations: 197.9 kB / 0.5106 GB, free: 3.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.4303, allocations: 0 / 0.5106 GB, free: 3.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005014/0.4308, allocations: 120 kB / 0.5108 GB, free: 3.031 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.0003558/0.4311, allocations: 155 kB / 0.5109 GB, free: 2.871 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006437/0.4318, allocations: 379.9 kB / 0.5113 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4318, allocations: 0 / 0.5113 GB, free: 2.488 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002858/0.4321, allocations: 234.5 kB / 0.5115 GB, free: 2.246 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008833/0.433, allocations: 160.3 kB / 0.5116 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.4341, allocations: 0.6946 MB / 0.5123 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.4344, allocations: 0.7606 MB / 0.5131 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003876/0.4348, allocations: 114.9 kB / 0.5132 GB, free: 476 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.435, allocations: 71.39 kB / 0.5132 GB, free: 404 kB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.435, allocations: 3.938 kB / 0.5132 GB, free: 400 kB / 414.1 MB Notification: Performance of Templates: time 0.01341/0.4484, allocations: 8.699 MB / 0.5217 GB, free: 7.68 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 gbode -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