Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 204.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.461/1.461, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2396/0.2396, allocations: 46.96 MB / 361.6 MB, free: 4.047 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 59.91 kB / 0.4974 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3301, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.04566/0.3758, allocations: 35.86 MB / 0.5969 GB, free: 180 kB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.02481/0.4006, allocations: 18.05 MB / 0.6145 GB, free: 14.06 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007199/0.4013, allocations: 27.75 kB / 0.6145 GB, free: 14.03 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00123/0.4025, allocations: 417.4 kB / 0.6149 GB, free: 13.62 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01597/0.4185, allocations: 5.116 MB / 0.6199 GB, free: 8.504 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007528/0.426, allocations: 2.54 MB / 0.6224 GB, free: 5.965 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003198/0.4292, allocations: 2.012 MB / 0.6244 GB, free: 3.945 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007896/0.43, allocations: 421.7 kB / 0.6248 GB, free: 3.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009394/0.4394, allocations: 4.18 MB / 0.6288 GB, free: 15.29 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01104/0.4505, allocations: 5.51 MB / 0.6342 GB, free: 9.691 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002594/0.4507, allocations: 68 kB / 0.6343 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0142/0.4649, allocations: 7.333 MB / 0.6415 GB, free: 2.285 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.4654, allocations: 295 kB / 0.6417 GB, free: 1.996 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.466, allocations: 378.4 kB / 0.6421 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01126/0.4773, allocations: 5.116 MB / 0.6471 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.4773, allocations: 0 / 0.6471 GB, free: 12.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.4773, allocations: 0 / 0.6471 GB, free: 12.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.35e-05/0.4773, allocations: 0 / 0.6471 GB, free: 12.5 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.004949/0.4823, allocations: 1.651 MB / 0.6487 GB, free: 10.81 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4823, allocations: 16.03 kB / 0.6487 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002376/0.4847, allocations: 304.1 kB / 0.649 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00114/0.4858, allocations: 0.5219 MB / 0.6495 GB, free: 9.945 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001877/0.486, allocations: 172.7 kB / 0.6497 GB, free: 9.75 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.4861, allocations: 68.12 kB / 0.6497 GB, free: 9.684 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00298/0.4891, allocations: 1.436 MB / 0.6511 GB, free: 8.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.4892, allocations: 7.938 kB / 0.6512 GB, free: 8.082 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.166e-05/0.4892, allocations: 31.98 kB / 0.6512 GB, free: 8.051 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.666e-05/0.4893, allocations: 41.3 kB / 0.6512 GB, free: 8.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.492, allocations: 1.023 MB / 0.6522 GB, free: 6.988 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.006688/0.4987, allocations: 4.459 MB / 0.6566 GB, free: 2.379 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.5012, allocations: 0.7353 MB / 0.6573 GB, free: 1.625 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006439/0.5019, allocations: 285.3 kB / 0.6576 GB, free: 1.344 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03289/0.5348, allocations: 8.658 MB / 0.666 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.345e-05/0.5348, allocations: 38.56 kB / 0.6661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.437e-06/0.5348, allocations: 0 / 0.6661 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.007567/0.5424, allocations: 2.204 MB / 0.6682 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001518/0.5425, allocations: 158.7 kB / 0.6684 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.5436, allocations: 0.5493 MB / 0.6689 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.5436, allocations: 33.7 kB / 0.6689 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.544, allocations: 408.1 kB / 0.6693 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.5442, allocations: 182.5 kB / 0.6695 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.5445, allocations: 162.5 kB / 0.6697 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0003098/0.5448, allocations: 370.8 kB / 0.67 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006857/0.5455, allocations: 281.8 kB / 0.6703 GB, free: 4.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/0.5466, allocations: 0.6758 MB / 0.6709 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002018/0.5486, allocations: 0.9026 MB / 0.6718 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.5486, allocations: 4 kB / 0.6718 GB, free: 2.305 MB / 0.4981 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002247/0.5509, allocations: 0.9615 MB / 0.6728 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.5509, allocations: 15.94 kB / 0.6728 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/0.5509, allocations: 8 kB / 0.6728 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005188/0.5515, allocations: 64.81 kB / 0.6728 GB, free: 1.246 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/0.5529, allocations: 299.6 kB / 0.6731 GB, free: 0.9531 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/0.5548, allocations: 1.964 MB / 0.675 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007046/0.5555, allocations: 43.92 kB / 0.6751 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.947e-05/0.5556, allocations: 47.98 kB / 0.6751 GB, free: 14.77 MB / 0.5137 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.0005238/0.5561, allocations: 265.7 kB / 0.6754 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/0.5563, allocations: 67.62 kB / 0.6755 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003904/0.5602, allocations: 2.621 MB / 0.678 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.5602, allocations: 3.938 kB / 0.678 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.5602, allocations: 0 / 0.678 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.5607, allocations: 186.8 kB / 0.6782 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5608, allocations: 31.78 kB / 0.6782 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005609/0.5613, allocations: 55.97 kB / 0.6783 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.5615, allocations: 44.41 kB / 0.6783 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003324/0.5648, allocations: 1.641 MB / 0.6799 GB, free: 9.824 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003614/0.5684, allocations: 2.313 MB / 0.6822 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001025/0.5694, allocations: 0.5481 MB / 0.6827 GB, free: 6.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0007443/0.5702, allocations: 0.499 MB / 0.6832 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of Backend: time 2.91e-07/0.5702, allocations: 0 / 0.6832 GB, free: 6.445 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009036/0.5792, allocations: 2.107 MB / 0.6853 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of SimCode: time 0.004264/0.5835, allocations: 2.529 MB / 0.6877 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of Templates: time 0.3309/0.9144, allocations: 52.79 MB / 0.7393 GB, free: 167.3 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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.7441377369978]