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.001126/0.001126, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00147/0.002596, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.0008279/0.0008279, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001202/0.00203, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.9984/0.9984, allocations: 158.6 MB / 171.2 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1771/1.175, allocations: 49.5 MB / 220.7 MB, free: 1.355 MB / 218.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 2.896e-06/2.896e-06, allocations: 3.984 kB / 224.9 MB, free: 13.15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.387e-05/2.676e-05, allocations: 2.312 kB / 224.9 MB, free: 13.15 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.0129/0.01293, allocations: 13.41 MB / 238.3 MB, free: 15.69 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01304/0.02597, allocations: 15.22 MB / 253.5 MB, free: 416 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001986/0.02617, allocations: 8 kB / 253.5 MB, free: 408 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002881/0.02646, allocations: 75.44 kB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.02676, allocations: 119.1 kB / 253.7 MB, free: 212 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.03986, allocations: 5.402 MB / 259.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004561/0.04031, allocations: 350.4 kB / 259.5 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.04037, allocations: 10.47 kB / 259.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005103/0.04088, allocations: 282.9 kB / 259.7 MB, free: 10.15 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.04103, allocations: 87.77 kB / 259.8 MB, free: 10.07 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.705e-05/0.04105, allocations: 12 kB / 259.8 MB, free: 10.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0111/0.05216, allocations: 6.97 MB / 266.8 MB, free: 3.078 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.682e-05/0.05226, allocations: 23.94 kB / 266.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.0524, allocations: 67.88 kB / 266.9 MB, free: 2.988 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01036/0.06276, allocations: 3.719 MB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.687e-05/0.06278, allocations: 4 kB / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.06278, allocations: 0 / 270.6 MB, free: 15.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.06279, allocations: 0 / 270.6 MB, free: 15.26 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.002856/0.06565, allocations: 1.27 MB / 271.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.06569, allocations: 8.031 kB / 271.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.06671, allocations: 320.1 kB / 272.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002698/0.06698, allocations: 177.5 kB / 272.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.067, allocations: 12.88 kB / 272.4 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.06704, allocations: 24.38 kB / 272.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.06874, allocations: 1.018 MB / 273.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.06875, allocations: 3.938 kB / 273.4 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.033e-05/0.06877, allocations: 12 kB / 273.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.06879, allocations: 4 kB / 273.5 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/0.07016, allocations: 0.7852 MB / 274.2 MB, free: 11.54 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.0009113/0.07107, allocations: 0.7589 MB / 275 MB, free: 10.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001247/0.07232, allocations: 0.7422 MB / 275.7 MB, free: 9.996 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.441e-05/0.07239, allocations: 60.84 kB / 275.8 MB, free: 9.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3898/0.4622, allocations: 132.3 MB / 408.1 MB, free: 4.477 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.4623, allocations: 40.69 kB / 408.2 MB, free: 4.434 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.835e-06/0.4623, allocations: 0 / 408.2 MB, free: 4.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.003086/0.4654, allocations: 1.26 MB / 409.4 MB, free: 3.316 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.405e-05/0.4654, allocations: 55.41 kB / 409.5 MB, free: 3.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.515e-05/0.4655, allocations: 117.9 kB / 409.6 MB, free: 3.129 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-05/0.4655, allocations: 33.33 kB / 409.6 MB, free: 3.094 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.793e-05/0.4656, allocations: 118.4 kB / 409.8 MB, free: 2.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.4657, allocations: 121.8 kB / 409.9 MB, free: 2.879 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.4658, allocations: 121.5 kB / 410 MB, free: 2.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.438e-05/0.4659, allocations: 326.9 kB / 410.3 MB, free: 2.477 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.4662, allocations: 281.5 kB / 410.6 MB, free: 2.219 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000556/0.4667, allocations: 358 kB / 410.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.4673, allocations: 0.6366 MB / 411.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.4673, allocations: 0 / 411.6 MB, free: 1.238 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006292/0.4679, allocations: 0.6621 MB / 412.2 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.4679, allocations: 4 kB / 412.2 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4679, allocations: 7.984 kB / 412.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.4679, allocations: 8.25 kB / 412.3 MB, free: 0.5977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000417/0.4684, allocations: 210.2 kB / 412.5 MB, free: 456 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4684, allocations: 4 kB / 412.5 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001526/0.4685, allocations: 31.41 kB / 412.5 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.418e-05/0.4686, allocations: 43.17 kB / 412.5 MB, free: 396 kB / 362.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.0001586/0.4687, allocations: 132.8 kB / 412.7 MB, free: 272 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.4688, allocations: 24.66 kB / 412.7 MB, free: 252 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002948/0.4718, allocations: 4.433 MB / 417.1 MB, free: 11.9 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.259e-05/0.4718, allocations: 30.86 kB / 417.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.4718, allocations: 0 / 417.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.4718, allocations: 3.984 kB / 417.2 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009467/0.4727, allocations: 1.295 MB / 418.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.4728, allocations: 0 / 418.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.4731, allocations: 119.5 kB / 418.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.4731, allocations: 71.3 kB / 418.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.4731, allocations: 3.75 kB / 418.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.872e-05/0.4731, allocations: 14.73 kB / 418.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.4731, allocations: 1.422 kB / 418.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4731, allocations: 0 / 418.7 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.4743, allocations: 1.034 MB / 419.7 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.4743, allocations: 23.17 kB / 419.7 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4745, allocations: 7.875 kB / 419.7 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.83e-05/0.4745, allocations: 31.88 kB / 419.8 MB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/0.4746, allocations: 13.73 kB / 419.8 MB, free: 9.859 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.39e-05/0.4746, allocations: 15.23 kB / 419.8 MB, free: 9.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4746, allocations: 4 kB / 419.8 MB, free: 9.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002519/0.4771, allocations: 0.9859 MB / 420.8 MB, free: 8.887 MB / 378.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.00381/0.4809, allocations: 1.372 MB / 422.1 MB, free: 7.637 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008241/0.4817, allocations: 0.5925 MB / 422.7 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.149e-05/0.4818, allocations: 4 kB / 422.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003012/0.4821, allocations: 301.8 kB / 423 MB, free: 6.812 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.4825, allocations: 128.3 kB / 423.2 MB, free: 6.711 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.486, allocations: 1.063 MB / 424.2 MB, free: 5.734 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.524e-05/0.4861, allocations: 152.2 kB / 424.4 MB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001272/0.4874, allocations: 1.78 MB / 426.2 MB, free: 3.824 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.4878, allocations: 165.3 kB / 426.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of SimCode: time 2.485e-06/0.4878, allocations: 0 / 426.3 MB, free: 3.68 MB / 378.7 MB Notification: Performance of Templates: time 0.1655/0.6533, allocations: 43.74 MB / 470.1 MB, free: 98.84 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.3725782204419374]