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.001722/0.001722, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002182/0.002182, allocations: 204.1 kB / 24.47 MB, free: 4.023 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.46/1.46, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.001978/0.001978, allocations: 67.83 kB / 379.6 MB, free: 2.082 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2394, allocations: 53.32 MB / 432.9 MB, free: 7.121 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01751/0.2569, allocations: 13.56 MB / 446.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01945/0.2764, allocations: 15.64 MB / 462.1 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001659/0.2765, allocations: 4 kB / 462.1 MB, free: 9.816 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.2769, allocations: 83.55 kB / 462.2 MB, free: 9.734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003798/0.2773, allocations: 111.2 kB / 462.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01529/0.2926, allocations: 5.985 MB / 468.3 MB, free: 3.645 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005244/0.2931, allocations: 334.6 kB / 468.6 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.2932, allocations: 17.67 kB / 468.6 MB, free: 3.301 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004729/0.2936, allocations: 235 kB / 468.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001897/0.2938, allocations: 111.6 kB / 468.9 MB, free: 2.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.2938, allocations: 12 kB / 469 MB, free: 2.949 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01345/0.3073, allocations: 6.786 MB / 475.7 MB, free: 12.16 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.195e-05/0.3074, allocations: 35.91 kB / 475.8 MB, free: 12.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001705/0.3076, allocations: 107.5 kB / 475.9 MB, free: 12.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008118/0.3157, allocations: 3.917 MB / 479.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3157, allocations: 0 / 479.8 MB, free: 8.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3157, allocations: 4 kB / 479.8 MB, free: 8.086 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.3157, allocations: 0 / 479.8 MB, free: 8.086 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.002596/0.3183, allocations: 1.018 MB / 480.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3183, allocations: 12.03 kB / 480.8 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001459/0.3198, allocations: 180.6 kB / 481 MB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.3202, allocations: 264 kB / 481.3 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.576e-05/0.3202, allocations: 16.81 kB / 481.3 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.3203, allocations: 28.12 kB / 481.3 MB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.3235, allocations: 0.9011 MB / 482.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.3235, allocations: 0 / 482.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.805e-05/0.3236, allocations: 12 kB / 482.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3236, allocations: 4 kB / 482.2 MB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.327, allocations: 0.9773 MB / 483.2 MB, free: 4.574 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.001832/0.3288, allocations: 1.339 MB / 484.5 MB, free: 3.102 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002733/0.3316, allocations: 0.7286 MB / 485.3 MB, free: 2.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002862/0.3318, allocations: 153.6 kB / 485.4 MB, free: 2.211 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08874/0.4206, allocations: 42.19 MB / 0.5152 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.4206, allocations: 34.56 kB / 0.5153 GB, free: 2.602 MB / 430.1 MB Notification: Performance of pre-optimization done (n=33): time 2.775e-06/0.4206, allocations: 4 kB / 0.5153 GB, free: 2.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=33): time 0.005509/0.4261, allocations: 1.352 MB / 0.5166 GB, free: 1.238 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/0.4262, allocations: 59.41 kB / 0.5167 GB, free: 1.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001511/0.4263, allocations: 125.8 kB / 0.5168 GB, free: 1.035 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-05/0.4264, allocations: 29.7 kB / 0.5168 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.798e-05/0.4265, allocations: 116.8 kB / 0.5169 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001545/0.4267, allocations: 123 kB / 0.517 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.427, allocations: 161.5 kB / 0.5172 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4271, allocations: 326.8 kB / 0.5175 GB, free: 276 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007076/0.4278, allocations: 347.7 kB / 0.5178 GB, free: 15.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007771/0.4286, allocations: 399.5 kB / 0.5182 GB, free: 15.51 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/0.4301, allocations: 0.7114 MB / 0.5189 GB, free: 14.77 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4301, allocations: 4 kB / 0.5189 GB, free: 14.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002026/0.4321, allocations: 0.8684 MB / 0.5198 GB, free: 13.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.4321, allocations: 11.94 kB / 0.5198 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.4321, allocations: 3.938 kB / 0.5198 GB, free: 13.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4321, allocations: 4.25 kB / 0.5198 GB, free: 13.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.4329, allocations: 183.7 kB / 0.52 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.4329, allocations: 0 / 0.52 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003656/0.4332, allocations: 39.77 kB / 0.52 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.4334, allocations: 63.92 kB / 0.5201 GB, free: 13.59 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.0002662/0.4336, allocations: 137.8 kB / 0.5202 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001669/0.4338, allocations: 15.91 kB / 0.5202 GB, free: 13.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008777/0.4426, allocations: 7.978 MB / 0.528 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-05/0.4426, allocations: 27.95 kB / 0.528 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.4426, allocations: 0 / 0.528 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4426, allocations: 0 / 0.528 GB, free: 5.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.4462, allocations: 3.604 MB / 0.5315 GB, free: 1.547 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.4462, allocations: 3.938 kB / 0.5315 GB, free: 1.543 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006813/0.4469, allocations: 111.8 kB / 0.5317 GB, free: 1.434 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.63e-06/0.4469, allocations: 4 kB / 0.5317 GB, free: 1.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.813e-05/0.447, allocations: 15.92 kB / 0.5317 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.447, allocations: 4 kB / 0.5317 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.447, allocations: 3.984 kB / 0.5317 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002715/0.4497, allocations: 1.835 MB / 0.5335 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001239/0.4498, allocations: 152.5 kB / 0.5336 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.4499, allocations: 7.938 kB / 0.5336 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003169/0.4502, allocations: 19.98 kB / 0.5336 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.4503, allocations: 27.91 kB / 0.5337 GB, free: 15.33 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.356e-05/0.4503, allocations: 19.98 kB / 0.5337 GB, free: 15.31 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.501e-05/0.4504, allocations: 95.2 kB / 0.5338 GB, free: 15.21 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4504, allocations: 0 / 0.5338 GB, free: 15.21 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002735/0.4531, allocations: 1.002 MB / 0.5348 GB, free: 14.21 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.004549/0.4577, allocations: 1.149 MB / 0.5359 GB, free: 13.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00174/0.4594, allocations: 0.8763 MB / 0.5367 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4594, allocations: 4 kB / 0.5367 GB, free: 12.17 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008002/0.4602, allocations: 0.5166 MB / 0.5372 GB, free: 11.65 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.4609, allocations: 80.64 kB / 0.5373 GB, free: 11.57 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.463, allocations: 1.332 MB / 0.5386 GB, free: 10.21 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.4636, allocations: 0.8614 MB / 0.5395 GB, free: 9.316 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002189/0.4657, allocations: 1.779 MB / 0.5412 GB, free: 7.539 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.4661, allocations: 83.36 kB / 0.5413 GB, free: 7.457 MB / 462.1 MB Notification: Performance of SimCode: time 7.02e-07/0.4661, allocations: 0 / 0.5413 GB, free: 7.457 MB / 462.1 MB Notification: Performance of Templates: time 0.2311/0.6972, allocations: 41.55 MB / 0.5818 GB, free: 98.25 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 -s cvode -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: 7.492551538161933]