Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") translateModel(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4400,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00129/0.00129, allocations: 114.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001342/0.001342, allocations: 206.8 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.312/1.312, allocations: 227.4 MB / 247.6 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 59.91 kB / 361.7 MB, free: 10.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2067, allocations: 50.53 MB / 412.3 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01483/0.2216, allocations: 13.44 MB / 425.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01632/0.238, allocations: 15.56 MB / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.233e-05/0.2381, allocations: 0 / 441.3 MB, free: 3.539 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000291/0.2384, allocations: 87.53 kB / 441.4 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002778/0.2387, allocations: 107.2 kB / 441.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01226/0.2509, allocations: 5.983 MB / 447.4 MB, free: 13.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.2513, allocations: 338.4 kB / 447.8 MB, free: 13.04 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.041e-05/0.2514, allocations: 17.67 kB / 447.8 MB, free: 13.02 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004113/0.2518, allocations: 235 kB / 448 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001566/0.2519, allocations: 103.6 kB / 448.1 MB, free: 12.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.018e-05/0.252, allocations: 16 kB / 448.1 MB, free: 12.67 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01024/0.2622, allocations: 6.766 MB / 454.9 MB, free: 5.902 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.205e-05/0.2623, allocations: 43.83 kB / 454.9 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.2624, allocations: 103.6 kB / 455 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005309/0.2677, allocations: 3.914 MB / 459 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.2677, allocations: 0 / 459 MB, free: 1.836 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.051e-06/0.2678, allocations: 4 kB / 459 MB, free: 1.832 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2678, allocations: 0 / 459 MB, free: 1.832 MB / 366.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.002334/0.2701, allocations: 0.9947 MB / 460 MB, free: 0.7891 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.59e-05/0.2702, allocations: 12.03 kB / 460 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.2716, allocations: 176.5 kB / 460.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.2719, allocations: 260 kB / 460.4 MB, free: 320 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.2719, allocations: 16.81 kB / 460.4 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.431e-05/0.272, allocations: 20.12 kB / 460.4 MB, free: 284 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/0.2751, allocations: 0.909 MB / 461.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.2751, allocations: 3.984 kB / 461.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.178e-05/0.2751, allocations: 12 kB / 461.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2751, allocations: 4 kB / 461.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003188/0.2783, allocations: 0.9734 MB / 462.3 MB, free: 14.36 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.001501/0.2798, allocations: 1.339 MB / 463.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002549/0.2824, allocations: 0.7364 MB / 464.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002731/0.2827, allocations: 156.8 kB / 464.6 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07845/0.3612, allocations: 42.18 MB / 0.4949 GB, free: 12.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.718e-05/0.3612, allocations: 34.56 kB / 0.4949 GB, free: 12.39 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 1.823e-06/0.3612, allocations: 0 / 0.4949 GB, free: 12.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005091/0.3663, allocations: 1.366 MB / 0.4962 GB, free: 11.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.551e-05/0.3663, allocations: 55.41 kB / 0.4963 GB, free: 10.95 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.3664, allocations: 117.8 kB / 0.4964 GB, free: 10.83 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.3665, allocations: 37.7 kB / 0.4964 GB, free: 10.79 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.3666, allocations: 116.7 kB / 0.4965 GB, free: 10.67 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3667, allocations: 106.3 kB / 0.4966 GB, free: 10.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002803/0.367, allocations: 169.5 kB / 0.4968 GB, free: 10.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.3671, allocations: 322.8 kB / 0.4971 GB, free: 10.07 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006396/0.3677, allocations: 347.6 kB / 0.4974 GB, free: 9.727 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007158/0.3685, allocations: 399.5 kB / 0.4978 GB, free: 9.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00135/0.3698, allocations: 0.7103 MB / 0.4985 GB, free: 8.57 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3698, allocations: 0 / 0.4985 GB, free: 8.57 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001881/0.3717, allocations: 0.8721 MB / 0.4994 GB, free: 7.691 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3718, allocations: 6.969 kB / 0.4994 GB, free: 7.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.3718, allocations: 12.19 kB / 0.4994 GB, free: 7.676 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.3718, allocations: 11.88 kB / 0.4994 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.3725, allocations: 175.8 kB / 0.4996 GB, free: 7.492 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.3725, allocations: 7.984 kB / 0.4996 GB, free: 7.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.3728, allocations: 27.78 kB / 0.4996 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.3729, allocations: 63.92 kB / 0.4997 GB, free: 7.395 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.0001982/0.3732, allocations: 142 kB / 0.4998 GB, free: 7.246 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001477/0.3733, allocations: 15.81 kB / 0.4998 GB, free: 7.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/0.3808, allocations: 7.981 MB / 0.5076 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.3808, allocations: 0 / 0.5076 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.3809, allocations: 4 kB / 0.5076 GB, free: 15.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.728e-05/0.3809, allocations: 144.1 kB / 0.5077 GB, free: 15.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.296e-05/0.381, allocations: 4 kB / 0.5077 GB, free: 15.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.3815, allocations: 59.89 kB / 0.5078 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.3816, allocations: 31.95 kB / 0.5078 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001795/0.3834, allocations: 1.139 MB / 0.5089 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002364/0.3858, allocations: 1.763 MB / 0.5107 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006892/0.3865, allocations: 0.5334 MB / 0.5112 GB, free: 11.52 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.809e-05/0.3865, allocations: 91.27 kB / 0.5113 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Backend: time 3.81e-07/0.3865, allocations: 0 / 0.5113 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005662/0.3922, allocations: 1.819 MB / 0.5131 GB, free: 9.598 MB / 446.1 MB Notification: Performance of SimCode: time 0.001351/0.3936, allocations: 1.3 MB / 0.5143 GB, free: 8.25 MB / 446.1 MB Notification: Performance of Templates: time 0.1966/0.5902, allocations: 44.49 MB / 0.5578 GB, free: 120.8 MB / 462.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches