Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001879/0.001879, allocations: 114.5 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002217/0.002217, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2216/0.2216, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002312/0.002312, allocations: 75.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3303, allocations: 65.98 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04555/0.3758, allocations: 39.76 MB / 0.6 GB, free: 13.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02587/0.4017, allocations: 20.33 MB / 0.6199 GB, free: 8.703 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008314/0.4025, allocations: 19.88 kB / 0.6199 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001262/0.4038, allocations: 453.3 kB / 0.6203 GB, free: 8.238 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01343/0.4172, allocations: 5.135 MB / 0.6254 GB, free: 3.102 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0071/0.4243, allocations: 2.578 MB / 0.6279 GB, free: 0.5234 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003576/0.4279, allocations: 1.997 MB / 0.6298 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.429, allocations: 421.6 kB / 0.6302 GB, free: 14.09 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009302/0.4383, allocations: 4.18 MB / 0.6343 GB, free: 9.855 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01059/0.4489, allocations: 5.506 MB / 0.6397 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002651/0.4491, allocations: 72 kB / 0.6398 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.464, allocations: 7.407 MB / 0.647 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004975/0.4645, allocations: 291.1 kB / 0.6473 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006649/0.4651, allocations: 458 kB / 0.6477 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01178/0.4769, allocations: 5.12 MB / 0.6527 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4769, allocations: 0 / 0.6527 GB, free: 6.914 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4769, allocations: 4 kB / 0.6527 GB, free: 6.91 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4769, allocations: 0 / 0.6527 GB, free: 6.91 MB / 494.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.0045/0.4814, allocations: 1.742 MB / 0.6544 GB, free: 5.113 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.4815, allocations: 8.031 kB / 0.6544 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002202/0.4837, allocations: 300.2 kB / 0.6547 GB, free: 4.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4847, allocations: 0.5915 MB / 0.6553 GB, free: 4.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.4849, allocations: 125.2 kB / 0.6554 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.485, allocations: 64.06 kB / 0.6555 GB, free: 3.984 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002645/0.4876, allocations: 1.189 MB / 0.6566 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.4876, allocations: 8 kB / 0.6566 GB, free: 2.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.4877, allocations: 31.98 kB / 0.6567 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.514e-05/0.4878, allocations: 45.23 kB / 0.6567 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002596/0.4904, allocations: 1.023 MB / 0.6577 GB, free: 1.586 MB / 494.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.007097/0.4975, allocations: 5.611 MB / 0.6632 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002409/0.4999, allocations: 0.7353 MB / 0.6639 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006094/0.5005, allocations: 281.1 kB / 0.6642 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03753/0.538, allocations: 17.36 MB / 0.6811 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.495e-05/0.5381, allocations: 38.56 kB / 0.6812 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.5381, allocations: 0 / 0.6812 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.007118/0.5452, allocations: 2.287 MB / 0.6834 GB, free: 4.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.831e-05/0.5453, allocations: 162.6 kB / 0.6835 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008241/0.5461, allocations: 0.6172 MB / 0.6842 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.177e-05/0.5462, allocations: 29.73 kB / 0.6842 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000311/0.5465, allocations: 400.3 kB / 0.6846 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.5467, allocations: 186.4 kB / 0.6847 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000241/0.5469, allocations: 162.6 kB / 0.6849 GB, free: 3.047 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5471, allocations: 374.8 kB / 0.6853 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/0.5477, allocations: 273.8 kB / 0.6855 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/0.5487, allocations: 0.616 MB / 0.6861 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.5504, allocations: 0.8987 MB / 0.687 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.5504, allocations: 4 kB / 0.687 GB, free: 0.5898 MB / 0.5137 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002053/0.5524, allocations: 0.9645 MB / 0.6879 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.5525, allocations: 12.97 kB / 0.6879 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.748e-05/0.5525, allocations: 8 kB / 0.688 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.5528, allocations: 64.83 kB / 0.688 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.5541, allocations: 299.6 kB / 0.6883 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.556, allocations: 2.087 MB / 0.6903 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005885/0.5566, allocations: 47.91 kB / 0.6904 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.487e-05/0.5567, allocations: 40 kB / 0.6904 GB, free: 12.89 MB / 0.5294 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.0004212/0.5571, allocations: 265.5 kB / 0.6907 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.5573, allocations: 79.61 kB / 0.6908 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/0.5608, allocations: 2.548 MB / 0.6932 GB, free: 9.984 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5608, allocations: 3.984 kB / 0.6932 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5608, allocations: 0 / 0.6932 GB, free: 9.98 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.5612, allocations: 259.9 kB / 0.6935 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.5613, allocations: 35.77 kB / 0.6935 GB, free: 9.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005573/0.5618, allocations: 51.94 kB / 0.6936 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.5619, allocations: 48.5 kB / 0.6936 GB, free: 9.574 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003069/0.565, allocations: 1.63 MB / 0.6952 GB, free: 7.934 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003263/0.5683, allocations: 2.259 MB / 0.6974 GB, free: 5.652 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008249/0.5691, allocations: 0.5251 MB / 0.6979 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0008062/0.5699, allocations: 0.5653 MB / 0.6985 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of Backend: time 5.31e-07/0.5699, allocations: 0 / 0.6985 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008439/0.5783, allocations: 2.13 MB / 0.7006 GB, free: 2.441 MB / 0.5294 GB Notification: Performance of SimCode: time 0.004298/0.5826, allocations: 2.569 MB / 0.7031 GB, free: 15.81 MB / 0.545 GB Notification: Performance of Templates: time 0.3119/0.8946, allocations: 52.45 MB / 0.7543 GB, free: 154.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97_ph/WaterIF97_ph.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.21616277936846]