Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001152/0.001152, allocations: 109.9 kB / 18.45 MB, free: 4.602 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.001181/0.001182, allocations: 185.9 kB / 19.38 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 222.9 MB / 243.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.17 MB / 337.4 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3369, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0392/0.3761, allocations: 39.01 MB / 0.5577 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02417/0.4003, allocations: 20.16 MB / 0.5774 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.4014, allocations: 23.88 kB / 0.5774 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.4029, allocations: 445.3 kB / 0.5778 GB, free: 256 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.4166, allocations: 5.131 MB / 0.5828 GB, free: 11.12 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006576/0.4232, allocations: 2.563 MB / 0.5853 GB, free: 8.559 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002684/0.4259, allocations: 1.989 MB / 0.5873 GB, free: 6.559 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008926/0.4268, allocations: 497.4 kB / 0.5878 GB, free: 6.059 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01047/0.4373, allocations: 4.168 MB / 0.5918 GB, free: 1.836 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01223/0.4496, allocations: 5.436 MB / 0.5971 GB, free: 12.31 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003037/0.4499, allocations: 72 kB / 0.5972 GB, free: 12.24 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01597/0.4659, allocations: 7.387 MB / 0.6044 GB, free: 4.848 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005478/0.4665, allocations: 287.2 kB / 0.6047 GB, free: 4.566 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008987/0.4674, allocations: 461.9 kB / 0.6051 GB, free: 4.113 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01457/0.482, allocations: 5.103 MB / 0.6101 GB, free: 15 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.482, allocations: 0 / 0.6101 GB, free: 15 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.482, allocations: 4 kB / 0.6101 GB, free: 15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.484e-05/0.4821, allocations: 0 / 0.6101 GB, free: 15 MB / 478.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.005762/0.4878, allocations: 1.684 MB / 0.6118 GB, free: 13.26 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.4879, allocations: 8.031 kB / 0.6118 GB, free: 13.25 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.4905, allocations: 295.6 kB / 0.6121 GB, free: 12.96 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.4919, allocations: 0.591 MB / 0.6126 GB, free: 12.33 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.4921, allocations: 113.3 kB / 0.6127 GB, free: 12.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.4922, allocations: 68.11 kB / 0.6128 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003076/0.4953, allocations: 1.189 MB / 0.614 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.4954, allocations: 3.938 kB / 0.614 GB, free: 10.85 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4955, allocations: 28 kB / 0.614 GB, free: 10.82 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.37e-05/0.4956, allocations: 41.3 kB / 0.614 GB, free: 10.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002777/0.4984, allocations: 1.027 MB / 0.615 GB, free: 9.75 MB / 478.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.007732/0.5061, allocations: 5.603 MB / 0.6205 GB, free: 3.773 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002634/0.5088, allocations: 0.7584 MB / 0.6213 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006642/0.5095, allocations: 285.5 kB / 0.6215 GB, free: 2.715 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03489/0.5444, allocations: 15.95 MB / 0.6371 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.135e-05/0.5445, allocations: 43.27 kB / 0.6371 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of pre-optimization done (n=45): time 4.228e-06/0.5445, allocations: 0 / 0.6371 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of matching and sorting (n=49): time 0.008952/0.5534, allocations: 2.278 MB / 0.6394 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5536, allocations: 162.7 kB / 0.6395 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009547/0.5546, allocations: 0.6093 MB / 0.6401 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.654e-05/0.5547, allocations: 37.7 kB / 0.6401 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003653/0.555, allocations: 391.2 kB / 0.6405 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.5552, allocations: 177.5 kB / 0.6407 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002733/0.5555, allocations: 158.5 kB / 0.6408 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.5558, allocations: 378.8 kB / 0.6412 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006945/0.5565, allocations: 281.8 kB / 0.6415 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001053/0.5575, allocations: 0.6004 MB / 0.6421 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/0.5591, allocations: 0.9064 MB / 0.6429 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.5591, allocations: 4 kB / 0.6429 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002054/0.5612, allocations: 0.9534 MB / 0.6439 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.506e-05/0.5612, allocations: 12.03 kB / 0.6439 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.5612, allocations: 12 kB / 0.6439 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003103/0.5616, allocations: 68.75 kB / 0.644 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001321/0.5629, allocations: 295.6 kB / 0.6443 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001956/0.5649, allocations: 2.077 MB / 0.6463 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006661/0.5655, allocations: 43.97 kB / 0.6463 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.393e-05/0.5656, allocations: 47.92 kB / 0.6464 GB, free: 6.793 MB / 0.4981 GB 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.0004277/0.5661, allocations: 277.6 kB / 0.6466 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.5663, allocations: 75.09 kB / 0.6467 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003453/0.5697, allocations: 2.539 MB / 0.6492 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.5698, allocations: 4 kB / 0.6492 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.5698, allocations: 0 / 0.6492 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.5702, allocations: 251.3 kB / 0.6494 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5703, allocations: 35.62 kB / 0.6495 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.571, allocations: 55.97 kB / 0.6495 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5711, allocations: 48.48 kB / 0.6496 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003043/0.5742, allocations: 1.633 MB / 0.6512 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003123/0.5773, allocations: 2.254 MB / 0.6534 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009343/0.5782, allocations: 0.6656 MB / 0.654 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008634/0.5791, allocations: 0.5654 MB / 0.6546 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of Backend: time 6.22e-07/0.5791, allocations: 0 / 0.6546 GB, free: 14.32 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01041/0.5895, allocations: 2.123 MB / 0.6566 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004685/0.5943, allocations: 2.539 MB / 0.6591 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of Templates: time 0.08941/0.6837, allocations: 51.92 MB / 0.7098 GB, free: 5.812 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches