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.00136/0.00136, allocations: 85.39 kB / 21.44 MB, free: 296 kB / 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.001487/0.001487, allocations: 163.9 kB / 24.7 MB, free: 3.551 MB / 14.72 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.325/1.325, allocations: 158.6 MB / 186.5 MB, free: 6.402 MB / 174.1 MB " [Timeout remaining time 178] 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.613e-06/1.613e-06, allocations: 0 / 301.7 MB, free: 5.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.873e-05/3.035e-05, allocations: 2.281 kB / 301.7 MB, free: 5.988 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01765/0.01768, allocations: 12.19 MB / 313.9 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.1843, allocations: 13.62 MB / 327.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001799/0.1845, allocations: 1.406 kB / 327.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.1849, allocations: 74.33 kB / 327.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004081/0.1853, allocations: 113.8 kB / 327.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01787/0.2032, allocations: 5.976 MB / 333.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.2037, allocations: 349.9 kB / 334 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.947e-05/0.2038, allocations: 14.36 kB / 334 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.2043, allocations: 257.6 kB / 334.3 MB, free: 13.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2045, allocations: 93.36 kB / 334.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.641e-05/0.2045, allocations: 13.81 kB / 334.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01277/0.2173, allocations: 6.469 MB / 340.8 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.2174, allocations: 49.48 kB / 340.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002415/0.2177, allocations: 71.19 kB / 340.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01072/0.2284, allocations: 4.961 MB / 345.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.2284, allocations: 0 / 345.9 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2284, allocations: 7.938 kB / 345.9 MB, free: 9.84 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.807e-06/0.2284, allocations: 0 / 345.9 MB, free: 9.84 MB / 302.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.002799/0.2312, allocations: 0.9307 MB / 346.8 MB, free: 9.156 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2312, allocations: 16.92 kB / 346.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.2327, allocations: 175.5 kB / 347 MB, free: 9.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003393/0.233, allocations: 195.5 kB / 347.2 MB, free: 8.879 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/0.233, allocations: 17.12 kB / 347.2 MB, free: 8.871 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.2331, allocations: 26.91 kB / 347.3 MB, free: 8.859 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003024/0.2361, allocations: 0.9584 MB / 348.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.2361, allocations: 0 / 348.2 MB, free: 8.227 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.2362, allocations: 15.84 kB / 348.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2362, allocations: 5.812 kB / 348.2 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003094/0.2393, allocations: 0.9614 MB / 349.2 MB, free: 7.688 MB / 302.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.001388/0.2406, allocations: 0.9138 MB / 350.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.2432, allocations: 0.7172 MB / 350.8 MB, free: 6.512 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/0.2434, allocations: 158.9 kB / 351 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07417/0.3176, allocations: 19.72 MB / 370.7 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.816e-05/0.3177, allocations: 34.56 kB / 370.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of pre-optimization done (n=33): time 2.796e-06/0.3177, allocations: 0 / 370.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of matching and sorting (n=33): time 0.005858/0.3235, allocations: 1.355 MB / 372.1 MB, free: 2.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.3236, allocations: 59.34 kB / 372.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.3237, allocations: 125.8 kB / 372.3 MB, free: 2 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001001/0.3238, allocations: 29.7 kB / 372.3 MB, free: 1.965 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.08e-05/0.3239, allocations: 120.8 kB / 372.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000174/0.3241, allocations: 120.5 kB / 372.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/0.3245, allocations: 161.6 kB / 372.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3246, allocations: 335.3 kB / 373 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007215/0.3253, allocations: 331.8 kB / 373.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008227/0.3262, allocations: 414.9 kB / 373.8 MB, free: 488 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.3277, allocations: 0.7063 MB / 374.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.3277, allocations: 3.562 kB / 374.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.00213/0.3299, allocations: 0.8691 MB / 375.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.3299, allocations: 10.5 kB / 375.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3299, allocations: 0 / 375.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.3299, allocations: 7.984 kB / 375.4 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000748/0.3307, allocations: 174.8 kB / 375.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.811e-05/0.3307, allocations: 4 kB / 375.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.3311, allocations: 39.7 kB / 375.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3313, allocations: 68.16 kB / 375.6 MB, free: 14.59 MB / 334.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.0002951/0.3315, allocations: 135.7 kB / 375.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/0.3317, allocations: 23.33 kB / 375.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009837/0.3416, allocations: 8.507 MB / 384.3 MB, free: 5.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.168e-05/0.3416, allocations: 27.95 kB / 384.3 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.886e-06/0.3416, allocations: 4 kB / 384.3 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.3416, allocations: 3.984 kB / 384.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.3454, allocations: 3.646 MB / 388 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.3454, allocations: 0 / 388 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.3461, allocations: 110.3 kB / 388.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.3461, allocations: 4 kB / 388.1 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.275e-05/0.3462, allocations: 12 kB / 388.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.62e-06/0.3462, allocations: 0 / 388.1 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.114e-05/0.3462, allocations: 3.984 kB / 388.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002961/0.3492, allocations: 1.889 MB / 390 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.3493, allocations: 75.28 kB / 390.1 MB, free: 15.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/0.3494, allocations: 8 kB / 390.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.3497, allocations: 15.94 kB / 390.1 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.3498, allocations: 31.94 kB / 390.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.215e-05/0.3499, allocations: 11.98 kB / 390.1 MB, free: 15.84 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.866e-05/0.3499, allocations: 94.47 kB / 390.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3499, allocations: 0 / 390.2 MB, free: 15.75 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.003711/0.3537, allocations: 0.9825 MB / 391.2 MB, free: 14.77 MB / 350.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.005913/0.3596, allocations: 1.283 MB / 392.5 MB, free: 13.58 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001936/0.3615, allocations: 0.8929 MB / 393.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3615, allocations: 4 kB / 393.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008469/0.3624, allocations: 0.5242 MB / 393.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007275/0.3631, allocations: 86.31 kB / 394 MB, free: 12.09 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3652, allocations: 1.276 MB / 395.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002561/0.3655, allocations: 251.2 kB / 395.5 MB, free: 10.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.002213/0.3677, allocations: 1.779 MB / 397.3 MB, free: 8.777 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004157/0.3681, allocations: 95.92 kB / 397.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3681, allocations: 0 / 397.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of Templates: time 0.06613/0.4342, allocations: 41.39 MB / 438.8 MB, free: 15.2 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] 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.16547741740942]