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.006291/0.006291, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.001506/0.001506, allocations: 220.6 kB / 25.29 MB, free: 3.203 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.556/1.556, allocations: 230.6 MB / 259 MB, free: 8.039 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.002004/0.002004, allocations: 59.89 kB / 380.6 MB, free: 1.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2857, allocations: 53.37 MB / 434 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01882/0.3045, allocations: 13.56 MB / 447.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.02067/0.3252, allocations: 15.66 MB / 463.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002232/0.3254, allocations: 0 / 463.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004051/0.3258, allocations: 87.47 kB / 463.3 MB, free: 9.258 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003829/0.3262, allocations: 111.3 kB / 463.4 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01689/0.3431, allocations: 5.983 MB / 469.4 MB, free: 3.172 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005939/0.3437, allocations: 346.5 kB / 469.7 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.101e-05/0.3438, allocations: 13.8 kB / 469.8 MB, free: 2.816 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005556/0.3443, allocations: 239 kB / 470 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.3445, allocations: 107.6 kB / 470.1 MB, free: 2.477 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.3446, allocations: 16 kB / 470.1 MB, free: 2.461 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01436/0.3589, allocations: 6.786 MB / 476.9 MB, free: 11.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.359, allocations: 47.83 kB / 476.9 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001856/0.3592, allocations: 99.59 kB / 477 MB, free: 11.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01016/0.3694, allocations: 3.917 MB / 481 MB, free: 7.598 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.3694, allocations: 4 kB / 481 MB, free: 7.594 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.3694, allocations: 4 kB / 481 MB, free: 7.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.3694, allocations: 0 / 481 MB, free: 7.59 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.002967/0.3724, allocations: 0.9506 MB / 481.9 MB, free: 6.605 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.3724, allocations: 8.031 kB / 481.9 MB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001437/0.3739, allocations: 180.6 kB / 482.1 MB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004054/0.3743, allocations: 194.2 kB / 482.3 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.028e-05/0.3743, allocations: 20.81 kB / 482.3 MB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.286e-05/0.3744, allocations: 36 kB / 482.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.3776, allocations: 0.9012 MB / 483.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3776, allocations: 0 / 483.2 MB, free: 5.234 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.152e-05/0.3777, allocations: 4 kB / 483.3 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.3777, allocations: 12 kB / 483.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003441/0.3811, allocations: 0.9695 MB / 484.2 MB, free: 4.246 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.001865/0.383, allocations: 1.307 MB / 485.5 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00272/0.3857, allocations: 0.7216 MB / 486.3 MB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003096/0.386, allocations: 160.8 kB / 486.4 MB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07088/0.4569, allocations: 20.55 MB / 0.4951 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.027e-05/0.4569, allocations: 34.55 kB / 0.4951 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=33): time 2.885e-06/0.4569, allocations: 0 / 0.4951 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.005605/0.4626, allocations: 1.364 MB / 0.4965 GB, free: 11.93 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.865e-05/0.4626, allocations: 55.41 kB / 0.4965 GB, free: 11.86 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.4628, allocations: 126.1 kB / 0.4966 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-05/0.4628, allocations: 29.7 kB / 0.4967 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.596e-05/0.4629, allocations: 116.8 kB / 0.4968 GB, free: 11.57 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.4631, allocations: 123 kB / 0.4969 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.4634, allocations: 169.5 kB / 0.497 GB, free: 11.28 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001778/0.4635, allocations: 330.8 kB / 0.4974 GB, free: 10.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007031/0.4642, allocations: 343.6 kB / 0.4977 GB, free: 10.61 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007788/0.465, allocations: 407.5 kB / 0.4981 GB, free: 10.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.4665, allocations: 0.7036 MB / 0.4988 GB, free: 9.457 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4665, allocations: 4 kB / 0.4988 GB, free: 9.453 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002031/0.4685, allocations: 0.876 MB / 0.4996 GB, free: 8.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.4685, allocations: 8 kB / 0.4996 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.4685, allocations: 3.938 kB / 0.4996 GB, free: 8.559 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.458e-05/0.4686, allocations: 4 kB / 0.4996 GB, free: 8.555 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006981/0.4693, allocations: 171.8 kB / 0.4998 GB, free: 8.387 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.4693, allocations: 4 kB / 0.4998 GB, free: 8.383 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003633/0.4696, allocations: 31.83 kB / 0.4998 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.4698, allocations: 67.92 kB / 0.4999 GB, free: 8.285 MB / 414.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.0002635/0.47, allocations: 141.9 kB / 0.5 GB, free: 8.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4702, allocations: 15.91 kB / 0.5001 GB, free: 8.121 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009547/0.4797, allocations: 8.513 MB / 0.5084 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.874e-05/0.4798, allocations: 23.97 kB / 0.5084 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4798, allocations: 7.984 kB / 0.5084 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.4798, allocations: 0 / 0.5084 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003949/0.4837, allocations: 3.767 MB / 0.5121 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.4837, allocations: 0 / 0.5121 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006543/0.4844, allocations: 115.8 kB / 0.5122 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.4844, allocations: 0 / 0.5122 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.584e-05/0.4844, allocations: 15.92 kB / 0.5122 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4844, allocations: 4 kB / 0.5122 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4844, allocations: 0 / 0.5122 GB, free: 11.4 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/0.4872, allocations: 1.89 MB / 0.5141 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.615e-05/0.4873, allocations: 67.33 kB / 0.5141 GB, free: 9.426 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.484e-05/0.4873, allocations: 11.94 kB / 0.5141 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002908/0.4876, allocations: 15.94 kB / 0.5141 GB, free: 9.398 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.921e-05/0.4877, allocations: 27.94 kB / 0.5142 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.4878, allocations: 19.98 kB / 0.5142 GB, free: 9.352 MB / 430.1 MB Notification: Performance of sorting global known variables: time 8.297e-05/0.4879, allocations: 95.33 kB / 0.5143 GB, free: 9.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4879, allocations: 0 / 0.5143 GB, free: 9.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003009/0.4909, allocations: 1.002 MB / 0.5153 GB, free: 8.254 MB / 430.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.00419/0.4951, allocations: 1.142 MB / 0.5164 GB, free: 7.105 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001861/0.4969, allocations: 0.8915 MB / 0.5172 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4969, allocations: 0.5 kB / 0.5172 GB, free: 6.215 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008129/0.4977, allocations: 0.5322 MB / 0.5178 GB, free: 5.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006424/0.4984, allocations: 84.12 kB / 0.5178 GB, free: 5.602 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/0.5005, allocations: 1.39 MB / 0.5192 GB, free: 4.176 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.5011, allocations: 0.8575 MB / 0.52 GB, free: 3.293 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.5014, allocations: 87.36 kB / 0.5201 GB, free: 3.207 MB / 430.1 MB Notification: Performance of SimCode: time 8.72e-07/0.5014, allocations: 4 kB / 0.5201 GB, free: 3.203 MB / 430.1 MB Notification: Performance of Templates: time 0.2609/0.7623, allocations: 24.16 MB / 0.5437 GB, free: 96.61 MB / 446.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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 10.312503057066351]