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.001486/0.001486, allocations: 111.8 kB / 19.17 MB, free: 3.867 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.001676/0.001676, allocations: 212.9 kB / 22.13 MB, free: 0.9102 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.432/1.432, allocations: 230.4 MB / 255.4 MB, free: 15.02 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.001874/0.001874, allocations: 71.83 kB / 375.6 MB, free: 8.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1118, allocations: 53.31 MB / 428.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.2161/0.3279, allocations: 13.49 MB / 442.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0176/0.3455, allocations: 15.61 MB / 458 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000268/0.3458, allocations: 1.281 kB / 458 MB, free: 9.391 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.3462, allocations: 83.39 kB / 458.1 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.3466, allocations: 111.6 kB / 458.2 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01892/0.3656, allocations: 5.976 MB / 464.1 MB, free: 6.016 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006099/0.3662, allocations: 342.9 kB / 464.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.875e-05/0.3662, allocations: 12.55 kB / 464.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005016/0.3667, allocations: 241.5 kB / 464.7 MB, free: 5.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.3669, allocations: 104.7 kB / 464.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.3669, allocations: 13.69 kB / 464.8 MB, free: 5.605 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01544/0.3824, allocations: 6.783 MB / 471.6 MB, free: 2.102 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.3825, allocations: 40.95 kB / 471.7 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3827, allocations: 106 kB / 471.8 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01181/0.3945, allocations: 3.917 MB / 475.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.3945, allocations: 0 / 475.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.514e-06/0.3945, allocations: 5.062 kB / 475.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.616e-06/0.3945, allocations: 0 / 475.7 MB, free: 15.54 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.003809/0.3983, allocations: 1.022 MB / 476.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.3984, allocations: 9.031 kB / 476.7 MB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001396/0.3998, allocations: 179.6 kB / 476.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.4002, allocations: 265.6 kB / 477.2 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.4002, allocations: 21.88 kB / 477.2 MB, free: 14.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.4003, allocations: 23.48 kB / 477.2 MB, free: 14.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003131/0.4034, allocations: 0.9003 MB / 478.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.4034, allocations: 3.938 kB / 478.1 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.669e-05/0.4035, allocations: 10.75 kB / 478.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.4035, allocations: 9.5 kB / 478.1 MB, free: 13.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003306/0.4068, allocations: 0.9731 MB / 479.1 MB, free: 13.25 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.001791/0.4086, allocations: 1.333 MB / 480.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.4112, allocations: 0.7265 MB / 481.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.4115, allocations: 154.8 kB / 481.3 MB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08857/0.5001, allocations: 42.18 MB / 0.5112 GB, free: 11.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.5002, allocations: 34.56 kB / 0.5113 GB, free: 11.8 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.294e-06/0.5002, allocations: 0 / 0.5113 GB, free: 11.8 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005708/0.5059, allocations: 1.364 MB / 0.5126 GB, free: 10.43 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.5059, allocations: 55.41 kB / 0.5126 GB, free: 10.36 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.5061, allocations: 125.7 kB / 0.5128 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.689e-05/0.5061, allocations: 33.64 kB / 0.5128 GB, free: 10.19 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.224e-05/0.5062, allocations: 120.9 kB / 0.5129 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.5064, allocations: 118.9 kB / 0.513 GB, free: 9.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003166/0.5067, allocations: 165.6 kB / 0.5132 GB, free: 9.781 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.5069, allocations: 334.8 kB / 0.5135 GB, free: 9.445 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.5076, allocations: 335.6 kB / 0.5138 GB, free: 9.117 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007768/0.5083, allocations: 411.3 kB / 0.5142 GB, free: 8.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.5098, allocations: 0.7075 MB / 0.5149 GB, free: 7.953 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5098, allocations: 0 / 0.5149 GB, free: 7.953 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002028/0.5118, allocations: 0.8798 MB / 0.5158 GB, free: 7.066 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.5119, allocations: 4 kB / 0.5158 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.5119, allocations: 8.812 kB / 0.5158 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.5119, allocations: 4 kB / 0.5158 GB, free: 7.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.5126, allocations: 171.8 kB / 0.5159 GB, free: 6.883 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.5126, allocations: 7.938 kB / 0.5159 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003765/0.513, allocations: 35.77 kB / 0.516 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.5132, allocations: 63.94 kB / 0.516 GB, free: 6.777 MB / 430.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.0002895/0.5134, allocations: 141.9 kB / 0.5162 GB, free: 6.629 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.5136, allocations: 16.61 kB / 0.5162 GB, free: 6.613 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009153/0.5228, allocations: 7.97 MB / 0.524 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.207e-05/0.5228, allocations: 29.7 kB / 0.524 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.5228, allocations: 4 kB / 0.524 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.5228, allocations: 7.984 kB / 0.524 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003671/0.5265, allocations: 3.604 MB / 0.5275 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.5265, allocations: 0 / 0.5275 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006552/0.5271, allocations: 109 kB / 0.5276 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.858e-06/0.5272, allocations: 7.938 kB / 0.5276 GB, free: 10.61 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.5272, allocations: 15.92 kB / 0.5277 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.5272, allocations: 0 / 0.5277 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5272, allocations: 3.938 kB / 0.5277 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002696/0.5299, allocations: 1.847 MB / 0.5295 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/0.5301, allocations: 144.4 kB / 0.5296 GB, free: 8.559 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.5301, allocations: 11.94 kB / 0.5296 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.5304, allocations: 11.06 kB / 0.5296 GB, free: 8.539 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.5305, allocations: 31.95 kB / 0.5297 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.874e-05/0.5305, allocations: 15.98 kB / 0.5297 GB, free: 8.492 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.76e-05/0.5306, allocations: 95.33 kB / 0.5298 GB, free: 8.398 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.1e-08/0.5306, allocations: 0 / 0.5298 GB, free: 8.398 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00356/0.5342, allocations: 1.002 MB / 0.5307 GB, free: 7.395 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (medium.p,medium.h) * Number of discrete variables: 15 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005779/0.54, allocations: 1.145 MB / 0.5319 GB, free: 6.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001837/0.5418, allocations: 0.8833 MB / 0.5327 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5418, allocations: 4.438 kB / 0.5327 GB, free: 5.367 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008088/0.5426, allocations: 0.5212 MB / 0.5332 GB, free: 4.848 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006759/0.5433, allocations: 88.06 kB / 0.5333 GB, free: 4.766 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002075/0.5454, allocations: 1.348 MB / 0.5346 GB, free: 3.387 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/0.5459, allocations: 0.8575 MB / 0.5355 GB, free: 2.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/0.5462, allocations: 91.36 kB / 0.5356 GB, free: 2.414 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/0.5462, allocations: 0 / 0.5356 GB, free: 2.414 MB / 446.1 MB Notification: Performance of Templates: time 0.03876/0.585, allocations: 24.18 MB / 0.5592 GB, free: 10.18 MB / 478.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: 9.154523022007197]