Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002059/0.002059, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 379.8 MB, free: 1.648 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.206, allocations: 53.36 MB / 433.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01625/0.2222, allocations: 12.32 MB / 445.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01792/0.2402, allocations: 13.62 MB / 459.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.2403, allocations: 0 / 459.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003206/0.2406, allocations: 71.58 kB / 459.2 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2409, allocations: 115.2 kB / 459.3 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0143/0.2552, allocations: 5.923 MB / 465.2 MB, free: 6.316 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004574/0.2557, allocations: 354.5 kB / 465.6 MB, free: 5.969 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.2557, allocations: 9.75 kB / 465.6 MB, free: 5.957 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004771/0.2562, allocations: 227 kB / 465.8 MB, free: 5.734 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000167/0.2564, allocations: 107.6 kB / 465.9 MB, free: 5.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.944e-05/0.2564, allocations: 12 kB / 465.9 MB, free: 5.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01161/0.268, allocations: 6.732 MB / 472.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.012e-05/0.2681, allocations: 47.83 kB / 472.7 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000119/0.2682, allocations: 91.7 kB / 472.8 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.2744, allocations: 3.921 MB / 476.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.2744, allocations: 0 / 476.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2744, allocations: 0 / 476.7 MB, free: 10.81 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.2745, allocations: 0 / 476.7 MB, free: 10.81 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.00226/0.2767, allocations: 0.9428 MB / 477.6 MB, free: 9.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2767, allocations: 8.031 kB / 477.6 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001483/0.2782, allocations: 180.6 kB / 477.8 MB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003616/0.2786, allocations: 194.2 kB / 478 MB, free: 9.438 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.542e-05/0.2786, allocations: 20.81 kB / 478 MB, free: 9.418 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.804e-05/0.2787, allocations: 28.11 kB / 478.1 MB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/0.2823, allocations: 0.9591 MB / 479 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.2823, allocations: 0 / 479 MB, free: 8.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.2824, allocations: 12 kB / 479 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.2824, allocations: 4 kB / 479 MB, free: 8.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003595/0.286, allocations: 0.9656 MB / 480 MB, free: 7.418 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.001502/0.2875, allocations: 0.901 MB / 480.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.2904, allocations: 0.7371 MB / 481.6 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002965/0.2907, allocations: 148.8 kB / 481.8 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0763/0.367, allocations: 20.64 MB / 0.4906 GB, free: 0.918 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.88e-05/0.367, allocations: 34.56 kB / 0.4907 GB, free: 0.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 2.575e-06/0.367, allocations: 4 kB / 0.4907 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006017/0.3731, allocations: 1.356 MB / 0.492 GB, free: 15.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.3731, allocations: 63.28 kB / 0.4921 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001128/0.3732, allocations: 121.8 kB / 0.4922 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.3733, allocations: 29.7 kB / 0.4922 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.501e-05/0.3734, allocations: 124.8 kB / 0.4923 GB, free: 15.14 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3735, allocations: 122.9 kB / 0.4924 GB, free: 15.02 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003167/0.3739, allocations: 165.6 kB / 0.4926 GB, free: 14.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.374, allocations: 326.8 kB / 0.4929 GB, free: 14.53 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006839/0.3747, allocations: 339.8 kB / 0.4932 GB, free: 14.2 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.3755, allocations: 403.5 kB / 0.4936 GB, free: 13.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001456/0.3769, allocations: 0.7075 MB / 0.4943 GB, free: 13.04 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3769, allocations: 0 / 0.4943 GB, free: 13.04 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002013/0.3789, allocations: 0.8799 MB / 0.4952 GB, free: 12.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.3789, allocations: 7.938 kB / 0.4952 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.379, allocations: 4 kB / 0.4952 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.379, allocations: 4 kB / 0.4952 GB, free: 12.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007666/0.3797, allocations: 179.7 kB / 0.4954 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.3797, allocations: 4 kB / 0.4954 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004011/0.3801, allocations: 27.84 kB / 0.4954 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001287/0.3803, allocations: 67.92 kB / 0.4955 GB, free: 11.86 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.0002429/0.3805, allocations: 141.8 kB / 0.4956 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001649/0.3807, allocations: 15.91 kB / 0.4956 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008648/0.3893, allocations: 8.498 MB / 0.5039 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.3893, allocations: 7.922 kB / 0.5039 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.3893, allocations: 0 / 0.5039 GB, free: 3.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.647e-05/0.3894, allocations: 75.23 kB / 0.504 GB, free: 3.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.528e-05/0.3895, allocations: 12 kB / 0.504 GB, free: 3.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.39, allocations: 55.89 kB / 0.504 GB, free: 3.035 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.3901, allocations: 31.94 kB / 0.5041 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001968/0.3921, allocations: 1.155 MB / 0.5052 GB, free: 1.848 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00254/0.3947, allocations: 1.802 MB / 0.507 GB, free: 24 kB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006865/0.3953, allocations: 441.5 kB / 0.5074 GB, free: 15.59 MB / 430.1 MB Notification: Performance of sorting global known variables: time 6.006e-05/0.3954, allocations: 87.28 kB / 0.5075 GB, free: 15.5 MB / 430.1 MB Notification: Performance of Backend: time 3.61e-07/0.3954, allocations: 3.938 kB / 0.5075 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00592/0.4013, allocations: 1.813 MB / 0.5092 GB, free: 13.68 MB / 430.1 MB Notification: Performance of SimCode: time 0.001504/0.4028, allocations: 1.308 MB / 0.5105 GB, free: 12.33 MB / 430.1 MB Notification: Performance of Templates: time 0.2334/0.6363, allocations: 45.49 MB / 0.5549 GB, free: 99.6 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.250750270002754]