Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001192/0.001197, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001446/0.001446, allocations: 206.3 kB / 16.79 MB, free: 6.84 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3798/0.3798, allocations: 43.5 MB / 313.5 MB, free: 8.285 MB / 254.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.001747/0.001747, allocations: 63.91 kB / 382 MB, free: 8.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1416, allocations: 57.78 MB / 439.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.2892/0.4308, allocations: 40.26 MB / 480.1 MB, free: 26.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01921/0.4501, allocations: 21.24 MB / 0.4896 GB, free: 12.13 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.4514, allocations: 27.81 kB / 0.4896 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.4526, allocations: 402.3 kB / 0.49 GB, free: 11.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01388/0.4665, allocations: 4.157 MB / 0.494 GB, free: 9.996 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009925/0.4765, allocations: 2.242 MB / 0.4962 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004807/0.4813, allocations: 2.843 MB / 0.499 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009781/0.4823, allocations: 419 kB / 0.4994 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01164/0.4939, allocations: 4.036 MB / 0.5034 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0123/0.5063, allocations: 5.47 MB / 0.5087 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002682/0.5066, allocations: 37.25 kB / 0.5087 GB, free: 3.395 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01409/0.5207, allocations: 7.266 MB / 0.5158 GB, free: 284 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000487/0.5212, allocations: 248.3 kB / 0.5161 GB, free: 120 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008591/0.5221, allocations: 427 kB / 0.5165 GB, free: 15.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01644/0.5385, allocations: 5.083 MB / 0.5214 GB, free: 12.62 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5385, allocations: 4 kB / 0.5214 GB, free: 12.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.5386, allocations: 0 / 0.5214 GB, free: 12.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.454e-05/0.5386, allocations: 0 / 0.5214 GB, free: 12.61 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006835/0.5454, allocations: 1.678 MB / 0.5231 GB, free: 11.44 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.5455, allocations: 9.312 kB / 0.5231 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.5479, allocations: 309.3 kB / 0.5234 GB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009613/0.5489, allocations: 0.5608 MB / 0.5239 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001209/0.549, allocations: 122.1 kB / 0.524 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.5491, allocations: 54.28 kB / 0.5241 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002972/0.5521, allocations: 1.198 MB / 0.5253 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.45e-05/0.5521, allocations: 7.938 kB / 0.5253 GB, free: 9.805 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.551e-05/0.5522, allocations: 27.98 kB / 0.5253 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/0.5523, allocations: 41.3 kB / 0.5253 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002455/0.5548, allocations: 1.023 MB / 0.5263 GB, free: 8.711 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.006558/0.5613, allocations: 5.611 MB / 0.5318 GB, free: 2.734 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002284/0.5636, allocations: 0.751 MB / 0.5326 GB, free: 1.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/0.5642, allocations: 298.2 kB / 0.5328 GB, free: 1.668 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/0.5964, allocations: 15.86 MB / 0.5483 GB, free: 15.93 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/0.5965, allocations: 46.45 kB / 0.5484 GB, free: 15.88 MB / 430.1 MB Notification: Performance of pre-optimization done (n=45): time 3.126e-06/0.5965, allocations: 0 / 0.5484 GB, free: 15.88 MB / 430.1 MB Notification: Performance of matching and sorting (n=49): time 0.007018/0.6035, allocations: 2.273 MB / 0.5506 GB, free: 13.55 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.6036, allocations: 158.7 kB / 0.5507 GB, free: 13.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.6045, allocations: 0.6094 MB / 0.5513 GB, free: 12.74 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.287e-05/0.6045, allocations: 41.64 kB / 0.5514 GB, free: 12.69 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003966/0.6049, allocations: 383.3 kB / 0.5517 GB, free: 12.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.6051, allocations: 177.5 kB / 0.5519 GB, free: 12.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.6054, allocations: 158.6 kB / 0.5521 GB, free: 11.98 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000244/0.6056, allocations: 374.8 kB / 0.5524 GB, free: 11.6 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006241/0.6063, allocations: 285.8 kB / 0.5527 GB, free: 11.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008512/0.6071, allocations: 0.6043 MB / 0.5533 GB, free: 10.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001515/0.6086, allocations: 0.8987 MB / 0.5542 GB, free: 9.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.6087, allocations: 7.938 kB / 0.5542 GB, free: 9.512 MB / 430.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001751/0.6104, allocations: 0.9591 MB / 0.5551 GB, free: 8.547 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/0.6105, allocations: 8 kB / 0.5551 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.713e-05/0.6105, allocations: 16.16 kB / 0.5551 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003446/0.6108, allocations: 60.83 kB / 0.5552 GB, free: 8.461 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001395/0.6122, allocations: 303.5 kB / 0.5555 GB, free: 8.164 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.6139, allocations: 1.995 MB / 0.5574 GB, free: 6.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00082/0.6147, allocations: 79.83 kB / 0.5575 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/0.6149, allocations: 40 kB / 0.5575 GB, free: 5.898 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004874/0.6154, allocations: 273.4 kB / 0.5578 GB, free: 5.621 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6155, allocations: 75.14 kB / 0.5579 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.6191, allocations: 2.552 MB / 0.5604 GB, free: 2.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.673e-05/0.6192, allocations: 39.89 kB / 0.5604 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.6192, allocations: 48 / 0.5604 GB, free: 2.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6192, allocations: 11.97 kB / 0.5604 GB, free: 2.938 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004742/0.624, allocations: 3.754 MB / 0.5641 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.624, allocations: 4 kB / 0.5641 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.6252, allocations: 223.7 kB / 0.5643 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.6256, allocations: 84.78 kB / 0.5644 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.6256, allocations: 15.98 kB / 0.5644 GB, free: 14.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/0.6274, allocations: 1.992 MB / 0.5663 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.6274, allocations: 0 / 0.5663 GB, free: 12.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00317/0.6306, allocations: 2.342 MB / 0.5686 GB, free: 10.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005194/0.6311, allocations: 255.4 kB / 0.5689 GB, free: 10.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.6313, allocations: 35.69 kB / 0.5689 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005497/0.6318, allocations: 59.73 kB / 0.569 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001549/0.632, allocations: 52.48 kB / 0.569 GB, free: 9.863 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-05/0.6321, allocations: 19.98 kB / 0.569 GB, free: 9.844 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0008559/0.6329, allocations: 0.5614 MB / 0.5696 GB, free: 9.281 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6329, allocations: 0 / 0.5696 GB, free: 9.281 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005136/0.6381, allocations: 1.093 MB / 0.5706 GB, free: 8.188 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005662/0.6437, allocations: 1.226 MB / 0.5718 GB, free: 6.965 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002628/0.6464, allocations: 1.104 MB / 0.5729 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.6464, allocations: 0 / 0.5729 GB, free: 5.867 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001616/0.648, allocations: 0.8207 MB / 0.5737 GB, free: 5.043 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6501, allocations: 377.9 kB / 0.5741 GB, free: 4.676 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003679/0.6538, allocations: 2.983 MB / 0.577 GB, free: 1.664 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006638/0.6544, allocations: 1.161 MB / 0.5781 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0008645/0.6553, allocations: 448.6 kB / 0.5786 GB, free: 40 kB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.6555, allocations: 71.42 kB / 0.5786 GB, free: 15.97 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.6555, allocations: 0 / 0.5786 GB, free: 15.97 MB / 462.1 MB Notification: Performance of Templates: time 0.06324/0.7187, allocations: 46 MB / 0.6235 GB, free: 1.973 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches