test_1pnc_maxwellstefan_tpfa (Failed)
Bug report The test_1pnc_maxwellstefan_tpfa needs 20 steps on my laptop, but the reference is compared with the 19th output in makefile. After I changed compared output in makefile, there is still a small discrepancy leading to failure.
Environment:
- Dune version: 2.8
- DuMux version: release/3.5
- OS Version: macOS 11.6.5
- Compiler Version: gcc 11.3.0
- Others:
Output
ctest -R test_1pnc_maxwellstefan_tpfa --rerun-failed --output-on-failure
Test project /Users/ouetsu/dumuxday/dumux/build-cmake
Start 383: test_1pnc_maxwellstefan_tpfa
1/1 Test #383: test_1pnc_maxwellstefan_tpfa .....***Failed 1.75 sec
/Users/ouetsu/dumuxday/dumux/build-cmake/test/porousmediumflow/1pnc/1p3c/test_1pnc_maxwellstefan_tpfa-00020.vtu
In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.!
- Douglas Adams, HGttG
Reading parameters from file params.input.
Computed bounding box tree with 1799 nodes for 900 grid entites in 0.000222 seconds.
problem uses mole fractions
-- Using the default temperature of 293.15 in the entire domain. Overload temperatureAtPos() in your spatial params class to define a custom temperature field.Or provide the preferred domain temperature via the SpatialParams.Temperature parameter.
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.013 seconds.
Colored 900 elements with 7 colors in 0.000518 seconds.
Newton solver configured with the following options and parameters:
-- Newton.EnableShiftCriterion = true (relative shift convergence criterion)
-- Newton.MaxRelativeShift = 1e-11
-- Newton.MinSteps = 2
-- Newton.MaxSteps = 18
-- Newton.TargetSteps = 10
-- Newton.RetryTimeStepReductionFactor = 0.5
-- Newton.MaxTimeStepDivisions = 10
Newton iteration 1 done, maximum relative shift = 1.2000e-02
Newton iteration 2 done, maximum relative shift = 6.2859e-03
Newton iteration 3 done, maximum relative shift = 3.8102e-06
Newton iteration 4 done, maximum relative shift = 1.2834e-11
Newton iteration 5 done, maximum relative shift = 1.7347e-16
Assemble/solve/update time: 0.034(56.20%)/0.026(43.60%)/0.00012(0.20%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.014 seconds.
[ 0%] Time step 1 done in 0.06 seconds. Wall clock time: 0.07426, time: 1, time step size: 1
Newton iteration 1 done, maximum relative shift = 2.1265e-02
Newton iteration 2 done, maximum relative shift = 8.3938e-05
Newton iteration 3 done, maximum relative shift = 6.9125e-09
Newton iteration 4 done, maximum relative shift = 7.0832e-14
Assemble/solve/update time: 0.015(44.14%)/0.019(55.68%)/6.1e-05(0.18%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0092 seconds.
[ 0%] Time step 2 done in 0.049 seconds. Wall clock time: 0.1179, time: 2.4167, time step size: 1.4167
Newton iteration 1 done, maximum relative shift = 2.4593e-02
Newton iteration 2 done, maximum relative shift = 1.4577e-04
Newton iteration 3 done, maximum relative shift = 2.1208e-08
Newton iteration 4 done, maximum relative shift = 4.2510e-13
Assemble/solve/update time: 0.014(45.79%)/0.016(54.05%)/4.8e-05(0.16%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0092 seconds.
[ 0%] Time step 3 done in 0.04 seconds. Wall clock time: 0.1575, time: 4.5417, time step size: 2.125
Newton iteration 1 done, maximum relative shift = 2.6520e-02
Newton iteration 2 done, maximum relative shift = 2.1205e-04
Newton iteration 3 done, maximum relative shift = 4.0424e-08
Newton iteration 4 done, maximum relative shift = 9.3259e-14
Assemble/solve/update time: 0.013(43.73%)/0.016(56.03%)/6.8e-05(0.23%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0089 seconds.
[ 0%] Time step 4 done in 0.039 seconds. Wall clock time: 0.19582, time: 7.7292, time step size: 3.1875
Newton iteration 1 done, maximum relative shift = 2.6662e-02
Newton iteration 2 done, maximum relative shift = 2.6987e-04
Newton iteration 3 done, maximum relative shift = 3.8616e-08
Newton iteration 4 done, maximum relative shift = 1.3961e-13
Assemble/solve/update time: 0.012(41.74%)/0.017(57.99%)/7.9e-05(0.27%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0094 seconds.
[ 0%] Time step 5 done in 0.038 seconds. Wall clock time: 0.2344, time: 12.51, time step size: 4.7812
Newton iteration 1 done, maximum relative shift = 2.5129e-02
Newton iteration 2 done, maximum relative shift = 3.2645e-04
Newton iteration 3 done, maximum relative shift = 3.8414e-08
Newton iteration 4 done, maximum relative shift = 2.4670e-12
Assemble/solve/update time: 0.012(44.47%)/0.015(55.35%)/4.9e-05(0.18%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.009 seconds.
[ 1%] Time step 6 done in 0.037 seconds. Wall clock time: 0.27058, time: 19.682, time step size: 7.1719
Newton iteration 1 done, maximum relative shift = 2.2381e-02
Newton iteration 2 done, maximum relative shift = 3.3690e-04
Newton iteration 3 done, maximum relative shift = 7.9237e-08
Newton iteration 4 done, maximum relative shift = 2.3762e-12
Assemble/solve/update time: 0.012(45.95%)/0.014(53.87%)/4.7e-05(0.18%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0088 seconds.
[ 1%] Time step 7 done in 0.036 seconds. Wall clock time: 0.3059, time: 30.44, time step size: 10.758
Newton iteration 1 done, maximum relative shift = 2.3015e-02
Newton iteration 2 done, maximum relative shift = 3.0702e-04
Newton iteration 3 done, maximum relative shift = 9.6664e-08
Newton iteration 4 done, maximum relative shift = 1.0971e-11
Newton iteration 5 done, maximum relative shift = 1.1657e-15
Assemble/solve/update time: 0.015(41.69%)/0.021(57.99%)/0.00011(0.32%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0088 seconds.
[ 1%] Time step 8 done in 0.045 seconds. Wall clock time: 0.35098, time: 46.577, time step size: 16.137
Newton iteration 1 done, maximum relative shift = 2.3471e-02
Newton iteration 2 done, maximum relative shift = 2.3345e-04
Newton iteration 3 done, maximum relative shift = 6.3069e-08
Newton iteration 4 done, maximum relative shift = 1.1634e-11
Newton iteration 5 done, maximum relative shift = 9.4369e-16
Assemble/solve/update time: 0.015(43.41%)/0.019(56.41%)/6.1e-05(0.18%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.01 seconds.
[ 2%] Time step 9 done in 0.043 seconds. Wall clock time: 0.39514, time: 69.437, time step size: 22.86
Newton iteration 1 done, maximum relative shift = 2.2485e-02
Newton iteration 2 done, maximum relative shift = 1.8337e-04
Newton iteration 3 done, maximum relative shift = 4.9848e-08
Newton iteration 4 done, maximum relative shift = 7.6620e-12
Assemble/solve/update time: 0.012(40.34%)/0.017(59.44%)/6.4e-05(0.22%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0097 seconds.
[ 3%] Time step 10 done in 0.039 seconds. Wall clock time: 0.43413, time: 101.82, time step size: 32.385
Newton iteration 1 done, maximum relative shift = 2.2842e-02
Newton iteration 2 done, maximum relative shift = 1.7489e-04
Newton iteration 3 done, maximum relative shift = 5.3192e-08
Newton iteration 4 done, maximum relative shift = 2.1477e-13
Assemble/solve/update time: 0.012(44.81%)/0.015(54.88%)/8.6e-05(0.31%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0092 seconds.
[ 4%] Time step 11 done in 0.037 seconds. Wall clock time: 0.47081, time: 150.4, time step size: 48.578
Newton iteration 1 done, maximum relative shift = 2.3759e-02
Newton iteration 2 done, maximum relative shift = 1.7493e-04
Newton iteration 3 done, maximum relative shift = 5.4479e-08
Newton iteration 4 done, maximum relative shift = 2.9345e-13
Assemble/solve/update time: 0.012(43.70%)/0.015(55.89%)/0.00011(0.41%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0089 seconds.
[ 6%] Time step 12 done in 0.037 seconds. Wall clock time: 0.50748, time: 223.27, time step size: 72.867
Newton iteration 1 done, maximum relative shift = 2.3978e-02
Newton iteration 2 done, maximum relative shift = 1.8186e-04
Newton iteration 3 done, maximum relative shift = 5.9748e-08
Newton iteration 4 done, maximum relative shift = 3.3276e-13
Assemble/solve/update time: 0.012(40.62%)/0.018(59.11%)/8.2e-05(0.27%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0089 seconds.
[ 9%] Time step 13 done in 0.039 seconds. Wall clock time: 0.54644, time: 332.57, time step size: 109.3
Newton iteration 1 done, maximum relative shift = 2.4229e-02
Newton iteration 2 done, maximum relative shift = 1.9660e-04
Newton iteration 3 done, maximum relative shift = 6.2956e-08
Newton iteration 4 done, maximum relative shift = 7.8290e-13
Assemble/solve/update time: 0.012(43.12%)/0.015(56.60%)/7.8e-05(0.29%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0094 seconds.
[ 14%] Time step 14 done in 0.036 seconds. Wall clock time: 0.58331, time: 496.52, time step size: 163.95
Newton iteration 1 done, maximum relative shift = 2.4639e-02
Newton iteration 2 done, maximum relative shift = 2.2045e-04
Newton iteration 3 done, maximum relative shift = 8.7346e-08
Newton iteration 4 done, maximum relative shift = 1.3128e-12
Assemble/solve/update time: 0.013(39.48%)/0.02(60.35%)/5.6e-05(0.17%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0091 seconds.
[ 21%] Time step 15 done in 0.042 seconds. Wall clock time: 0.62524, time: 742.45, time step size: 245.93
Newton iteration 1 done, maximum relative shift = 2.4849e-02
Newton iteration 2 done, maximum relative shift = 2.6070e-04
Newton iteration 3 done, maximum relative shift = 1.5927e-07
Newton iteration 4 done, maximum relative shift = 4.2347e-11
Newton iteration 5 done, maximum relative shift = 1.5543e-15
Assemble/solve/update time: 0.017(42.04%)/0.023(57.71%)/0.0001(0.25%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0096 seconds.
[ 31%] Time step 16 done in 0.049 seconds. Wall clock time: 0.67486, time: 1111.3, time step size: 368.89
Newton iteration 1 done, maximum relative shift = 2.4659e-02
Newton iteration 2 done, maximum relative shift = 3.1316e-04
Newton iteration 3 done, maximum relative shift = 2.1819e-07
Newton iteration 4 done, maximum relative shift = 8.1444e-11
Newton iteration 5 done, maximum relative shift = 2.7649e-15
Assemble/solve/update time: 0.016(36.62%)/0.027(63.20%)/7.8e-05(0.18%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.01 seconds.
[ 45%] Time step 17 done in 0.053 seconds. Wall clock time: 0.72813, time: 1633.9, time step size: 522.6
Newton iteration 1 done, maximum relative shift = 2.6992e-02
Newton iteration 2 done, maximum relative shift = 3.3205e-04
Newton iteration 3 done, maximum relative shift = 4.3039e-07
Newton iteration 4 done, maximum relative shift = 1.6188e-11
Newton iteration 5 done, maximum relative shift = 3.7192e-15
Assemble/solve/update time: 0.016(40.42%)/0.024(59.43%)/6.2e-05(0.15%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0095 seconds.
[ 66%] Time step 18 done in 0.051 seconds. Wall clock time: 0.77863, time: 2374.3, time step size: 740.34
Newton iteration 1 done, maximum relative shift = 3.2737e-02
Newton iteration 2 done, maximum relative shift = 2.8143e-04
Newton iteration 3 done, maximum relative shift = 2.3822e-07
Newton iteration 4 done, maximum relative shift = 4.4269e-11
Newton iteration 5 done, maximum relative shift = 4.0246e-15
Assemble/solve/update time: 0.016(37.61%)/0.026(62.25%)/5.9e-05(0.14%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0094 seconds.
[ 95%] Time step 19 done in 0.052 seconds. Wall clock time: 0.83014, time: 3423.1, time step size: 1048.8
Newton iteration 1 done, maximum relative shift = 5.3190e-03
Newton iteration 2 done, maximum relative shift = 2.0091e-06
Newton iteration 3 done, maximum relative shift = 4.3137e-10
Newton iteration 4 done, maximum relative shift = 1.9984e-15
Assemble/solve/update time: 0.013(43.82%)/0.017(56.01%)/5.1e-05(0.17%)
Writing output for problem "test_1pnc_maxwellstefan_tpfa". Took 0.0094 seconds.
[100%] Time step 20 done in 0.04 seconds. Wall clock time: 0.87, time: 3600, time step size: 176.9
Simulation took 0.87 seconds on 1 processes.
The cumulative CPU time was 0.87 seconds.
Forty-two. I checked it very thoroughly, and that quite definitely is the answer. I think the problem, to be quite honest with you, is that you've never actually known what the question is.
- Douglas Adams, HGttG
Fuzzy comparison...
Comparing /Users/ouetsu/dumuxday/dumux/test/references/test_1pnc_maxwellstefan_tpfa-reference.vtu and /Users/ouetsu/dumuxday/dumux/build-cmake/test/porousmediumflow/1pnc/1p3c/test_1pnc_maxwellstefan_tpfa-00020.vtu
... with a maximum relative error of 0.01 and a maximum absolute error of 1.5e-07*max_abs_parameter_value.
Data differs in parameter: delp
Difference is too large: 1.54% -> between: -0.000176918 and -0.000174189 Info for delp: max_abs_parameter_value=0.0211596 and min_abs_parameter_value=0.000174189.
Data differs in parameter: velocity_Gas (m/s)_0
Difference is too large: 1.28% -> between: 6.40399e-06 and 6.32196e-06 Info for velocity_Gas (m/s)_0: max_abs_parameter_value=6.44928e-06 and min_abs_parameter_value=2.75056e-07.
Fuzzy comparison done (not equal)
0% tests passed, 1 tests failed out of 1
Label Time Summary:
1pnc = 1.75 sec*proc (1 test)
porousmediumflow = 1.75 sec*proc (1 test)
Total Test time (real) = 1.96 sec
The following tests FAILED:
383 - test_1pnc_maxwellstefan_tpfa (Failed)
Errors while running CTest
Edited by Timo Koch