Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 107.5 kB / 18.41 MB, free: 4.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 187 kB / 19.34 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 59.92 kB / 331.5 MB, free: 0.9453 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0734/0.07456, allocations: 46.61 MB / 378.1 MB, free: 2.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.1588/0.2334, allocations: 13.32 MB / 391.5 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01511/0.2486, allocations: 15.55 MB / 407 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.2487, allocations: 2.406 kB / 407 MB, free: 10.14 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003185/0.2491, allocations: 79.92 kB / 407.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.2494, allocations: 113.2 kB / 407.2 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01536/0.2648, allocations: 5.949 MB / 413.2 MB, free: 6.207 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004081/0.2652, allocations: 337.6 kB / 413.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.2652, allocations: 19.67 kB / 413.5 MB, free: 6.004 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004178/0.2657, allocations: 224.4 kB / 413.7 MB, free: 5.867 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.2658, allocations: 104 kB / 413.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.938e-05/0.2659, allocations: 14.25 kB / 413.8 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01194/0.2778, allocations: 6.75 MB / 420.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.034e-05/0.2779, allocations: 45.41 kB / 420.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.2781, allocations: 105 kB / 420.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006602/0.2847, allocations: 3.895 MB / 424.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.2847, allocations: 0 / 424.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2847, allocations: 0 / 424.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.2847, allocations: 4 kB / 424.6 MB, free: 15.11 MB / 350.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.002461/0.2872, allocations: 0.9914 MB / 425.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.529e-05/0.2872, allocations: 8.031 kB / 425.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.2886, allocations: 172.6 kB / 425.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003094/0.2889, allocations: 249.2 kB / 426 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.289, allocations: 16.81 kB / 426.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.551e-05/0.289, allocations: 32.03 kB / 426.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003026/0.2921, allocations: 0.905 MB / 427 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.2921, allocations: 3.938 kB / 427 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.183e-05/0.2921, allocations: 12 kB / 427 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.2922, allocations: 7.984 kB / 427 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003149/0.2953, allocations: 0.9734 MB / 428 MB, free: 11.64 MB / 350.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.001533/0.2969, allocations: 1.342 MB / 429.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00251/0.2994, allocations: 0.7283 MB / 430.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002744/0.2997, allocations: 156.8 kB / 430.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07284/0.3725, allocations: 37.54 MB / 467.8 MB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.3726, allocations: 42.56 kB / 467.8 MB, free: 15.22 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.514e-06/0.3726, allocations: 0 / 467.8 MB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.005152/0.3777, allocations: 1.356 MB / 469.2 MB, free: 13.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.3778, allocations: 59.39 kB / 469.2 MB, free: 13.79 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3779, allocations: 121.8 kB / 469.3 MB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-05/0.378, allocations: 33.7 kB / 469.4 MB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.636e-05/0.3781, allocations: 116.7 kB / 469.5 MB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.3782, allocations: 114.4 kB / 469.6 MB, free: 13.39 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.3785, allocations: 161.5 kB / 469.8 MB, free: 13.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.3786, allocations: 322.8 kB / 470.1 MB, free: 12.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006437/0.3792, allocations: 339.8 kB / 470.4 MB, free: 12.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007301/0.38, allocations: 407.3 kB / 470.8 MB, free: 12.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.3814, allocations: 0.7037 MB / 471.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3814, allocations: 0.875 kB / 471.5 MB, free: 11.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001858/0.3832, allocations: 0.8757 MB / 472.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3833, allocations: 4 kB / 472.4 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.3833, allocations: 4 kB / 472.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3833, allocations: 7.938 kB / 472.4 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006425/0.3839, allocations: 180.1 kB / 472.6 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.384, allocations: 7.984 kB / 472.6 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.3843, allocations: 39.88 kB / 472.6 MB, free: 10.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3844, allocations: 62.55 kB / 472.7 MB, free: 10.23 MB / 398.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.0001939/0.3846, allocations: 141.7 kB / 472.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.3848, allocations: 15.81 kB / 472.8 MB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007192/0.392, allocations: 7.977 MB / 480.8 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.392, allocations: 0 / 480.8 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.392, allocations: 0 / 480.8 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.237e-05/0.3921, allocations: 144.1 kB / 480.9 MB, free: 1.91 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.616e-05/0.3922, allocations: 8 kB / 481 MB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004408/0.3926, allocations: 51.89 kB / 481 MB, free: 1.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.3927, allocations: 35.94 kB / 481 MB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00173/0.3945, allocations: 1.143 MB / 482.2 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002278/0.3968, allocations: 1.755 MB / 483.9 MB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006553/0.3974, allocations: 0.5367 MB / 484.5 MB, free: 14.36 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.837e-05/0.3975, allocations: 91.27 kB / 484.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of Backend: time 4.21e-07/0.3975, allocations: 0 / 484.6 MB, free: 14.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005799/0.4033, allocations: 1.809 MB / 486.4 MB, free: 12.45 MB / 414.1 MB Notification: Performance of SimCode: time 0.001311/0.4046, allocations: 1.285 MB / 487.7 MB, free: 11.12 MB / 414.1 MB Notification: Performance of Templates: time 0.05304/0.4577, allocations: 44.68 MB / 0.5199 GB, free: 14.33 MB / 462.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches