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.0009491/0.0009491, allocations: 80.8 kB / 22.29 MB, free: 2.203 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.001111/0.001111, allocations: 167.1 kB / 25.7 MB, free: 8.445 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 0.94/0.94, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.874e-06/1.874e-06, allocations: 0 / 254.4 MB, free: 4.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.351e-05/2.539e-05, allocations: 2.312 kB / 254.5 MB, free: 4.32 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01644/0.01646, allocations: 13.38 MB / 267.8 MB, free: 6.883 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01207/0.02853, allocations: 15.15 MB / 283 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.75e-05/0.02862, allocations: 0 / 283 MB, free: 7.684 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003191/0.02894, allocations: 75.52 kB / 283 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002942/0.02923, allocations: 119.1 kB / 283.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009521/0.03875, allocations: 5.406 MB / 288.6 MB, free: 2.059 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.03906, allocations: 350.4 kB / 288.9 MB, free: 1.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.03911, allocations: 10.45 kB / 288.9 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003986/0.03951, allocations: 267.1 kB / 289.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.03962, allocations: 87.77 kB / 289.3 MB, free: 1.359 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.03964, allocations: 12 kB / 289.3 MB, free: 1.348 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008033/0.04767, allocations: 6.957 MB / 296.2 MB, free: 10.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.302e-05/0.04774, allocations: 43.83 kB / 296.3 MB, free: 10.34 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.742e-05/0.0478, allocations: 79.83 kB / 296.4 MB, free: 10.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004756/0.05256, allocations: 4.899 MB / 301.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.05256, allocations: 0 / 301.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.05257, allocations: 3.938 kB / 301.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.05257, allocations: 0 / 301.3 MB, free: 5.348 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.001656/0.05423, allocations: 0.9178 MB / 302.2 MB, free: 4.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.05426, allocations: 15.98 kB / 302.2 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009526/0.05521, allocations: 320 kB / 302.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002184/0.05543, allocations: 165.5 kB / 302.7 MB, free: 3.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/0.05546, allocations: 20.88 kB / 302.7 MB, free: 3.867 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.05549, allocations: 20.38 kB / 302.7 MB, free: 3.848 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001558/0.05704, allocations: 1.019 MB / 303.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.05706, allocations: 3.938 kB / 303.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.05707, allocations: 8 kB / 303.7 MB, free: 2.785 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.05708, allocations: 8 kB / 303.7 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001393/0.05847, allocations: 0.7738 MB / 304.5 MB, free: 2 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.0007718/0.05925, allocations: 0.7551 MB / 305.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.06059, allocations: 0.736 MB / 306 MB, free: 484 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.349e-05/0.06066, allocations: 72.77 kB / 306.1 MB, free: 408 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.359/0.4196, allocations: 132.3 MB / 438.4 MB, free: 10.41 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.843e-05/0.4197, allocations: 38.25 kB / 438.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.434e-06/0.4197, allocations: 0 / 438.4 MB, free: 10.37 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.00239/0.4221, allocations: 1.249 MB / 439.7 MB, free: 9.254 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.046e-05/0.4221, allocations: 55.41 kB / 439.7 MB, free: 9.188 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.716e-05/0.4222, allocations: 129.3 kB / 439.9 MB, free: 9.062 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.4222, allocations: 29.02 kB / 439.9 MB, free: 9.031 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.01e-05/0.4222, allocations: 118.7 kB / 440 MB, free: 8.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.409e-05/0.4223, allocations: 116.6 kB / 440.1 MB, free: 8.828 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001468/0.4225, allocations: 122.3 kB / 440.3 MB, free: 8.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.809e-05/0.4225, allocations: 327.6 kB / 440.6 MB, free: 8.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/0.4227, allocations: 292.6 kB / 440.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002313/0.423, allocations: 347.9 kB / 441.2 MB, free: 7.812 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004648/0.4234, allocations: 0.6379 MB / 441.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4234, allocations: 4 kB / 441.8 MB, free: 7.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005566/0.424, allocations: 0.6491 MB / 442.5 MB, free: 6.574 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.424, allocations: 8 kB / 442.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.424, allocations: 7.188 kB / 442.5 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.614e-05/0.424, allocations: 0 / 442.5 MB, free: 6.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000343/0.4244, allocations: 166.1 kB / 442.7 MB, free: 6.441 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-06/0.4244, allocations: 3.984 kB / 442.7 MB, free: 6.438 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.4245, allocations: 45.27 kB / 442.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.618e-05/0.4246, allocations: 36.81 kB / 442.8 MB, free: 6.379 MB / 330.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.0001277/0.4247, allocations: 134 kB / 442.9 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.129e-05/0.4248, allocations: 19.67 kB / 442.9 MB, free: 6.238 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00217/0.427, allocations: 4.436 MB / 447.3 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.427, allocations: 27.52 kB / 447.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-06/0.427, allocations: 0 / 447.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.427, allocations: 0 / 447.4 MB, free: 1.859 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007679/0.4277, allocations: 1.301 MB / 448.7 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.4277, allocations: 0 / 448.7 MB, free: 1.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.428, allocations: 113.9 kB / 448.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.428, allocations: 4 kB / 448.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.428, allocations: 3.5 kB / 448.8 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4281, allocations: 7.984 kB / 448.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4281, allocations: 6.188 kB / 448.8 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.4288, allocations: 1.031 MB / 449.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.4288, allocations: 71.23 kB / 449.9 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.527e-05/0.4288, allocations: 7.5 kB / 449.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.429, allocations: 11.81 kB / 449.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.429, allocations: 28.66 kB / 449.9 MB, free: 15.87 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.4291, allocations: 7.984 kB / 450 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sorting global known variables: time 1.925e-05/0.4291, allocations: 19.3 kB / 450 MB, free: 15.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4291, allocations: 0 / 450 MB, free: 15.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002656/0.4317, allocations: 0.9932 MB / 451 MB, free: 14.89 MB / 346.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.003228/0.435, allocations: 1.353 MB / 452.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006453/0.4356, allocations: 0.5748 MB / 452.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.291e-05/0.4356, allocations: 4 kB / 452.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002525/0.4359, allocations: 279.2 kB / 453.2 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.4362, allocations: 94.38 kB / 453.3 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00133/0.4375, allocations: 1.081 MB / 454.3 MB, free: 11.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.466e-05/0.4376, allocations: 148.6 kB / 454.5 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00147/0.4391, allocations: 1.778 MB / 456.3 MB, free: 9.906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.4395, allocations: 159.9 kB / 456.4 MB, free: 9.766 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.4395, allocations: 4 kB / 456.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of Templates: time 0.1628/0.6023, allocations: 48.36 MB / 0.493 GB, free: 123.3 MB / 378.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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","",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.7662809090688825]