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.001098/0.001098, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002593, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001052/0.001052, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001317/0.00237, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.8932/0.8932, allocations: 177.5 MB / 190 MB, free: 4.797 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0784/0.9716, allocations: 53.87 MB / 243.9 MB, free: 14.86 MB / 250.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.383e-06/1.383e-06, allocations: 0 / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.296e-05/1.435e-05, allocations: 2.312 kB / 248.1 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01045/0.01046, allocations: 13.52 MB / 261.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.1153/0.1257, allocations: 15.24 MB / 276.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001635/0.1259, allocations: 2.062 kB / 276.9 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002696/0.1262, allocations: 78.12 kB / 277 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1265, allocations: 112.4 kB / 277.1 MB, free: 1.102 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01202/0.1385, allocations: 5.431 MB / 282.5 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.1388, allocations: 358 kB / 282.9 MB, free: 0.5977 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.676e-05/0.1389, allocations: 13.59 kB / 282.9 MB, free: 0.5938 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004543/0.1394, allocations: 272.2 kB / 283.1 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001383/0.1395, allocations: 87.03 kB / 283.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.704e-05/0.1395, allocations: 17.22 kB / 283.2 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.011/0.1505, allocations: 7.018 MB / 290.3 MB, free: 15.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.56e-05/0.1506, allocations: 30.94 kB / 290.3 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.869e-05/0.1507, allocations: 71.97 kB / 290.4 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004985/0.1557, allocations: 3.74 MB / 294.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.1557, allocations: 0 / 294.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1557, allocations: 2.844 kB / 294.1 MB, free: 14.74 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1557, allocations: 0 / 294.1 MB, free: 14.74 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.001861/0.1575, allocations: 1.283 MB / 295.4 MB, free: 14 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.1576, allocations: 10.94 kB / 295.4 MB, free: 14 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.1587, allocations: 314.3 kB / 295.7 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.159, allocations: 180 kB / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.159, allocations: 16.31 kB / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.049e-05/0.159, allocations: 21.38 kB / 295.9 MB, free: 13.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001876/0.1609, allocations: 1.02 MB / 296.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.1609, allocations: 2.672 kB / 296.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.335e-05/0.1609, allocations: 13.34 kB / 297 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1609, allocations: 6.031 kB / 297 MB, free: 13.29 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/0.1626, allocations: 0.777 MB / 297.7 MB, free: 13.05 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.0008465/0.1634, allocations: 0.7633 MB / 298.5 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/0.165, allocations: 0.7388 MB / 299.2 MB, free: 11.85 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.1651, allocations: 63.59 kB / 299.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3342/0.4993, allocations: 132.5 MB / 431.8 MB, free: 128.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4993, allocations: 39.59 kB / 431.9 MB, free: 128.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=33): time 2.355e-06/0.4993, allocations: 0 / 431.9 MB, free: 128.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=33): time 0.002242/0.5016, allocations: 1.261 MB / 433.1 MB, free: 128 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.677e-05/0.5016, allocations: 59.19 kB / 433.2 MB, free: 128 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.422e-05/0.5017, allocations: 125.5 kB / 433.3 MB, free: 127.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.5017, allocations: 32.95 kB / 433.3 MB, free: 127.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.348e-05/0.5017, allocations: 117 kB / 433.4 MB, free: 127.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.829e-05/0.5018, allocations: 122.5 kB / 433.6 MB, free: 127.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.5019, allocations: 118.1 kB / 433.7 MB, free: 127.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 3.208e-05/0.502, allocations: 330.5 kB / 434 MB, free: 127.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.5022, allocations: 276.6 kB / 434.3 MB, free: 127.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002148/0.5024, allocations: 362.8 kB / 434.6 MB, free: 127.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004654/0.5028, allocations: 0.6369 MB / 435.3 MB, free: 127.2 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5028, allocations: 0 / 435.3 MB, free: 127.2 MB / 394.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000558/0.5034, allocations: 0.6565 MB / 435.9 MB, free: 127.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.5034, allocations: 9.531 kB / 435.9 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.5034, allocations: 2.188 kB / 435.9 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.5034, allocations: 4.891 kB / 435.9 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.5038, allocations: 219.8 kB / 436.1 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.208e-06/0.5038, allocations: 0 / 436.1 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.5039, allocations: 30.16 kB / 436.2 MB, free: 127.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.504, allocations: 47.59 kB / 436.2 MB, free: 127.2 MB / 394.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.000106/0.5041, allocations: 134.8 kB / 436.4 MB, free: 127 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.5042, allocations: 19.73 kB / 436.4 MB, free: 127 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.5062, allocations: 4.437 MB / 440.8 MB, free: 125 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/0.5063, allocations: 26.55 kB / 440.8 MB, free: 125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.5063, allocations: 0 / 440.8 MB, free: 125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5063, allocations: 3.516 kB / 440.8 MB, free: 125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006728/0.5069, allocations: 1.298 MB / 442.1 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5069, allocations: 0 / 442.1 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002733/0.5072, allocations: 118.5 kB / 442.3 MB, free: 124.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.567e-05/0.5072, allocations: 71.45 kB / 442.3 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5072, allocations: 2.578 kB / 442.3 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.5073, allocations: 11.88 kB / 442.3 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.5073, allocations: 0 / 442.3 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.5073, allocations: 4 kB / 442.3 MB, free: 124.1 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006073/0.5079, allocations: 1.048 MB / 443.4 MB, free: 123.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5079, allocations: 13.77 kB / 443.4 MB, free: 123.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.508, allocations: 12.41 kB / 443.4 MB, free: 123.2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.625e-05/0.5081, allocations: 30.03 kB / 443.4 MB, free: 123.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.5081, allocations: 13.19 kB / 443.5 MB, free: 123.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 1.396e-05/0.5081, allocations: 16.45 kB / 443.5 MB, free: 123.1 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5081, allocations: 0 / 443.5 MB, free: 123.1 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00151/0.5096, allocations: 1.002 MB / 444.5 MB, free: 122.3 MB / 394.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.002173/0.5118, allocations: 1.379 MB / 445.9 MB, free: 121.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004531/0.5122, allocations: 0.5907 MB / 446.4 MB, free: 120.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.5122, allocations: 4 kB / 446.5 MB, free: 120.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.5124, allocations: 301.1 kB / 446.7 MB, free: 120.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.5128, allocations: 131.5 kB / 446.9 MB, free: 120.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003376/0.5162, allocations: 1.085 MB / 448 MB, free: 119.1 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.249e-05/0.5162, allocations: 148.6 kB / 448.1 MB, free: 119 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008807/0.5171, allocations: 1.779 MB / 449.9 MB, free: 117.3 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/0.5175, allocations: 170.3 kB / 450.1 MB, free: 117.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.5175, allocations: 0 / 450.1 MB, free: 117.1 MB / 394.7 MB Notification: Performance of Templates: time 0.02971/0.5472, allocations: 44 MB / 494 MB, free: 73.48 MB / 394.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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.849414692260325]