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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001819/0.001819, allocations: 117.9 kB / 18.5 MB, free: 4.52 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.002152/0.002152, allocations: 214.5 kB / 21.46 MB, free: 1.566 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 230.2 MB / 254.5 MB, free: 15.27 MB / 206.1 MB " [Timeout remaining time 178] 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=2200,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=2200,variableFilter="time|medium.h|medium.p",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 64.03 kB / 374.7 MB, free: 9.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09438/0.09628, allocations: 53.33 MB / 428 MB, free: 3.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.2006/0.2969, allocations: 13.49 MB / 441.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01704/0.314, allocations: 15.61 MB / 457.1 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001898/0.3142, allocations: 4.969 kB / 457.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003645/0.3145, allocations: 84.62 kB / 457.2 MB, free: 9.547 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.3149, allocations: 110.8 kB / 457.3 MB, free: 9.473 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01864/0.3335, allocations: 5.971 MB / 463.2 MB, free: 6.27 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005379/0.3341, allocations: 346.3 kB / 463.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.98e-05/0.3341, allocations: 8.562 kB / 463.6 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005128/0.3346, allocations: 241.6 kB / 463.8 MB, free: 5.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002025/0.3348, allocations: 113 kB / 463.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.38e-05/0.3349, allocations: 13.75 kB / 463.9 MB, free: 5.852 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01455/0.3494, allocations: 6.767 MB / 470.7 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.3495, allocations: 49.17 kB / 470.8 MB, free: 2.324 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002015/0.3497, allocations: 109.1 kB / 470.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.3606, allocations: 3.918 MB / 474.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3606, allocations: 0 / 474.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3606, allocations: 0 / 474.8 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.916e-05/0.3606, allocations: 3.938 kB / 474.8 MB, free: 15.79 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.004121/0.3648, allocations: 1.03 MB / 475.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3648, allocations: 8.438 kB / 475.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.3663, allocations: 179.7 kB / 476 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004908/0.3668, allocations: 255 kB / 476.3 MB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.165e-05/0.3668, allocations: 16.81 kB / 476.3 MB, free: 14.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-05/0.3669, allocations: 26.03 kB / 476.3 MB, free: 14.62 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003319/0.3702, allocations: 0.911 MB / 477.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3702, allocations: 0 / 477.2 MB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.304e-05/0.3703, allocations: 8.625 kB / 477.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.3703, allocations: 9.25 kB / 477.2 MB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003352/0.3736, allocations: 0.9675 MB / 478.2 MB, free: 13.51 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.001937/0.3756, allocations: 1.338 MB / 479.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002929/0.3785, allocations: 0.7301 MB / 480.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.3788, allocations: 152.8 kB / 480.4 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08989/0.4687, allocations: 42.18 MB / 0.5103 GB, free: 12.07 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.633e-05/0.4687, allocations: 38.56 kB / 0.5104 GB, free: 12.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.946e-06/0.4687, allocations: 0 / 0.5104 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005807/0.4746, allocations: 1.358 MB / 0.5117 GB, free: 10.66 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.849e-05/0.4746, allocations: 55.41 kB / 0.5118 GB, free: 10.6 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4747, allocations: 121.7 kB / 0.5119 GB, free: 10.47 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.317e-05/0.4748, allocations: 33.7 kB / 0.5119 GB, free: 10.43 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.4749, allocations: 121.2 kB / 0.512 GB, free: 10.31 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.4751, allocations: 115 kB / 0.5121 GB, free: 10.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000341/0.4754, allocations: 165.6 kB / 0.5123 GB, free: 10.03 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001591/0.4756, allocations: 326.8 kB / 0.5126 GB, free: 9.699 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.4763, allocations: 347.5 kB / 0.5129 GB, free: 9.359 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008127/0.4771, allocations: 407.3 kB / 0.5133 GB, free: 8.934 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.4786, allocations: 0.7064 MB / 0.514 GB, free: 8.199 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.4786, allocations: 3.938 kB / 0.514 GB, free: 8.195 MB / 430.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002074/0.4807, allocations: 0.8761 MB / 0.5149 GB, free: 7.312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4807, allocations: 4 kB / 0.5149 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/0.4807, allocations: 7.938 kB / 0.5149 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4808, allocations: 5.078 kB / 0.5149 GB, free: 7.297 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000691/0.4815, allocations: 176.3 kB / 0.5151 GB, free: 7.125 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.4815, allocations: 7.938 kB / 0.5151 GB, free: 7.117 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003715/0.4818, allocations: 40.03 kB / 0.5151 GB, free: 7.078 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/0.482, allocations: 63.92 kB / 0.5152 GB, free: 7.016 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.0002537/0.4822, allocations: 133.8 kB / 0.5153 GB, free: 6.875 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.4824, allocations: 15.91 kB / 0.5153 GB, free: 6.859 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008659/0.491, allocations: 7.982 MB / 0.5231 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/0.4911, allocations: 29.45 kB / 0.5231 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.839e-05/0.4911, allocations: 7.938 kB / 0.5231 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.4911, allocations: 3.984 kB / 0.5231 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.4947, allocations: 3.6 MB / 0.5267 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.4947, allocations: 0 / 0.5267 GB, free: 10.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/0.4953, allocations: 103.8 kB / 0.5268 GB, free: 10.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.4953, allocations: 5.078 kB / 0.5268 GB, free: 10.85 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.553e-05/0.4954, allocations: 15.88 kB / 0.5268 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.617e-06/0.4954, allocations: 3.984 kB / 0.5268 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4954, allocations: 4 kB / 0.5268 GB, free: 10.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.4981, allocations: 1.835 MB / 0.5286 GB, free: 8.973 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001247/0.4983, allocations: 146.2 kB / 0.5287 GB, free: 8.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.005e-05/0.4983, allocations: 11.94 kB / 0.5287 GB, free: 8.801 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002995/0.4986, allocations: 23.98 kB / 0.5287 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.4987, allocations: 31.95 kB / 0.5288 GB, free: 8.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.4988, allocations: 15.92 kB / 0.5288 GB, free: 8.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.493e-05/0.4988, allocations: 87.28 kB / 0.5289 GB, free: 8.645 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4988, allocations: 4 kB / 0.5289 GB, free: 8.641 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003388/0.5022, allocations: 0.998 MB / 0.5299 GB, free: 7.641 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.004898/0.5071, allocations: 1.157 MB / 0.531 GB, free: 6.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001731/0.5089, allocations: 0.8837 MB / 0.5318 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5089, allocations: 0 / 0.5318 GB, free: 5.605 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000782/0.5096, allocations: 0.5173 MB / 0.5324 GB, free: 5.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.5103, allocations: 91.62 kB / 0.5324 GB, free: 5.008 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001991/0.5123, allocations: 1.324 MB / 0.5337 GB, free: 3.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.5128, allocations: 0.8497 MB / 0.5346 GB, free: 2.781 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00215/0.5149, allocations: 1.784 MB / 0.5363 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003879/0.5153, allocations: 91.34 kB / 0.5364 GB, free: 0.9062 MB / 446.1 MB Notification: Performance of SimCode: time 1.203e-06/0.5153, allocations: 3.938 kB / 0.5364 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of Templates: time 0.05826/0.5736, allocations: 41.05 MB / 0.5765 GB, free: 7.805 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.199114533141255]