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.000837/0.000837, allocations: 68.19 kB / 9.935 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001143/0.00198, allocations: 445.7 kB / 10.37 MB, free: 328 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.001104/0.001104, allocations: 161.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001139/0.002243, allocations: 463.6 kB / 11.71 MB, free: 2.453 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.8717/0.8717, allocations: 158.6 MB / 171.1 MB, free: 2.582 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1383/1.01, allocations: 49.48 MB / 220.5 MB, free: 1.453 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 1.493e-06/1.493e-06, allocations: 0 / 224.7 MB, free: 13.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.446e-05/2.595e-05, allocations: 6.25 kB / 224.7 MB, free: 13.26 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TwoPhaseWater.TestTwoPhaseStates): time 0.01673/0.01676, allocations: 13.4 MB / 238.1 MB, free: 15.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01273/0.02949, allocations: 15.23 MB / 253.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001482/0.02964, allocations: 4 kB / 253.4 MB, free: 0.5117 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.0299, allocations: 71.45 kB / 253.4 MB, free: 452 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002588/0.03016, allocations: 119.1 kB / 253.6 MB, free: 332 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01262/0.04278, allocations: 5.406 MB / 259 MB, free: 10.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006615/0.04344, allocations: 346.4 kB / 259.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.393e-05/0.04352, allocations: 10.47 kB / 259.3 MB, free: 10.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006572/0.04418, allocations: 278.9 kB / 259.6 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000185/0.04436, allocations: 87.77 kB / 259.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.04439, allocations: 12 kB / 259.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01049/0.05488, allocations: 6.972 MB / 266.7 MB, free: 3.191 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.05497, allocations: 23.94 kB / 266.7 MB, free: 3.168 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.05509, allocations: 67.88 kB / 266.7 MB, free: 3.102 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008162/0.06325, allocations: 3.739 MB / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.515e-05/0.06327, allocations: 0 / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.06327, allocations: 0 / 270.5 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.06328, allocations: 0 / 270.5 MB, free: 15.36 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.002135/0.06542, allocations: 1.27 MB / 271.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.06545, allocations: 8.031 kB / 271.8 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008354/0.06629, allocations: 320 kB / 272.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.0665, allocations: 173.5 kB / 272.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.06652, allocations: 16.88 kB / 272.3 MB, free: 13.51 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.06655, allocations: 24.38 kB / 272.3 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.068, allocations: 1.014 MB / 273.3 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.06801, allocations: 7.938 kB / 273.3 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.06803, allocations: 12 kB / 273.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.06803, allocations: 4 kB / 273.3 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001254/0.06929, allocations: 0.7821 MB / 274.1 MB, free: 11.63 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.0008022/0.07009, allocations: 0.7628 MB / 274.9 MB, free: 10.84 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.07124, allocations: 0.732 MB / 275.6 MB, free: 10.1 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.36e-05/0.07132, allocations: 76.77 kB / 275.7 MB, free: 10.02 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3213/0.3926, allocations: 132.3 MB / 408 MB, free: 4.316 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.3927, allocations: 34.91 kB / 408 MB, free: 4.277 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.564e-06/0.3927, allocations: 0 / 408 MB, free: 4.277 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.002319/0.395, allocations: 1.256 MB / 409.3 MB, free: 3.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.044e-05/0.395, allocations: 57.16 kB / 409.4 MB, free: 3.094 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.872e-05/0.3951, allocations: 128.7 kB / 409.5 MB, free: 2.965 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/0.3952, allocations: 33.64 kB / 409.5 MB, free: 2.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.3952, allocations: 118.4 kB / 409.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.529e-05/0.3953, allocations: 122.3 kB / 409.7 MB, free: 2.715 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001384/0.3954, allocations: 115.4 kB / 409.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.3955, allocations: 331.5 kB / 410.2 MB, free: 2.316 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002366/0.3958, allocations: 279.4 kB / 410.5 MB, free: 2.059 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.396, allocations: 358.6 kB / 410.8 MB, free: 1.703 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004837/0.3965, allocations: 0.6284 MB / 411.4 MB, free: 1.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3965, allocations: 4 kB / 411.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005779/0.3971, allocations: 0.6555 MB / 412.1 MB, free: 476 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3971, allocations: 4 kB / 412.1 MB, free: 472 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.3971, allocations: 4 kB / 412.1 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3971, allocations: 4 kB / 412.1 MB, free: 464 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003944/0.3975, allocations: 219.2 kB / 412.3 MB, free: 304 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.3975, allocations: 4.25 kB / 412.3 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.3976, allocations: 27.47 kB / 412.4 MB, free: 276 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.489e-05/0.3977, allocations: 43.17 kB / 412.4 MB, free: 248 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.0001757/0.3979, allocations: 132.6 kB / 412.5 MB, free: 120 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.751e-05/0.398, allocations: 28.56 kB / 412.6 MB, free: 96 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003002/0.401, allocations: 4.431 MB / 417 MB, free: 11.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.019e-05/0.401, allocations: 27.77 kB / 417 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.401, allocations: 4 kB / 417 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.401, allocations: 3.984 kB / 417 MB, free: 11.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009327/0.4019, allocations: 1.299 MB / 418.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.4019, allocations: 0 / 418.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.4022, allocations: 117.3 kB / 418.4 MB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.639e-05/0.4023, allocations: 68.55 kB / 418.5 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.4023, allocations: 7.938 kB / 418.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.4023, allocations: 16.8 kB / 418.5 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.4023, allocations: 5.641 kB / 418.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.4023, allocations: 3.094 kB / 418.5 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.4032, allocations: 1.028 MB / 419.6 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.4032, allocations: 7.562 kB / 419.6 MB, free: 9.746 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4033, allocations: 11.12 kB / 419.6 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.571e-05/0.4034, allocations: 31.75 kB / 419.6 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.4034, allocations: 13.86 kB / 419.6 MB, free: 9.707 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.209e-05/0.4034, allocations: 14.66 kB / 419.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4034, allocations: 3.656 kB / 419.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002318/0.4057, allocations: 0.9914 MB / 420.6 MB, free: 8.734 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.003556/0.4093, allocations: 1.371 MB / 422 MB, free: 7.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.4104, allocations: 0.588 MB / 422.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.62e-05/0.4104, allocations: 0 / 422.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.4106, allocations: 281.1 kB / 422.9 MB, free: 6.691 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.411, allocations: 113.9 kB / 423 MB, free: 6.598 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003409/0.4145, allocations: 1.081 MB / 424.1 MB, free: 5.613 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.583e-05/0.4145, allocations: 144.6 kB / 424.2 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001227/0.4158, allocations: 1.78 MB / 426 MB, free: 3.703 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/0.4162, allocations: 164.1 kB / 426.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of SimCode: time 1.353e-06/0.4162, allocations: 0 / 426.1 MB, free: 3.562 MB / 378.7 MB Notification: Performance of Templates: time 0.1442/0.5603, allocations: 48.53 MB / 474.7 MB, free: 93.8 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4152021342888474]