Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_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.001081/0.001081, allocations: 80.34 kB / 22.21 MB, free: 2.281 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.001211/0.001211, allocations: 166.2 kB / 25.61 MB, free: 8.578 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 1.031/1.031, allocations: 177 MB / 205.9 MB, free: 4.438 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.1543/0.1543, allocations: 34.89 MB / 297.4 MB, free: 13.43 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.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|volume.medium.p|volume.medium.h",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 380 MB, free: 22.76 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.411e-05/2.535e-05, allocations: 8.656 kB / 380 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03124/0.03126, allocations: 16.62 MB / 396.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.02255/0.05382, allocations: 13.78 MB / 410.4 MB, free: 8.25 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009755/0.05479, allocations: 31.69 kB / 410.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007593/0.05555, allocations: 238.3 kB / 410.7 MB, free: 7.984 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01252/0.06807, allocations: 4.972 MB / 415.6 MB, free: 2.992 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004851/0.07292, allocations: 1.947 MB / 417.6 MB, free: 1.039 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002833/0.07575, allocations: 2.074 MB / 419.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000855/0.07661, allocations: 469.9 kB / 420.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01381/0.09042, allocations: 7.65 MB / 427.8 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004204/0.09463, allocations: 2.198 MB / 430 MB, free: 4.492 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000228/0.09485, allocations: 75.94 kB / 430.1 MB, free: 4.418 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.013/0.1079, allocations: 6.781 MB / 436.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005939/0.1085, allocations: 307.1 kB / 437.1 MB, free: 13.33 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.1092, allocations: 331.3 kB / 437.5 MB, free: 13 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01317/0.1223, allocations: 5.636 MB / 443.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.423e-06/0.1223, allocations: 0 / 443.1 MB, free: 7.355 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1223, allocations: 4 kB / 443.1 MB, free: 7.352 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.881e-05/0.1224, allocations: 0 / 443.1 MB, free: 7.352 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.003806/0.1262, allocations: 1.661 MB / 444.8 MB, free: 5.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.1262, allocations: 12.03 kB / 444.8 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.1277, allocations: 435.1 kB / 445.2 MB, free: 5.211 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007164/0.1284, allocations: 0.5241 MB / 445.7 MB, free: 4.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.946e-05/0.1285, allocations: 160.7 kB / 445.9 MB, free: 4.48 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.244e-05/0.1286, allocations: 64.38 kB / 445.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.1298, allocations: 1.26 MB / 447.2 MB, free: 2.941 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.1299, allocations: 11.88 kB / 447.2 MB, free: 2.93 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.138e-05/0.1299, allocations: 28 kB / 447.2 MB, free: 2.902 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.763e-05/0.13, allocations: 41.3 kB / 447.3 MB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006484/0.1306, allocations: 436.3 kB / 447.7 MB, free: 2.434 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.003339/0.134, allocations: 5.149 MB / 452.9 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006477/0.1346, allocations: 394.3 kB / 453.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.1347, allocations: 118.5 kB / 453.4 MB, free: 12.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04367/0.1784, allocations: 22.57 MB / 475.9 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/0.1784, allocations: 41.39 kB / 476 MB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.605e-06/0.1784, allocations: 0 / 476 MB, free: 5.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.003102/0.1815, allocations: 1.227 MB / 477.2 MB, free: 4.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.055e-05/0.1816, allocations: 158.2 kB / 477.3 MB, free: 4.469 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004703/0.1821, allocations: 0.5683 MB / 477.9 MB, free: 3.883 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.1821, allocations: 33.7 kB / 477.9 MB, free: 3.844 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.1824, allocations: 478.6 kB / 478.4 MB, free: 3.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.1825, allocations: 182.5 kB / 478.6 MB, free: 3.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.1827, allocations: 176.2 kB / 478.8 MB, free: 3.012 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1828, allocations: 0.5546 MB / 479.3 MB, free: 2.445 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.183, allocations: 77.92 kB / 479.4 MB, free: 2.371 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.1838, allocations: 0.6795 MB / 480.1 MB, free: 1.441 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006224/0.1844, allocations: 0.7367 MB / 480.8 MB, free: 492 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.1844, allocations: 4 kB / 480.8 MB, free: 488 kB / 394.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.0007186/0.1851, allocations: 0.63 MB / 481.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.1852, allocations: 12 kB / 481.5 MB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.1852, allocations: 12 kB / 481.5 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001822/0.1854, allocations: 47.59 kB / 481.5 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.186, allocations: 255.7 kB / 481.8 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.1872, allocations: 2.626 MB / 484.4 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.1875, allocations: 28 kB / 484.4 MB, free: 12.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.987e-05/0.1875, allocations: 39.98 kB / 484.5 MB, free: 12.67 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (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],fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.medium.phase) * 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.0002284/0.1878, allocations: 220.5 kB / 484.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.1879, allocations: 79.56 kB / 484.7 MB, free: 12.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001085/0.189, allocations: 1.287 MB / 486 MB, free: 11.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.149e-05/0.189, allocations: 31.95 kB / 486.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.189, allocations: 0 / 486.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.189, allocations: 3.984 kB / 486.1 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.191, allocations: 1.837 MB / 487.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.191, allocations: 0 / 487.9 MB, free: 9.156 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00041/0.1914, allocations: 167.8 kB / 488.1 MB, free: 8.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001855/0.1916, allocations: 51.64 kB / 488.1 MB, free: 8.938 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.1916, allocations: 12 kB / 488.1 MB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.1927, allocations: 2.587 MB / 490.7 MB, free: 6.195 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1927, allocations: 4.188 kB / 490.7 MB, free: 6.191 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009401/0.1936, allocations: 1.203 MB / 491.9 MB, free: 4.965 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1938, allocations: 166.8 kB / 492.1 MB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.1939, allocations: 23.89 kB / 492.1 MB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.1941, allocations: 23.98 kB / 492.1 MB, free: 4.754 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.1941, allocations: 32.44 kB / 492.2 MB, free: 4.723 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.1942, allocations: 15.98 kB / 492.2 MB, free: 4.707 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000261/0.1944, allocations: 394.8 kB / 492.6 MB, free: 4.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1944, allocations: 0 / 492.6 MB, free: 4.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003112/0.1975, allocations: 1.1 MB / 493.7 MB, free: 3.219 MB / 410.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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.004017/0.2016, allocations: 1.334 MB / 495 MB, free: 1.879 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009064/0.2025, allocations: 0.529 MB / 495.5 MB, free: 1.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.471e-06/0.2025, allocations: 4 kB / 495.5 MB, free: 1.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.2029, allocations: 360.2 kB / 495.9 MB, free: 0.9961 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001011/0.204, allocations: 354.7 kB / 496.2 MB, free: 0.668 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1539/0.3579, allocations: 1.9 MB / 498.1 MB, free: 93.89 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.358, allocations: 250.9 kB / 498.4 MB, free: 93.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005944/0.3586, allocations: 360.1 kB / 498.7 MB, free: 93.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.3591, allocations: 378.6 kB / 499.1 MB, free: 93.76 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.3591, allocations: 0 / 499.1 MB, free: 93.76 MB / 410.7 MB Notification: Performance of Templates: time 0.05004/0.4092, allocations: 51.28 MB / 0.5375 GB, free: 56.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Water/WaterIF97OnePhase_ph/WaterIF97OnePhase_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.499818234238774]