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.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.001891/0.001891, allocations: 99.53 kB / 21.74 MB, free: 2.684 MB / 18.57 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.001953/0.001953, allocations: 159.8 kB / 25.03 MB, free: 8.93 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] 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.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_3.2.3_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_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 253.2 MB, free: 4.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.555e-05, allocations: 2.312 kB / 253.2 MB, free: 4.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01939/0.01941, allocations: 13.28 MB / 266.5 MB, free: 7.594 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.02213/0.04154, allocations: 15.18 MB / 281.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001657/0.04171, allocations: 0 / 281.7 MB, free: 8.359 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003595/0.04207, allocations: 67.53 kB / 281.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004038/0.04247, allocations: 127 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01628/0.05875, allocations: 5.96 MB / 287.9 MB, free: 2.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.05935, allocations: 342.4 kB / 288.2 MB, free: 1.848 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.552e-05/0.0594, allocations: 13.8 kB / 288.2 MB, free: 1.836 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005864/0.05999, allocations: 271 kB / 288.5 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.06019, allocations: 91.77 kB / 288.6 MB, free: 1.48 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.06023, allocations: 16 kB / 288.6 MB, free: 1.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01377/0.074, allocations: 6.465 MB / 295 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.277e-05/0.07409, allocations: 39.89 kB / 295.1 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.07426, allocations: 79.83 kB / 295.2 MB, free: 10.88 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.08495, allocations: 4.954 MB / 300.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.08496, allocations: 4 kB / 300.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.08496, allocations: 0 / 300.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.08496, allocations: 0 / 300.1 MB, free: 5.906 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.002743/0.08771, allocations: 1.035 MB / 301.1 MB, free: 4.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.08775, allocations: 15.98 kB / 301.2 MB, free: 4.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001674/0.08943, allocations: 280 kB / 301.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.08978, allocations: 212.3 kB / 301.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.167e-05/0.08982, allocations: 16.88 kB / 301.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.08987, allocations: 24.38 kB / 301.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/0.09341, allocations: 1.112 MB / 302.8 MB, free: 3.121 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.09343, allocations: 3.938 kB / 302.8 MB, free: 3.117 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.09347, allocations: 12 kB / 302.8 MB, free: 3.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.09348, allocations: 7.984 kB / 302.8 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003544/0.09702, allocations: 1.095 MB / 303.9 MB, free: 2.004 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.001785/0.09881, allocations: 1.121 MB / 305 MB, free: 0.832 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.1018, allocations: 0.8304 MB / 305.9 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1021, allocations: 143.6 kB / 306 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07723/0.1793, allocations: 19.71 MB / 325.7 MB, free: 12.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.483e-05/0.1794, allocations: 45.39 kB / 325.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 1.873e-06/0.1794, allocations: 0 / 325.8 MB, free: 12.05 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.006084/0.1855, allocations: 1.617 MB / 327.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.949e-05/0.1855, allocations: 55.41 kB / 327.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001781/0.1857, allocations: 189.9 kB / 327.6 MB, free: 10.16 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.165e-05/0.1858, allocations: 29.7 kB / 327.6 MB, free: 10.12 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.1859, allocations: 171.5 kB / 327.8 MB, free: 9.949 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.1861, allocations: 130.9 kB / 327.9 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003341/0.1864, allocations: 175.2 kB / 328.1 MB, free: 9.641 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002798/0.1867, allocations: 0.504 MB / 328.6 MB, free: 9.125 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008049/0.1875, allocations: 439.8 kB / 329 MB, free: 8.695 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009292/0.1884, allocations: 0.5318 MB / 329.6 MB, free: 8.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/0.1903, allocations: 0.9121 MB / 330.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.1903, allocations: 0 / 330.5 MB, free: 7.176 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002263/0.1925, allocations: 1.067 MB / 331.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.1926, allocations: 8.25 kB / 331.6 MB, free: 6.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1926, allocations: 4 kB / 331.6 MB, free: 6.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1926, allocations: 7.984 kB / 331.6 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.1933, allocations: 175.8 kB / 331.7 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.1933, allocations: 4 kB / 331.8 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.1937, allocations: 31.78 kB / 331.8 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.1938, allocations: 67.92 kB / 331.9 MB, free: 5.809 MB / 314.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.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.0002734/0.1941, allocations: 180.5 kB / 332 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002029/0.1943, allocations: 27.91 kB / 332.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006264/0.2006, allocations: 5.022 MB / 337.1 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.763e-05/0.2006, allocations: 27.95 kB / 337.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.2006, allocations: 0 / 337.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.2006, allocations: 0 / 337.1 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00239/0.203, allocations: 1.855 MB / 339 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.203, allocations: 0 / 339 MB, free: 14.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006606/0.2037, allocations: 103.8 kB / 339.1 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.2037, allocations: 8 kB / 339.1 MB, free: 14.32 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.48e-05/0.2037, allocations: 11.98 kB / 339.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.2037, allocations: 3.938 kB / 339.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2037, allocations: 0 / 339.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.2062, allocations: 1.534 MB / 340.6 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.176e-05/0.2063, allocations: 67.31 kB / 340.7 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.353e-05/0.2063, allocations: 8 kB / 340.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.2066, allocations: 11.94 kB / 340.7 MB, free: 12.67 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001245/0.2067, allocations: 31.94 kB / 340.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.2068, allocations: 20.02 kB / 340.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001025/0.2069, allocations: 143.5 kB / 340.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2069, allocations: 0 / 340.9 MB, free: 12.48 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002731/0.2096, allocations: 0.9824 MB / 341.9 MB, free: 11.49 MB / 330.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.004273/0.2139, allocations: 1.274 MB / 343.1 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.2157, allocations: 0.8949 MB / 344 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.2157, allocations: 0 / 344 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009451/0.2166, allocations: 415.8 kB / 344.4 MB, free: 8.895 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.2174, allocations: 107.8 kB / 344.6 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.2194, allocations: 1.196 MB / 345.8 MB, free: 7.555 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.2197, allocations: 255.2 kB / 346 MB, free: 7.281 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002392/0.2221, allocations: 1.788 MB / 347.8 MB, free: 5.492 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003867/0.2225, allocations: 92.41 kB / 347.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of SimCode: time 1.193e-06/0.2225, allocations: 0 / 347.9 MB, free: 5.402 MB / 330.7 MB Notification: Performance of Templates: time 0.1406/0.3631, allocations: 42.2 MB / 390.1 MB, free: 73.52 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.025358059909195]