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.0007752/0.0007752, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007344/0.0007344, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.7548/0.7548, allocations: 158.6 MB / 185.7 MB, free: 3.039 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.1245/0.1245, allocations: 32.38 MB / 270.4 MB, free: 14.96 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.223e-06/1.223e-06, allocations: 0 / 408.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.603e-05/1.725e-05, allocations: 6.078 kB / 408.1 MB, free: 1.719 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.02163/0.02165, allocations: 35.49 MB / 443.6 MB, free: 14.09 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.01344/0.03508, allocations: 18.02 MB / 461.6 MB, free: 12.01 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000341/0.03543, allocations: 27.75 kB / 461.7 MB, free: 11.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007327/0.03616, allocations: 425.2 kB / 462.1 MB, free: 11.57 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00729/0.04345, allocations: 5.182 MB / 467.3 MB, free: 6.363 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.0471, allocations: 2.594 MB / 469.9 MB, free: 3.754 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.001292/0.0484, allocations: 2.027 MB / 471.9 MB, free: 1.719 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003903/0.04879, allocations: 433.6 kB / 472.3 MB, free: 1.281 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1614/0.2102, allocations: 4.42 MB / 476.7 MB, free: 48.86 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004931/0.2151, allocations: 5.44 MB / 482.2 MB, free: 47.44 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001403/0.2153, allocations: 73.59 kB / 482.2 MB, free: 47.44 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008447/0.2237, allocations: 7.044 MB / 489.3 MB, free: 47.42 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.224, allocations: 306 kB / 489.6 MB, free: 47.42 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003047/0.2243, allocations: 328.2 kB / 489.9 MB, free: 47.42 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.2303, allocations: 6.255 MB / 496.2 MB, free: 47.33 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2303, allocations: 0.5625 kB / 496.2 MB, free: 47.33 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2303, allocations: 0 / 496.2 MB, free: 47.33 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.2303, allocations: 0 / 496.2 MB, free: 47.33 MB / 442.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.002332/0.2326, allocations: 1.635 MB / 497.8 MB, free: 46.53 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.2327, allocations: 8.906 kB / 497.8 MB, free: 46.53 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.2337, allocations: 310.4 kB / 498.1 MB, free: 46.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.2343, allocations: 0.5185 MB / 498.6 MB, free: 46.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.393e-05/0.2344, allocations: 176.4 kB / 498.8 MB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.599e-05/0.2345, allocations: 60.61 kB / 498.9 MB, free: 46.15 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.2359, allocations: 1.463 MB / 0.4886 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.236, allocations: 7.5 kB / 0.4886 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.823e-05/0.236, allocations: 32.06 kB / 0.4886 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.016e-05/0.2361, allocations: 43.66 kB / 0.4887 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001384/0.2374, allocations: 1.017 MB / 0.4897 GB, free: 45.52 MB / 442.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.003333/0.2408, allocations: 4.469 MB / 0.494 GB, free: 42.89 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/0.242, allocations: 0.7332 MB / 0.4947 GB, free: 42.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003526/0.2424, allocations: 276.8 kB / 0.495 GB, free: 42.82 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01413/0.2565, allocations: 8.427 MB / 0.5032 GB, free: 42.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2565, allocations: 43.59 kB / 0.5033 GB, free: 42.2 MB / 442.7 MB Notification: Performance of pre-optimization done (n=45): time 2.254e-06/0.2565, allocations: 0 / 0.5033 GB, free: 42.2 MB / 442.7 MB Notification: Performance of matching and sorting (n=49): time 0.003808/0.2603, allocations: 2.209 MB / 0.5054 GB, free: 41.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.244e-05/0.2604, allocations: 160.6 kB / 0.5056 GB, free: 41.59 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.2608, allocations: 0.5514 MB / 0.5061 GB, free: 41.44 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.2608, allocations: 32.39 kB / 0.5062 GB, free: 41.41 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.261, allocations: 405.2 kB / 0.5065 GB, free: 41.18 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.045e-05/0.261, allocations: 180.5 kB / 0.5067 GB, free: 41.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001367/0.2612, allocations: 159.8 kB / 0.5069 GB, free: 41.04 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 5.785e-05/0.2612, allocations: 367.3 kB / 0.5072 GB, free: 40.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.2615, allocations: 281.7 kB / 0.5075 GB, free: 40.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/0.262, allocations: 0.6817 MB / 0.5082 GB, free: 40.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007353/0.2627, allocations: 0.9066 MB / 0.509 GB, free: 39.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2627, allocations: 3.094 kB / 0.509 GB, free: 39.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0009588/0.2637, allocations: 0.9585 MB / 0.51 GB, free: 39.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.969e-05/0.2637, allocations: 9.344 kB / 0.51 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/0.2637, allocations: 11.14 kB / 0.51 GB, free: 39.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001834/0.2639, allocations: 66.88 kB / 0.5101 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/0.2645, allocations: 298.7 kB / 0.5103 GB, free: 39.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007174/0.2652, allocations: 1.947 MB / 0.5122 GB, free: 37.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002756/0.2655, allocations: 50.88 kB / 0.5123 GB, free: 37.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.2655, allocations: 43.33 kB / 0.5123 GB, free: 37.41 MB / 442.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.0002367/0.2658, allocations: 269.5 kB / 0.5126 GB, free: 37.22 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.397e-05/0.2658, allocations: 67.52 kB / 0.5127 GB, free: 37.19 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001713/0.2675, allocations: 2.67 MB / 0.5153 GB, free: 36.01 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.2676, allocations: 34.28 kB / 0.5153 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.2676, allocations: 0 / 0.5153 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.2676, allocations: 10.42 kB / 0.5153 GB, free: 36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.27, allocations: 3.581 MB / 0.5188 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.27, allocations: 0 / 0.5188 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005133/0.2705, allocations: 229 kB / 0.519 GB, free: 34.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.2707, allocations: 86.77 kB / 0.5191 GB, free: 34.34 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.2707, allocations: 19.61 kB / 0.5191 GB, free: 34.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006071/0.2713, allocations: 1.96 MB / 0.521 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.2713, allocations: 7.5 kB / 0.521 GB, free: 32.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001599/0.2729, allocations: 2.4 MB / 0.5234 GB, free: 31.34 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.2731, allocations: 182 kB / 0.5236 GB, free: 31.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.008e-05/0.2731, allocations: 32.59 kB / 0.5236 GB, free: 31.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.2733, allocations: 32.72 kB / 0.5236 GB, free: 31.19 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.519e-05/0.2734, allocations: 56.67 kB / 0.5237 GB, free: 31.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.2734, allocations: 20.53 kB / 0.5237 GB, free: 31.17 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003471/0.2738, allocations: 0.5006 MB / 0.5242 GB, free: 30.95 MB / 442.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2738, allocations: 0 / 0.5242 GB, free: 30.95 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002379/0.2762, allocations: 1.102 MB / 0.5253 GB, free: 30.78 MB / 442.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.002633/0.2788, allocations: 1.351 MB / 0.5266 GB, free: 30.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001231/0.28, allocations: 1.083 MB / 0.5276 GB, free: 30.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.28, allocations: 0 / 0.5276 GB, free: 30.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007099/0.2807, allocations: 0.7433 MB / 0.5284 GB, free: 29.92 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009099/0.2816, allocations: 354.4 kB / 0.5287 GB, free: 29.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.2836, allocations: 2.481 MB / 0.5311 GB, free: 28.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.2839, allocations: 0.5674 MB / 0.5317 GB, free: 27.82 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.284, allocations: 64.5 kB / 0.5317 GB, free: 27.76 MB / 442.7 MB Notification: Performance of SimCode: time 7.01e-07/0.284, allocations: 0 / 0.5317 GB, free: 27.76 MB / 442.7 MB Notification: Performance of Templates: time 0.02395/0.3079, allocations: 39.51 MB / 0.5703 GB, free: 4.363 MB / 458.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: 7.983807943761349]