Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.00183/0.00183, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.002174/0.002174, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.438/1.438, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 75.75 kB / 379.6 MB, free: 2.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2026, allocations: 53.31 MB / 432.9 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01726/0.2198, allocations: 13.55 MB / 446.4 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01917/0.239, allocations: 15.66 MB / 462.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.2391, allocations: 0 / 462.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003296/0.2394, allocations: 87.47 kB / 462.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003263/0.2398, allocations: 115.2 kB / 462.3 MB, free: 9.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01339/0.2532, allocations: 5.977 MB / 468.3 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004369/0.2536, allocations: 346.6 kB / 468.6 MB, free: 3.262 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.17e-05/0.2536, allocations: 5.688 kB / 468.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004368/0.2541, allocations: 247 kB / 468.9 MB, free: 3.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.2543, allocations: 107.5 kB / 469 MB, free: 2.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.815e-05/0.2543, allocations: 16 kB / 469 MB, free: 2.895 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01151/0.2658, allocations: 6.767 MB / 475.7 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.411e-05/0.2659, allocations: 43.89 kB / 475.8 MB, free: 12.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001251/0.266, allocations: 115.5 kB / 475.9 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005093/0.2711, allocations: 3.909 MB / 479.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2711, allocations: 0 / 479.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.2711, allocations: 0 / 479.8 MB, free: 8.047 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.2711, allocations: 0 / 479.8 MB, free: 8.047 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002261/0.2733, allocations: 1.03 MB / 480.8 MB, free: 6.965 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2734, allocations: 8.031 kB / 480.8 MB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.2748, allocations: 180.6 kB / 481 MB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.2752, allocations: 260 kB / 481.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.2752, allocations: 16.81 kB / 481.3 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.2753, allocations: 28.12 kB / 481.3 MB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/0.2787, allocations: 0.909 MB / 482.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.2787, allocations: 0 / 482.2 MB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.172e-05/0.2787, allocations: 4 kB / 482.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.2787, allocations: 11.94 kB / 482.2 MB, free: 5.504 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003585/0.2823, allocations: 0.9656 MB / 483.2 MB, free: 4.535 MB / 382.1 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.001725/0.284, allocations: 1.343 MB / 484.6 MB, free: 3.059 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002819/0.2869, allocations: 0.7247 MB / 485.3 MB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003/0.2872, allocations: 153.6 kB / 485.4 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0892/0.3764, allocations: 42.19 MB / 0.5153 GB, free: 2.605 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.242e-05/0.3764, allocations: 42.5 kB / 0.5153 GB, free: 2.555 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.3764, allocations: 0 / 0.5153 GB, free: 2.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005497/0.3819, allocations: 1.356 MB / 0.5166 GB, free: 1.191 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3819, allocations: 51.41 kB / 0.5167 GB, free: 1.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.382, allocations: 121.8 kB / 0.5168 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.16e-05/0.3821, allocations: 37.7 kB / 0.5168 GB, free: 0.957 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3822, allocations: 120.8 kB / 0.5169 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3823, allocations: 115 kB / 0.517 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000301/0.3826, allocations: 165.6 kB / 0.5172 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.3828, allocations: 322.8 kB / 0.5175 GB, free: 236 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000709/0.3835, allocations: 339.6 kB / 0.5178 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007907/0.3843, allocations: 411.5 kB / 0.5182 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/0.3858, allocations: 0.7075 MB / 0.5189 GB, free: 14.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.3858, allocations: 0 / 0.5189 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002024/0.3878, allocations: 0.8758 MB / 0.5198 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.3878, allocations: 4 kB / 0.5198 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.3878, allocations: 4 kB / 0.5198 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.3878, allocations: 7.938 kB / 0.5198 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000708/0.3885, allocations: 179.8 kB / 0.52 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3885, allocations: 4.25 kB / 0.52 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.3889, allocations: 32.16 kB / 0.52 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.389, allocations: 63.92 kB / 0.5201 GB, free: 13.56 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 4 (medium.phase,medium.bubble2.phase,medium.bubble.phase,medium.dew.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002356/0.3892, allocations: 145.7 kB / 0.5202 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.3894, allocations: 15.91 kB / 0.5202 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00842/0.3978, allocations: 7.982 MB / 0.528 GB, free: 5.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/0.3978, allocations: 3.984 kB / 0.528 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3978, allocations: 0 / 0.528 GB, free: 5.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.3979, allocations: 144.5 kB / 0.5281 GB, free: 5.234 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.941e-05/0.398, allocations: 4 kB / 0.5281 GB, free: 5.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004868/0.3985, allocations: 51.89 kB / 0.5282 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.605e-05/0.3986, allocations: 31.95 kB / 0.5282 GB, free: 5.148 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00195/0.4005, allocations: 1.155 MB / 0.5294 GB, free: 3.984 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002549/0.4031, allocations: 1.76 MB / 0.5311 GB, free: 2.203 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006691/0.4038, allocations: 425.5 kB / 0.5315 GB, free: 1.789 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.004e-05/0.4038, allocations: 87.28 kB / 0.5316 GB, free: 1.703 MB / 446.1 MB Notification: Performance of Backend: time 4.2e-07/0.4038, allocations: 0 / 0.5316 GB, free: 1.703 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005711/0.4095, allocations: 1.817 MB / 0.5333 GB, free: 15.88 MB / 462.1 MB Notification: Performance of SimCode: time 0.00151/0.411, allocations: 1.315 MB / 0.5346 GB, free: 14.52 MB / 462.1 MB Notification: Performance of Templates: time 0.1928/0.6039, allocations: 44.81 MB / 0.5784 GB, free: 103.1 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.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.071968036703765]