Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001573/0.001573, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.001689/0.001689, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.386/1.386, allocations: 230.4 MB / 258.1 MB, free: 8.145 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 75.81 kB / 379.6 MB, free: 2.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2526, allocations: 53.31 MB / 432.9 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01729/0.2699, allocations: 13.56 MB / 446.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01914/0.289, allocations: 15.66 MB / 462.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001942/0.2892, allocations: 0 / 462.1 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000404/0.2896, allocations: 83.5 kB / 462.2 MB, free: 9.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003551/0.29, allocations: 111.2 kB / 462.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01613/0.3061, allocations: 5.977 MB / 468.3 MB, free: 3.613 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000547/0.3066, allocations: 342.6 kB / 468.6 MB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.414e-05/0.3067, allocations: 9.672 kB / 468.6 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005262/0.3072, allocations: 239 kB / 468.8 MB, free: 3.035 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.3074, allocations: 107.5 kB / 468.9 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.3075, allocations: 16 kB / 469 MB, free: 2.914 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.3214, allocations: 6.774 MB / 475.7 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.3215, allocations: 43.72 kB / 475.8 MB, free: 12.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.3217, allocations: 107.6 kB / 475.9 MB, free: 11.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01019/0.3319, allocations: 3.917 MB / 479.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3319, allocations: 0 / 479.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3319, allocations: 0 / 479.8 MB, free: 8.059 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.3319, allocations: 0 / 479.8 MB, free: 8.059 MB / 382.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.002955/0.3349, allocations: 1.026 MB / 480.8 MB, free: 6.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3349, allocations: 8.031 kB / 480.8 MB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001399/0.3363, allocations: 184.6 kB / 481 MB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004428/0.3368, allocations: 260 kB / 481.3 MB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.476e-05/0.3368, allocations: 20.81 kB / 481.3 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.275e-05/0.3369, allocations: 32.06 kB / 481.3 MB, free: 6.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003153/0.34, allocations: 0.9012 MB / 482.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.34, allocations: 0 / 482.2 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.3401, allocations: 8 kB / 482.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/0.3401, allocations: 8 kB / 482.2 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003263/0.3433, allocations: 0.9734 MB / 483.2 MB, free: 4.539 MB / 382.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.001802/0.3451, allocations: 1.343 MB / 484.5 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/0.3478, allocations: 0.7247 MB / 485.3 MB, free: 2.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002981/0.3481, allocations: 149.6 kB / 485.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08712/0.4352, allocations: 42.19 MB / 0.5152 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.988e-05/0.4353, allocations: 42.5 kB / 0.5153 GB, free: 2.559 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.394e-06/0.4353, allocations: 0 / 0.5153 GB, free: 2.559 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005394/0.4407, allocations: 1.356 MB / 0.5166 GB, free: 1.195 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/0.4407, allocations: 55.41 kB / 0.5167 GB, free: 1.129 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.4408, allocations: 121.8 kB / 0.5168 GB, free: 1 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.599e-05/0.4409, allocations: 29.7 kB / 0.5168 GB, free: 0.9648 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.235e-05/0.441, allocations: 116.9 kB / 0.5169 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001504/0.4412, allocations: 119 kB / 0.517 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002931/0.4414, allocations: 165.5 kB / 0.5172 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.4416, allocations: 334.8 kB / 0.5175 GB, free: 232 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006817/0.4423, allocations: 339.6 kB / 0.5178 GB, free: 15.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007585/0.443, allocations: 407.5 kB / 0.5182 GB, free: 15.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.4444, allocations: 0.7114 MB / 0.5189 GB, free: 14.73 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.4444, allocations: 0 / 0.5189 GB, free: 14.73 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001911/0.4464, allocations: 0.8719 MB / 0.5198 GB, free: 13.85 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.4464, allocations: 8.25 kB / 0.5198 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.4464, allocations: 7.938 kB / 0.5198 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.4464, allocations: 4 kB / 0.5198 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006853/0.4471, allocations: 171.8 kB / 0.5199 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.4471, allocations: 7.984 kB / 0.52 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003359/0.4475, allocations: 35.78 kB / 0.52 GB, free: 13.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001129/0.4476, allocations: 63.92 kB / 0.5201 GB, free: 13.56 MB / 446.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.0002856/0.4478, allocations: 142 kB / 0.5202 GB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.448, allocations: 19.91 kB / 0.5202 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00834/0.4563, allocations: 7.978 MB / 0.528 GB, free: 5.402 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.344e-05/0.4564, allocations: 27.95 kB / 0.528 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.4564, allocations: 0 / 0.528 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4564, allocations: 4 kB / 0.528 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00351/0.4599, allocations: 3.604 MB / 0.5315 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.4599, allocations: 0 / 0.5315 GB, free: 1.504 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006489/0.4606, allocations: 107.8 kB / 0.5316 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.4606, allocations: 4 kB / 0.5317 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/0.4606, allocations: 15.92 kB / 0.5317 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.4606, allocations: 0 / 0.5317 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4606, allocations: 0 / 0.5317 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00265/0.4633, allocations: 1.854 MB / 0.5335 GB, free: 15.5 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.4634, allocations: 144.4 kB / 0.5336 GB, free: 15.34 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.4634, allocations: 11.94 kB / 0.5336 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.4637, allocations: 15.98 kB / 0.5336 GB, free: 15.31 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.4638, allocations: 23.97 kB / 0.5337 GB, free: 15.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.854e-05/0.4639, allocations: 15.98 kB / 0.5337 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.098e-05/0.4639, allocations: 91.27 kB / 0.5338 GB, free: 15.18 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.464, allocations: 4.062 kB / 0.5338 GB, free: 15.18 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002933/0.4669, allocations: 1.002 MB / 0.5348 GB, free: 14.18 MB / 462.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.004357/0.4712, allocations: 1.145 MB / 0.5359 GB, free: 13.02 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.473, allocations: 0.8802 MB / 0.5367 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.473, allocations: 0 / 0.5367 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007899/0.4738, allocations: 0.5171 MB / 0.5372 GB, free: 11.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006741/0.4745, allocations: 91.38 kB / 0.5373 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4765, allocations: 1.365 MB / 0.5387 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004969/0.477, allocations: 0.8575 MB / 0.5395 GB, free: 9.246 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003455/0.4773, allocations: 91.36 kB / 0.5396 GB, free: 9.156 MB / 462.1 MB Notification: Performance of SimCode: time 9.01e-07/0.4773, allocations: 0 / 0.5396 GB, free: 9.156 MB / 462.1 MB Notification: Performance of Templates: time 0.2293/0.7066, allocations: 24.17 MB / 0.5632 GB, free: 116.9 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/TwoPhaseWater/TestTwoPhaseStates/TestTwoPhaseStates.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 9.396744185127318]