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.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.00102/0.00102, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001905/0.001905, allocations: 162.2 kB / 25.6 MB, free: 8.59 MB / 18.57 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.03/1.03, allocations: 177.2 MB / 206.1 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1465/0.1465, allocations: 32.81 MB / 295.4 MB, free: 15.46 MB / 282.7 MB " [Timeout remaining time 180] 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.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.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=5003,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.754e-06/1.754e-06, allocations: 0 / 377.3 MB, free: 25.58 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.293e-05, allocations: 2.312 kB / 377.3 MB, free: 25.57 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01951/0.01954, allocations: 16.61 MB / 393.9 MB, free: 8.891 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01606/0.03561, allocations: 13.77 MB / 407.7 MB, free: 11.07 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005322/0.03614, allocations: 27.75 kB / 407.7 MB, free: 11.05 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005878/0.03673, allocations: 254.2 kB / 407.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008753/0.04548, allocations: 4.963 MB / 412.9 MB, free: 5.812 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003473/0.04895, allocations: 1.959 MB / 414.9 MB, free: 3.848 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001498/0.05045, allocations: 2.055 MB / 416.9 MB, free: 1.781 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004084/0.05086, allocations: 457.8 kB / 417.4 MB, free: 1.316 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009022/0.05988, allocations: 7.646 MB / 425 MB, free: 9.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002657/0.06254, allocations: 2.202 MB / 427.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.538e-05/0.06262, allocations: 72 kB / 427.3 MB, free: 7.262 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/0.07301, allocations: 6.785 MB / 434.1 MB, free: 480 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003193/0.07333, allocations: 307.1 kB / 434.4 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.07369, allocations: 323.3 kB / 434.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.08236, allocations: 5.624 MB / 440.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.08237, allocations: 0 / 440.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.08237, allocations: 0 / 440.3 MB, free: 10.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.08238, allocations: 4 kB / 440.3 MB, free: 10.21 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.002722/0.0851, allocations: 1.673 MB / 442 MB, free: 8.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.08514, allocations: 15.98 kB / 442 MB, free: 8.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.08641, allocations: 447.1 kB / 442.4 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000614/0.08702, allocations: 0.5202 MB / 443 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.08714, allocations: 160.7 kB / 443.1 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.47e-05/0.08723, allocations: 68.36 kB / 443.2 MB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/0.0886, allocations: 1.255 MB / 444.4 MB, free: 5.797 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.08862, allocations: 11.88 kB / 444.5 MB, free: 5.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.217e-05/0.08868, allocations: 24 kB / 444.5 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.614e-05/0.08872, allocations: 45.28 kB / 444.5 MB, free: 5.719 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.08962, allocations: 0.5587 MB / 445.1 MB, free: 5.16 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.003386/0.093, allocations: 5.231 MB / 450.3 MB, free: 15.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000989/0.09399, allocations: 0.558 MB / 450.9 MB, free: 15.17 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.09412, allocations: 115.3 kB / 451 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01363/0.1077, allocations: 7.375 MB / 458.4 MB, free: 7.664 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.1078, allocations: 45.34 kB / 458.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 2.705e-06/0.1078, allocations: 0 / 458.4 MB, free: 7.609 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.002799/0.1106, allocations: 1.455 MB / 459.9 MB, free: 6.117 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.1106, allocations: 162.7 kB / 460 MB, free: 5.922 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003679/0.111, allocations: 0.5527 MB / 460.6 MB, free: 5.352 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.111, allocations: 37.7 kB / 460.6 MB, free: 5.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.1113, allocations: 474.6 kB / 461.1 MB, free: 4.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.975e-05/0.1114, allocations: 178.5 kB / 461.2 MB, free: 4.664 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1115, allocations: 180.1 kB / 461.4 MB, free: 4.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1117, allocations: 0.5546 MB / 462 MB, free: 3.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001356/0.1118, allocations: 113.9 kB / 462.1 MB, free: 3.805 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003804/0.1122, allocations: 0.696 MB / 462.8 MB, free: 2.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005233/0.1127, allocations: 0.7632 MB / 463.5 MB, free: 1.891 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1127, allocations: 4 kB / 463.5 MB, free: 1.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006964/0.1134, allocations: 0.6752 MB / 464.2 MB, free: 1.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.1134, allocations: 12 kB / 464.2 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.1135, allocations: 11.98 kB / 464.2 MB, free: 1.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/0.1136, allocations: 51.66 kB / 464.3 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000589/0.1142, allocations: 272.1 kB / 464.6 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001043/0.1152, allocations: 2.603 MB / 467.2 MB, free: 14.11 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1155, allocations: 47.89 kB / 467.2 MB, free: 14.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/0.1155, allocations: 39.98 kB / 467.2 MB, free: 14.03 MB / 394.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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.1157, allocations: 224.2 kB / 467.5 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.1158, allocations: 79.62 kB / 467.5 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.117, allocations: 1.517 MB / 469.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.03e-05/0.117, allocations: 39.94 kB / 469.1 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-06/0.117, allocations: 0 / 469.1 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.117, allocations: 7.984 kB / 469.1 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001659/0.1187, allocations: 2.064 MB / 471.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1187, allocations: 0 / 471.2 MB, free: 10.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.1191, allocations: 187.8 kB / 471.4 MB, free: 9.855 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001653/0.1193, allocations: 51.62 kB / 471.4 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.456e-05/0.1193, allocations: 12 kB / 471.4 MB, free: 9.789 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009046/0.1202, allocations: 2.603 MB / 474 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1202, allocations: 0 / 474 MB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.1213, allocations: 1.352 MB / 475.4 MB, free: 5.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001512/0.1214, allocations: 158.9 kB / 475.5 MB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.43e-05/0.1215, allocations: 39.73 kB / 475.6 MB, free: 5.465 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.1217, allocations: 19.98 kB / 475.6 MB, free: 5.445 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.125e-05/0.1217, allocations: 60.44 kB / 475.6 MB, free: 5.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.1218, allocations: 19.92 kB / 475.7 MB, free: 5.367 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002786/0.122, allocations: 434.8 kB / 476.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.122, allocations: 0 / 476.1 MB, free: 4.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002467/0.1245, allocations: 1.108 MB / 477.2 MB, free: 3.836 MB / 394.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.002733/0.1272, allocations: 1.32 MB / 478.5 MB, free: 2.508 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008368/0.1281, allocations: 0.6071 MB / 479.1 MB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1281, allocations: 64 / 479.1 MB, free: 1.898 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007021/0.1288, allocations: 423.7 kB / 479.5 MB, free: 1.484 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009379/0.1297, allocations: 372 kB / 479.9 MB, free: 1.133 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.132, allocations: 2.108 MB / 482 MB, free: 14.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001741/0.1322, allocations: 279.4 kB / 482.3 MB, free: 14.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004012/0.1326, allocations: 350.9 kB / 482.6 MB, free: 14.35 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004839/0.1331, allocations: 361.9 kB / 483 MB, free: 13.99 MB / 410.7 MB Notification: Performance of SimCode: time 8.21e-07/0.1331, allocations: 0 / 483 MB, free: 13.99 MB / 410.7 MB Notification: Performance of Templates: time 0.1877/0.3208, allocations: 52.6 MB / 0.523 GB, free: 72.69 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/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: 6.387255913577974]