Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001379/0.001379, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 159.9 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9697/0.9697, allocations: 177 MB / 205.9 MB, free: 4.457 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1757/0.1757, allocations: 34.88 MB / 297.4 MB, free: 13.35 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_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.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 3.938 kB / 380 MB, free: 22.74 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.447e-05/2.597e-05, allocations: 3.297 kB / 380 MB, free: 22.73 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.01921/0.01924, allocations: 16.62 MB / 396.6 MB, free: 6.055 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01363/0.03287, allocations: 13.76 MB / 410.4 MB, free: 8.242 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009803/0.03385, allocations: 31.69 kB / 410.4 MB, free: 8.211 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007298/0.03458, allocations: 250.3 kB / 410.7 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01208/0.04666, allocations: 4.96 MB / 415.6 MB, free: 2.984 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00477/0.05143, allocations: 1.955 MB / 417.6 MB, free: 1.023 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002646/0.05408, allocations: 2.062 MB / 419.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007966/0.05488, allocations: 457.9 kB / 420.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01097/0.06585, allocations: 7.642 MB / 427.7 MB, free: 6.734 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003181/0.06903, allocations: 2.202 MB / 429.9 MB, free: 4.504 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.0692, allocations: 72 kB / 430 MB, free: 4.434 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01051/0.07971, allocations: 6.789 MB / 436.8 MB, free: 13.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004568/0.08017, allocations: 303.1 kB / 437.1 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.08072, allocations: 323.3 kB / 437.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01196/0.09267, allocations: 5.624 MB / 443 MB, free: 7.387 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.09268, allocations: 0 / 443 MB, free: 7.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.09268, allocations: 0 / 443 MB, free: 7.387 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.305e-05/0.0927, allocations: 0 / 443 MB, free: 7.387 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.003816/0.09652, allocations: 1.677 MB / 444.7 MB, free: 5.668 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.09657, allocations: 8.031 kB / 444.7 MB, free: 5.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001454/0.09802, allocations: 455.1 kB / 445.2 MB, free: 5.215 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007468/0.09877, allocations: 0.5124 MB / 445.7 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.09889, allocations: 168.7 kB / 445.8 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.453e-05/0.09898, allocations: 60.38 kB / 445.9 MB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.1008, allocations: 1.258 MB / 447.2 MB, free: 2.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.1008, allocations: 7.875 kB / 447.2 MB, free: 2.969 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-05/0.1009, allocations: 35.98 kB / 447.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.836e-05/0.1009, allocations: 45.28 kB / 447.3 MB, free: 2.891 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00101/0.1019, allocations: 0.5586 MB / 447.8 MB, free: 2.328 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.003758/0.1057, allocations: 5.239 MB / 453 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.107, allocations: 0.5504 MB / 453.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.1071, allocations: 119.3 kB / 453.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01473/0.1218, allocations: 7.375 MB / 461.1 MB, free: 4.828 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.765e-05/0.1219, allocations: 45.38 kB / 461.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 3.556e-06/0.1219, allocations: 0 / 461.1 MB, free: 4.773 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.004128/0.126, allocations: 1.455 MB / 462.6 MB, free: 3.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.424e-05/0.1261, allocations: 166.7 kB / 462.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.1266, allocations: 0.5566 MB / 463.3 MB, free: 2.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.884e-05/0.1266, allocations: 33.7 kB / 463.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002746/0.1269, allocations: 470.6 kB / 463.8 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.127, allocations: 182.5 kB / 464 MB, free: 1.824 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000213/0.1273, allocations: 180.1 kB / 464.2 MB, free: 1.641 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.1275, allocations: 0.5507 MB / 464.7 MB, free: 1.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.1277, allocations: 117.8 kB / 464.8 MB, free: 0.9648 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005003/0.1282, allocations: 0.6882 MB / 465.5 MB, free: 36 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007878/0.129, allocations: 0.7664 MB / 466.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.129, allocations: 4 kB / 466.3 MB, free: 15.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001003/0.13, allocations: 0.6725 MB / 467 MB, free: 14.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.13, allocations: 8 kB / 467 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.13, allocations: 12 kB / 467 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002084/0.1302, allocations: 51.59 kB / 467 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008134/0.131, allocations: 272 kB / 467.3 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1328, allocations: 2.615 MB / 469.9 MB, free: 11.28 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.1332, allocations: 44.08 kB / 469.9 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.1332, allocations: 39.98 kB / 470 MB, free: 11.2 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.0002574/0.1335, allocations: 216.3 kB / 470.2 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001428/0.1336, allocations: 83.66 kB / 470.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001644/0.1353, allocations: 1.528 MB / 471.8 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.1353, allocations: 35.94 kB / 471.8 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.1353, allocations: 0 / 471.8 MB, free: 9.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.1353, allocations: 3.984 kB / 471.8 MB, free: 9.312 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.1377, allocations: 2.068 MB / 473.9 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/0.1377, allocations: 4 kB / 473.9 MB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/0.1383, allocations: 179.8 kB / 474.1 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.1385, allocations: 59.56 kB / 474.2 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.1386, allocations: 12 kB / 474.2 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.1399, allocations: 2.587 MB / 476.7 MB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1399, allocations: 4.188 kB / 476.8 MB, free: 4.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001439/0.1413, allocations: 1.352 MB / 478.1 MB, free: 2.836 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.1416, allocations: 162.9 kB / 478.3 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.677e-05/0.1417, allocations: 39.73 kB / 478.3 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.142, allocations: 23.98 kB / 478.3 MB, free: 2.613 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.6e-05/0.142, allocations: 48.41 kB / 478.4 MB, free: 2.566 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.1421, allocations: 27.95 kB / 478.4 MB, free: 2.539 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003648/0.1424, allocations: 430.8 kB / 478.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1424, allocations: 0 / 478.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002962/0.1454, allocations: 1.108 MB / 479.9 MB, free: 1.008 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.003621/0.149, allocations: 1.321 MB / 481.2 MB, free: 15.67 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.1503, allocations: 0.6032 MB / 481.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1503, allocations: 4 kB / 481.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009525/0.1513, allocations: 415.7 kB / 482.3 MB, free: 14.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/0.1527, allocations: 365.6 kB / 482.6 MB, free: 14.33 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.1561, allocations: 2.122 MB / 484.7 MB, free: 12.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.1564, allocations: 275.4 kB / 485 MB, free: 11.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006257/0.157, allocations: 360.6 kB / 485.4 MB, free: 11.53 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000632/0.1576, allocations: 361.9 kB / 485.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.753e-06/0.1576, allocations: 0 / 485.7 MB, free: 11.18 MB / 410.7 MB Notification: Performance of Templates: time 0.2104/0.3681, allocations: 52.6 MB / 0.5257 GB, free: 67.55 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.437039429321885]