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.001173/0.001173, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.001345/0.001345, allocations: 165.6 kB / 24.84 MB, free: 9.309 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 0.8999/0.8999, allocations: 158.6 MB / 186.7 MB, free: 2.766 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.1233/0.1233, allocations: 32.38 MB / 271.5 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.873e-06/1.873e-06, allocations: 3.984 kB / 348.9 MB, free: 9.164 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204e-05/1.392e-05, allocations: 2.312 kB / 348.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01261/0.01262, allocations: 16.5 MB / 365.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01268/0.0253, allocations: 13.78 MB / 379.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004005/0.0257, allocations: 27.75 kB / 379.2 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000529/0.02623, allocations: 246.3 kB / 379.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009209/0.03544, allocations: 4.937 MB / 384.4 MB, free: 5.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003747/0.03919, allocations: 1.951 MB / 386.4 MB, free: 3.582 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002012/0.0412, allocations: 2.062 MB / 388.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006343/0.04183, allocations: 461.9 kB / 388.9 MB, free: 1.039 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01022/0.05205, allocations: 7.638 MB / 396.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002691/0.05474, allocations: 2.202 MB / 398.7 MB, free: 7.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-05/0.05483, allocations: 68 kB / 398.8 MB, free: 6.996 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009672/0.0645, allocations: 6.769 MB / 405.6 MB, free: 224 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002438/0.06474, allocations: 311 kB / 405.9 MB, free: 15.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003247/0.06507, allocations: 327.3 kB / 406.2 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006742/0.07181, allocations: 5.604 MB / 411.8 MB, free: 9.977 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.07181, allocations: 3.938 kB / 411.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.07181, allocations: 0 / 411.8 MB, free: 9.973 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.07182, allocations: 0 / 411.8 MB, free: 9.973 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.002191/0.07401, allocations: 1.665 MB / 413.5 MB, free: 8.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.07404, allocations: 8.031 kB / 413.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.07523, allocations: 455.1 kB / 413.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.07577, allocations: 0.5278 MB / 414.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.07587, allocations: 172.7 kB / 414.6 MB, free: 7.062 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.07595, allocations: 64.38 kB / 414.7 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.07725, allocations: 1.283 MB / 415.9 MB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/0.07727, allocations: 11.88 kB / 416 MB, free: 5.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/0.07732, allocations: 28 kB / 416 MB, free: 5.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.172e-05/0.07737, allocations: 41.3 kB / 416 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000872/0.07824, allocations: 0.5509 MB / 416.6 MB, free: 4.883 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.003617/0.08185, allocations: 5.231 MB / 421.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.08303, allocations: 0.5456 MB / 422.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.0832, allocations: 115.3 kB / 422.5 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01352/0.09672, allocations: 7.156 MB / 429.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.09675, allocations: 49.33 kB / 429.7 MB, free: 7.562 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.836e-06/0.09675, allocations: 3.984 kB / 429.7 MB, free: 7.559 MB / 362.7 MB Notification: Performance of matching and sorting (n=49): time 0.002568/0.09932, allocations: 1.444 MB / 431.1 MB, free: 6.074 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.09937, allocations: 162.7 kB / 431.3 MB, free: 5.879 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003497/0.09972, allocations: 0.5683 MB / 431.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.09975, allocations: 29.7 kB / 431.9 MB, free: 5.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005495/0.1003, allocations: 470.6 kB / 432.3 MB, free: 4.793 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.1004, allocations: 186.4 kB / 432.5 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.1006, allocations: 176.2 kB / 432.7 MB, free: 4.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001501/0.1007, allocations: 0.5507 MB / 433.2 MB, free: 3.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/0.1008, allocations: 117.8 kB / 433.4 MB, free: 3.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003778/0.1012, allocations: 0.6921 MB / 434 MB, free: 2.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005169/0.1017, allocations: 0.7631 MB / 434.8 MB, free: 1.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.1017, allocations: 4 kB / 434.8 MB, free: 1.836 MB / 362.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0006794/0.1024, allocations: 0.6767 MB / 435.5 MB, free: 1.148 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1024, allocations: 15.98 kB / 435.5 MB, free: 1.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.1024, allocations: 12 kB / 435.5 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.1026, allocations: 43.67 kB / 435.6 MB, free: 1.074 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005619/0.1031, allocations: 275.5 kB / 435.8 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009239/0.1041, allocations: 2.607 MB / 438.4 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002735/0.1043, allocations: 35.98 kB / 438.5 MB, free: 14.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.1044, allocations: 36 kB / 438.5 MB, free: 13.99 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001968/0.1046, allocations: 232.3 kB / 438.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.1047, allocations: 75.62 kB / 438.8 MB, free: 13.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001497/0.1062, allocations: 1.521 MB / 440.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.083e-05/0.1062, allocations: 35.94 kB / 440.4 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.1062, allocations: 7.938 kB / 440.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1062, allocations: 3.984 kB / 440.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.1079, allocations: 2.068 MB / 442.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1079, allocations: 0 / 442.4 MB, free: 9.984 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/0.1083, allocations: 179.9 kB / 442.6 MB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001559/0.1085, allocations: 55.58 kB / 442.7 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.63e-05/0.1085, allocations: 24 kB / 442.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000911/0.1094, allocations: 2.598 MB / 445.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1094, allocations: 0 / 445.3 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.1107, allocations: 1.352 MB / 446.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001543/0.1108, allocations: 166.9 kB / 446.8 MB, free: 5.441 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.958e-05/0.1109, allocations: 35.73 kB / 446.8 MB, free: 5.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.1111, allocations: 23.98 kB / 446.9 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.313e-05/0.1111, allocations: 52.39 kB / 446.9 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.136e-05/0.1112, allocations: 12 kB / 446.9 MB, free: 5.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1114, allocations: 438.7 kB / 447.4 MB, free: 4.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1114, allocations: 4.031 kB / 447.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002311/0.1137, allocations: 1.096 MB / 448.5 MB, free: 3.789 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 ($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.002761/0.1165, allocations: 1.343 MB / 449.8 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008244/0.1173, allocations: 0.5949 MB / 450.4 MB, free: 1.852 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.1173, allocations: 4 kB / 450.4 MB, free: 1.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000528/0.1178, allocations: 415.8 kB / 450.8 MB, free: 1.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000894/0.1187, allocations: 364.6 kB / 451.2 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1625/0.2812, allocations: 2.111 MB / 453.3 MB, free: 80.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/0.2813, allocations: 278.7 kB / 453.5 MB, free: 79.97 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.2819, allocations: 344.2 kB / 453.9 MB, free: 79.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.2823, allocations: 359.1 kB / 454.2 MB, free: 79.91 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.2823, allocations: 0 / 454.2 MB, free: 79.91 MB / 378.7 MB Notification: Performance of Templates: time 0.04087/0.3232, allocations: 52.42 MB / 0.4948 GB, free: 43.3 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: 6.306649922858924]