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.0008829/0.0008829, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 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.0009385/0.0009385, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 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 0.8937/0.8937, allocations: 177 MB / 205.2 MB, free: 5.047 MB / 186.7 MB " [Timeout remaining time 179] 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 1.072e-06/1.072e-06, allocations: 0 / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095e-05/1.202e-05, allocations: 2.312 kB / 276.3 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01056/0.01057, allocations: 13.47 MB / 289.8 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1265/0.1371, allocations: 15.16 MB / 305 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001783/0.1373, allocations: 0 / 305 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003338/0.1376, allocations: 71.61 kB / 305 MB, free: 10.72 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.1379, allocations: 129 kB / 305.2 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01517/0.1531, allocations: 5.437 MB / 310.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005087/0.1536, allocations: 347.5 kB / 310.9 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.924e-05/0.1537, allocations: 8.719 kB / 311 MB, free: 8.008 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004712/0.1541, allocations: 277.5 kB / 311.2 MB, free: 7.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1543, allocations: 87.33 kB / 311.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.749e-05/0.1543, allocations: 13.59 kB / 311.3 MB, free: 7.848 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01183/0.1661, allocations: 6.971 MB / 318.3 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.797e-05/0.1662, allocations: 47.89 kB / 318.3 MB, free: 4.148 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1664, allocations: 83.83 kB / 318.4 MB, free: 4.066 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009374/0.1758, allocations: 4.923 MB / 323.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.1758, allocations: 0 / 323.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1758, allocations: 0 / 323.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1758, allocations: 0 / 323.3 MB, free: 15.13 MB / 282.7 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.002491/0.1783, allocations: 0.9264 MB / 324.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.1783, allocations: 15.98 kB / 324.3 MB, free: 14.16 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/0.1797, allocations: 316 kB / 324.6 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.1799, allocations: 181.5 kB / 324.8 MB, free: 13.65 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.491e-05/0.18, allocations: 16.88 kB / 324.8 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.18, allocations: 24.38 kB / 324.8 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002093/0.1821, allocations: 1.014 MB / 325.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.1821, allocations: 0 / 325.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.1821, allocations: 15.94 kB / 325.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.1821, allocations: 4 kB / 325.8 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001841/0.184, allocations: 0.7717 MB / 326.6 MB, free: 11.78 MB / 282.7 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.0009901/0.185, allocations: 0.7515 MB / 327.4 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.1866, allocations: 0.7305 MB / 328.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.395e-05/0.1867, allocations: 73.39 kB / 328.2 MB, free: 10.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3139/0.5006, allocations: 132.5 MB / 460.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5007, allocations: 34.56 kB / 460.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.114e-06/0.5007, allocations: 0 / 460.7 MB, free: 101.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002138/0.5028, allocations: 1.253 MB / 462 MB, free: 100.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.745e-05/0.5028, allocations: 58.41 kB / 462 MB, free: 100.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.834e-05/0.5029, allocations: 126.2 kB / 462.2 MB, free: 100.2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.295e-05/0.5029, allocations: 29.52 kB / 462.2 MB, free: 100.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.364e-05/0.503, allocations: 122.8 kB / 462.3 MB, free: 100.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.124e-05/0.503, allocations: 118 kB / 462.4 MB, free: 100 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.5031, allocations: 122.9 kB / 462.5 MB, free: 99.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.704e-05/0.5032, allocations: 329.9 kB / 462.9 MB, free: 99.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001799/0.5034, allocations: 282.1 kB / 463.1 MB, free: 99.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001941/0.5035, allocations: 349.4 kB / 463.5 MB, free: 99.01 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/0.5039, allocations: 0.6371 MB / 464.1 MB, free: 98.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.5039, allocations: 8 kB / 464.1 MB, free: 98.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0004705/0.5044, allocations: 0.6421 MB / 464.8 MB, free: 97.78 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5044, allocations: 11.75 kB / 464.8 MB, free: 97.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.5044, allocations: 1.969 kB / 464.8 MB, free: 97.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.5045, allocations: 5.172 kB / 464.8 MB, free: 97.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003186/0.5048, allocations: 167 kB / 464.9 MB, free: 97.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.5048, allocations: 7.625 kB / 465 MB, free: 97.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5049, allocations: 36.3 kB / 465 MB, free: 97.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.229e-05/0.505, allocations: 39.36 kB / 465 MB, free: 97.59 MB / 378.7 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.dew.phase,medium.bubble.phase,medium.bubble2.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.0001103/0.5051, allocations: 131.1 kB / 465.2 MB, free: 97.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.5051, allocations: 23.86 kB / 465.2 MB, free: 97.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.5071, allocations: 4.432 MB / 469.6 MB, free: 93.12 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5071, allocations: 29.45 kB / 469.6 MB, free: 93.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.5071, allocations: 5.125 kB / 469.6 MB, free: 93.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.5071, allocations: 6.391 kB / 469.7 MB, free: 93.09 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000679/0.5078, allocations: 1.294 MB / 470.9 MB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.5078, allocations: 0 / 470.9 MB, free: 92.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002619/0.5081, allocations: 111.6 kB / 471.1 MB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.5081, allocations: 4.891 kB / 471.1 MB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5081, allocations: 9.547 kB / 471.1 MB, free: 92.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.5081, allocations: 4 kB / 471.1 MB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.5081, allocations: 6.625 kB / 471.1 MB, free: 92.22 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.5087, allocations: 1.025 MB / 472.1 MB, free: 91.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.534e-05/0.5088, allocations: 70.59 kB / 472.2 MB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.722e-05/0.5088, allocations: 5.562 kB / 472.2 MB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.5089, allocations: 13.81 kB / 472.2 MB, free: 91.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.509, allocations: 27 kB / 472.2 MB, free: 91.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/0.509, allocations: 11.3 kB / 472.2 MB, free: 91.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 1.46e-05/0.509, allocations: 28.19 kB / 472.3 MB, free: 91.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.509, allocations: 0 / 472.3 MB, free: 91.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001359/0.5103, allocations: 1.006 MB / 473.3 MB, free: 90.14 MB / 378.7 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.002192/0.5125, allocations: 1.351 MB / 474.6 MB, free: 88.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004517/0.513, allocations: 0.5915 MB / 475.2 MB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.513, allocations: 4 kB / 475.2 MB, free: 88.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001823/0.5132, allocations: 270.9 kB / 475.5 MB, free: 88.11 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5135, allocations: 88.91 kB / 475.6 MB, free: 88.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.5146, allocations: 1.113 MB / 476.7 MB, free: 87.04 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.312e-05/0.5146, allocations: 148.6 kB / 476.8 MB, free: 86.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008732/0.5155, allocations: 1.778 MB / 478.6 MB, free: 85.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003519/0.5159, allocations: 165.3 kB / 478.8 MB, free: 85.01 MB / 378.7 MB Notification: Performance of SimCode: time 6.41e-07/0.5159, allocations: 4 kB / 478.8 MB, free: 85.01 MB / 378.7 MB Notification: Performance of Templates: time 0.03729/0.5532, allocations: 48.61 MB / 0.515 GB, free: 36.7 MB / 378.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.375730033032596]