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.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.0009759/0.0009759, allocations: 80.2 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001382/0.001382, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8893/0.8893, allocations: 158.6 MB / 185.9 MB, free: 2.785 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1504/0.1504, allocations: 32.38 MB / 270.7 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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.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.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=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 348.1 MB, free: 9.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.345e-05/3.508e-05, allocations: 5.406 kB / 348.2 MB, free: 9.152 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.0148/0.01483, allocations: 16.5 MB / 364.6 MB, free: 8.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.03089, allocations: 13.78 MB / 378.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008042/0.0317, allocations: 31.69 kB / 378.5 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000782/0.03248, allocations: 250.3 kB / 378.7 MB, free: 10.49 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01416/0.04664, allocations: 4.941 MB / 383.6 MB, free: 5.527 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.05077, allocations: 1.955 MB / 385.6 MB, free: 3.566 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002097/0.05286, allocations: 2.062 MB / 387.7 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006038/0.05347, allocations: 453.9 kB / 388.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01092/0.06438, allocations: 7.63 MB / 395.7 MB, free: 9.289 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002908/0.06729, allocations: 2.198 MB / 397.9 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003738/0.06766, allocations: 72 kB / 398 MB, free: 6.992 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/0.07797, allocations: 6.777 MB / 404.8 MB, free: 212 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.07825, allocations: 315 kB / 405.1 MB, free: 15.9 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005724/0.07882, allocations: 319.3 kB / 405.4 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007661/0.08648, allocations: 5.612 MB / 411 MB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.08648, allocations: 0 / 411 MB, free: 9.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08648, allocations: 4 kB / 411 MB, free: 9.957 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.0865, allocations: 0 / 411 MB, free: 9.957 MB / 346.7 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.003458/0.08995, allocations: 1.673 MB / 412.7 MB, free: 8.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.09, allocations: 12.03 kB / 412.7 MB, free: 8.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001895/0.09189, allocations: 439.1 kB / 413.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006889/0.09258, allocations: 0.5318 MB / 413.7 MB, free: 7.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001219/0.0927, allocations: 168.7 kB / 413.8 MB, free: 7.051 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.691e-05/0.0928, allocations: 64.36 kB / 413.9 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.09447, allocations: 1.282 MB / 415.2 MB, free: 5.504 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/0.09449, allocations: 7.875 kB / 415.2 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.09455, allocations: 32 kB / 415.2 MB, free: 5.465 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.09461, allocations: 45.28 kB / 415.2 MB, free: 5.422 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.09577, allocations: 0.5547 MB / 415.8 MB, free: 4.867 MB / 346.7 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.004192/0.09996, allocations: 5.231 MB / 421 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00124/0.1012, allocations: 0.5534 MB / 421.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1014, allocations: 115.3 kB / 421.7 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.1164, allocations: 7.195 MB / 428.9 MB, free: 7.562 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.033e-05/0.1164, allocations: 53.34 kB / 428.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.1164, allocations: 0 / 428.9 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002885/0.1193, allocations: 1.456 MB / 430.4 MB, free: 6.004 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.1194, allocations: 162.7 kB / 430.6 MB, free: 5.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004341/0.1198, allocations: 0.5566 MB / 431.1 MB, free: 5.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1199, allocations: 33.7 kB / 431.2 MB, free: 5.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002373/0.1201, allocations: 466.6 kB / 431.6 MB, free: 4.734 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.1202, allocations: 186.4 kB / 431.8 MB, free: 4.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001729/0.1204, allocations: 184.2 kB / 432 MB, free: 4.363 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.1206, allocations: 0.5585 MB / 432.5 MB, free: 3.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.1207, allocations: 105.9 kB / 432.6 MB, free: 3.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004454/0.1212, allocations: 0.6921 MB / 433.3 MB, free: 2.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009144/0.1221, allocations: 0.767 MB / 434.1 MB, free: 1.773 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.1221, allocations: 4 kB / 434.1 MB, free: 1.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007996/0.1229, allocations: 0.6962 MB / 434.8 MB, free: 1.062 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.1229, allocations: 12 kB / 434.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.1229, allocations: 8 kB / 434.8 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.1231, allocations: 67.66 kB / 434.9 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005858/0.1237, allocations: 267.7 kB / 435.1 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002422/0.1262, allocations: 3.856 MB / 439 MB, free: 12.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002573/0.1264, allocations: 48.06 kB / 439 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.1265, allocations: 39.98 kB / 439.1 MB, free: 12.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.heatTransfer.states[1].phase,ambient.state.phase,shortPipe.flowModel.states[1].phase,shortPipe.flowModel.states[2].phase,volume.inFlow[1],volume.inFlow[2],volume.regularFlow[2],volume.regularFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000191/0.1266, allocations: 220.2 kB / 439.3 MB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.1268, allocations: 83.58 kB / 439.4 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/0.1284, allocations: 1.536 MB / 440.9 MB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-05/0.1284, allocations: 35.94 kB / 440.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.1284, allocations: 0 / 440.9 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1284, allocations: 3.984 kB / 441 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.1301, allocations: 2.091 MB / 443 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1301, allocations: 0 / 443 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004392/0.1306, allocations: 179.8 kB / 443.2 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002162/0.1308, allocations: 103.5 kB / 443.3 MB, free: 8.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.1308, allocations: 12 kB / 443.3 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001443/0.1322, allocations: 3.579 MB / 446.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1322, allocations: 0 / 446.9 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.1337, allocations: 1.364 MB / 448.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001794/0.1339, allocations: 174.8 kB / 448.4 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.963e-05/0.134, allocations: 31.78 kB / 448.5 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000188/0.1342, allocations: 23.98 kB / 448.5 MB, free: 2.793 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.1343, allocations: 52.39 kB / 448.6 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1343, allocations: 16 kB / 448.6 MB, free: 2.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002716/0.1346, allocations: 434.8 kB / 449 MB, free: 2.297 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1346, allocations: 0 / 449 MB, free: 2.297 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002874/0.1374, allocations: 1.104 MB / 450.1 MB, free: 1.191 MB / 378.7 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 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.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): 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.186/0.3234, allocations: 1.323 MB / 451.4 MB, free: 80.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001666/0.3251, allocations: 0.8019 MB / 452.2 MB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.3251, allocations: 0 / 452.2 MB, free: 79.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006577/0.3257, allocations: 0.5681 MB / 452.8 MB, free: 79.81 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/0.3269, allocations: 367.6 kB / 453.1 MB, free: 79.8 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002747/0.3296, allocations: 2.117 MB / 455.3 MB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.3298, allocations: 275.2 kB / 455.5 MB, free: 78.9 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006137/0.3304, allocations: 353.3 kB / 455.9 MB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005852/0.331, allocations: 363.4 kB / 456.2 MB, free: 78.83 MB / 378.7 MB Notification: Performance of SimCode: time 1.753e-06/0.331, allocations: 0 / 456.2 MB, free: 78.83 MB / 378.7 MB Notification: Performance of Templates: time 0.05626/0.3873, allocations: 52.71 MB / 0.497 GB, free: 39.65 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.53814413305372]