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.001504/0.001504, allocations: 88.23 kB / 20.2 MB, free: 4.23 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.001703/0.001703, allocations: 161.7 kB / 23.52 MB, free: 0.9219 MB / 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 1.421/1.421, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] 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.2158/0.2158, allocations: 32.37 MB / 270 MB, free: 14.78 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.372e-06/1.372e-06, allocations: 0 / 347 MB, free: 9.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.998e-05/2.135e-05, allocations: 2.312 kB / 347 MB, free: 9.793 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.03974/0.03976, allocations: 35.5 MB / 382.5 MB, free: 6.16 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02702/0.06678, allocations: 18.01 MB / 400.5 MB, free: 4.086 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006365/0.06741, allocations: 35.62 kB / 400.5 MB, free: 4.051 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.06863, allocations: 413.2 kB / 400.9 MB, free: 3.645 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01436/0.08299, allocations: 5.183 MB / 406.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007504/0.0905, allocations: 2.586 MB / 408.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.003439/0.09394, allocations: 2.027 MB / 410.7 MB, free: 9.805 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009135/0.09485, allocations: 450 kB / 411.1 MB, free: 9.355 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01099/0.1058, allocations: 4.429 MB / 415.6 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01229/0.1181, allocations: 5.44 MB / 421 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000289/0.1184, allocations: 72 kB / 421.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01664/0.1351, allocations: 7.058 MB / 428.1 MB, free: 8.211 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000563/0.1356, allocations: 299.1 kB / 428.4 MB, free: 7.918 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006881/0.1363, allocations: 327.3 kB / 428.8 MB, free: 7.598 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01329/0.1496, allocations: 6.259 MB / 435 MB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.566e-06/0.1496, allocations: 0 / 435 MB, free: 1.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1496, allocations: 0 / 435 MB, free: 1.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.1496, allocations: 0 / 435 MB, free: 1.324 MB / 362.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.1654/0.3151, allocations: 1.627 MB / 436.6 MB, free: 97.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3151, allocations: 17.8 kB / 436.7 MB, free: 97.36 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002724/0.3178, allocations: 471.9 kB / 437.1 MB, free: 97.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.3189, allocations: 0.5389 MB / 437.7 MB, free: 97.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001534/0.3191, allocations: 174.7 kB / 437.8 MB, free: 96.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3192, allocations: 62.59 kB / 437.9 MB, free: 96.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002877/0.3221, allocations: 1.463 MB / 439.4 MB, free: 95.95 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.3221, allocations: 5.797 kB / 439.4 MB, free: 95.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001036/0.3222, allocations: 32.34 kB / 439.4 MB, free: 95.92 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.448e-05/0.3223, allocations: 54.2 kB / 439.4 MB, free: 95.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002808/0.3251, allocations: 1.018 MB / 440.5 MB, free: 95.62 MB / 362.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.005979/0.3311, allocations: 4.484 MB / 444.9 MB, free: 92.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.3336, allocations: 0.7327 MB / 445.7 MB, free: 92.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005408/0.3341, allocations: 272.8 kB / 445.9 MB, free: 92 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02703/0.3611, allocations: 8.444 MB / 454.4 MB, free: 85.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.3612, allocations: 38.56 kB / 454.4 MB, free: 84.97 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.3612, allocations: 4 kB / 454.4 MB, free: 84.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.006551/0.3677, allocations: 2.283 MB / 456.7 MB, free: 82.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3678, allocations: 158.7 kB / 456.9 MB, free: 82.52 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005296/0.3683, allocations: 0.5462 MB / 457.4 MB, free: 81.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.164e-05/0.3684, allocations: 33.7 kB / 457.4 MB, free: 81.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.3685, allocations: 403.6 kB / 457.8 MB, free: 81.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.613e-05/0.3686, allocations: 180.2 kB / 458 MB, free: 81.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001773/0.3688, allocations: 158.6 kB / 458.2 MB, free: 81.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.642e-05/0.3689, allocations: 370.8 kB / 458.5 MB, free: 80.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005474/0.3694, allocations: 285.8 kB / 458.8 MB, free: 80.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.3701, allocations: 0.6761 MB / 459.5 MB, free: 79.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3713, allocations: 0.8999 MB / 460.4 MB, free: 78.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.3713, allocations: 4 kB / 460.4 MB, free: 78.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001634/0.3729, allocations: 0.9978 MB / 461.4 MB, free: 77.65 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3729, allocations: 8 kB / 461.4 MB, free: 77.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.547e-05/0.373, allocations: 12 kB / 461.4 MB, free: 77.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002851/0.3733, allocations: 64.83 kB / 461.5 MB, free: 77.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001259/0.3745, allocations: 303.8 kB / 461.8 MB, free: 77.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001171/0.3757, allocations: 1.952 MB / 463.7 MB, free: 75.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006136/0.3763, allocations: 56.16 kB / 463.8 MB, free: 75.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.482e-05/0.3764, allocations: 36 kB / 463.8 MB, free: 75.11 MB / 362.7 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.000328/0.3767, allocations: 273.4 kB / 464.1 MB, free: 74.83 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3768, allocations: 83.61 kB / 464.2 MB, free: 74.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.3794, allocations: 2.67 MB / 466.8 MB, free: 72.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.537e-05/0.3794, allocations: 35.94 kB / 466.9 MB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.3794, allocations: 4 kB / 466.9 MB, free: 72.04 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.3794, allocations: 8.016 kB / 466.9 MB, free: 72.03 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.383, allocations: 3.565 MB / 470.4 MB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.383, allocations: 4 kB / 470.4 MB, free: 68.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/0.3841, allocations: 223.7 kB / 470.7 MB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003374/0.3844, allocations: 92.73 kB / 470.8 MB, free: 68.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.552e-05/0.3844, allocations: 12 kB / 470.8 MB, free: 68.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/0.3855, allocations: 1.97 MB / 472.7 MB, free: 66.01 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3855, allocations: 9.344 kB / 472.7 MB, free: 66 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002517/0.388, allocations: 2.423 MB / 475.2 MB, free: 63.56 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002936/0.3883, allocations: 174.9 kB / 475.3 MB, free: 63.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.732e-05/0.3884, allocations: 31.78 kB / 475.4 MB, free: 63.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000469/0.3889, allocations: 31.97 kB / 475.4 MB, free: 63.32 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.389, allocations: 52.41 kB / 475.5 MB, free: 63.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.389, allocations: 27.23 kB / 475.5 MB, free: 63.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004959/0.3895, allocations: 0.499 MB / 476 MB, free: 62.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3895, allocations: 0 / 476 MB, free: 62.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003064/0.3926, allocations: 1.104 MB / 477.1 MB, free: 61.64 MB / 362.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 ($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.004074/0.3966, allocations: 1.359 MB / 478.4 MB, free: 60.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002249/0.3989, allocations: 1.096 MB / 479.5 MB, free: 59.32 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3989, allocations: 4 kB / 479.5 MB, free: 59.31 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001339/0.4002, allocations: 0.7617 MB / 480.3 MB, free: 58.55 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.402, allocations: 376.8 kB / 480.7 MB, free: 58.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.4049, allocations: 2.464 MB / 483.1 MB, free: 55.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4053, allocations: 0.5788 MB / 483.7 MB, free: 55.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006985/0.406, allocations: 437 kB / 484.1 MB, free: 54.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/0.4062, allocations: 60.5 kB / 484.2 MB, free: 54.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.412e-06/0.4062, allocations: 0 / 484.2 MB, free: 54.62 MB / 362.7 MB Notification: Performance of Templates: time 0.05062/0.4568, allocations: 46.19 MB / 0.518 GB, free: 8.484 MB / 362.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.311255853041075]