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.0008248/0.0008248, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.0008401/0.0008401, allocations: 157.5 kB / 25.45 MB, free: 9.352 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.8524/0.8524, allocations: 158.6 MB / 187.2 MB, free: 3.051 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.784e-06/1.784e-06, allocations: 0 / 302.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.036e-05, allocations: 2.281 kB / 302.4 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.0114/0.01142, allocations: 12.19 MB / 314.6 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0144/0.02582, allocations: 13.63 MB / 328.3 MB, free: 10.24 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.02596, allocations: 4 kB / 328.3 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.02634, allocations: 71.52 kB / 328.3 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003814/0.02672, allocations: 119.1 kB / 328.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01413/0.04085, allocations: 5.964 MB / 334.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.04117, allocations: 350.3 kB / 334.8 MB, free: 3.719 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.04122, allocations: 21.78 kB / 334.8 MB, free: 3.699 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.04159, allocations: 267 kB / 335 MB, free: 3.438 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001163/0.0417, allocations: 91.77 kB / 335.1 MB, free: 3.348 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.04173, allocations: 12 kB / 335.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007811/0.04954, allocations: 6.473 MB / 341.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.629e-05/0.04961, allocations: 39.89 kB / 341.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.595e-05/0.04969, allocations: 83.83 kB / 341.7 MB, free: 12.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005879/0.05557, allocations: 4.946 MB / 346.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.05557, allocations: 0 / 346.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.05557, allocations: 0 / 346.7 MB, free: 7.773 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.05558, allocations: 0 / 346.7 MB, free: 7.773 MB / 330.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.001803/0.05738, allocations: 0.9429 MB / 347.6 MB, free: 6.797 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.05743, allocations: 15.98 kB / 347.6 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007046/0.05813, allocations: 172.7 kB / 347.8 MB, free: 6.613 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.05841, allocations: 197.5 kB / 348 MB, free: 6.395 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.05844, allocations: 20.88 kB / 348 MB, free: 6.375 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.05847, allocations: 24.31 kB / 348 MB, free: 6.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.06006, allocations: 0.9529 MB / 349 MB, free: 5.367 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.06008, allocations: 3.938 kB / 349 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.0601, allocations: 16 kB / 349 MB, free: 5.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.06011, allocations: 7.984 kB / 349 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001583/0.06169, allocations: 0.958 MB / 350 MB, free: 4.379 MB / 330.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.0009402/0.06263, allocations: 0.9125 MB / 350.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.0639, allocations: 0.7167 MB / 351.6 MB, free: 2.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.06407, allocations: 148.8 kB / 351.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1803/0.2444, allocations: 19.7 MB / 371.5 MB, free: 53.1 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.133e-05/0.2444, allocations: 42.75 kB / 371.5 MB, free: 53.05 MB / 330.7 MB Notification: Performance of pre-optimization done (n=33): time 2.424e-06/0.2444, allocations: 0 / 371.5 MB, free: 53.05 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.002564/0.247, allocations: 1.36 MB / 372.9 MB, free: 52.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.066e-05/0.247, allocations: 51.41 kB / 372.9 MB, free: 52.05 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.391e-05/0.2471, allocations: 131.7 kB / 373 MB, free: 51.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.2471, allocations: 29.7 kB / 373.1 MB, free: 51.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.2472, allocations: 120.3 kB / 373.2 MB, free: 51.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.2473, allocations: 121.2 kB / 373.3 MB, free: 51.7 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2474, allocations: 169.5 kB / 373.5 MB, free: 51.52 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.42e-05/0.2474, allocations: 326.8 kB / 373.8 MB, free: 51.2 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/0.2477, allocations: 337.8 kB / 374.1 MB, free: 50.87 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.2481, allocations: 409.4 kB / 374.5 MB, free: 50.44 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007198/0.2488, allocations: 0.7153 MB / 375.2 MB, free: 49.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2488, allocations: 0 / 375.2 MB, free: 49.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009366/0.2498, allocations: 0.8777 MB / 376.1 MB, free: 48.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.2498, allocations: 8 kB / 376.1 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2498, allocations: 0 / 376.1 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.2498, allocations: 4 kB / 376.1 MB, free: 48.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.2501, allocations: 176.5 kB / 376.3 MB, free: 48.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2501, allocations: 7.734 kB / 376.3 MB, free: 48.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001423/0.2502, allocations: 30.52 kB / 376.3 MB, free: 48.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.302e-05/0.2503, allocations: 67.92 kB / 376.4 MB, free: 48.57 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.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.000128/0.2504, allocations: 148.8 kB / 376.5 MB, free: 48.42 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.2505, allocations: 15.91 kB / 376.6 MB, free: 48.41 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.254, allocations: 8.505 MB / 385.1 MB, free: 39.92 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.451e-05/0.254, allocations: 27.95 kB / 385.1 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.254, allocations: 7.938 kB / 385.1 MB, free: 39.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.254, allocations: 4 kB / 385.1 MB, free: 39.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/0.2554, allocations: 3.64 MB / 388.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.2554, allocations: 0 / 388.7 MB, free: 36.03 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.2557, allocations: 107.7 kB / 388.8 MB, free: 35.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.2557, allocations: 4 kB / 388.8 MB, free: 35.92 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2557, allocations: 12.92 kB / 388.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2557, allocations: 0 / 388.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2557, allocations: 0 / 388.9 MB, free: 35.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001249/0.2569, allocations: 1.903 MB / 390.8 MB, free: 33.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.504e-05/0.257, allocations: 66.2 kB / 390.8 MB, free: 33.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.257, allocations: 12 kB / 390.8 MB, free: 33.94 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.2571, allocations: 15.59 kB / 390.9 MB, free: 33.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/0.2572, allocations: 35.88 kB / 390.9 MB, free: 33.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.2572, allocations: 19.56 kB / 390.9 MB, free: 33.88 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.461e-05/0.2572, allocations: 91.27 kB / 391 MB, free: 33.79 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2572, allocations: 0 / 391 MB, free: 33.79 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001899/0.2591, allocations: 0.9885 MB / 392 MB, free: 32.84 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.0022/0.2613, allocations: 1.268 MB / 393.3 MB, free: 31.67 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007817/0.2621, allocations: 0.8913 MB / 394.1 MB, free: 30.78 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2621, allocations: 0 / 394.1 MB, free: 30.78 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.2625, allocations: 0.5283 MB / 394.7 MB, free: 30.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.2629, allocations: 84.19 kB / 394.8 MB, free: 30.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/0.2639, allocations: 1.309 MB / 396.1 MB, free: 28.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001034/0.264, allocations: 251.2 kB / 396.3 MB, free: 28.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.2642, allocations: 92.42 kB / 396.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of SimCode: time 5.51e-07/0.2642, allocations: 0 / 396.4 MB, free: 28.48 MB / 330.7 MB Notification: Performance of Templates: time 0.01633/0.2805, allocations: 24.22 MB / 420.6 MB, free: 4.211 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=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: 6.005601731128991]