Execution Time62.09s

Test: roottest-root-math-unuran-unuranDiscrete (Passed)
Build: master-x86_64-fedora29-gcc8-dbg (root-fedora29-2.cern.ch) on 2019-11-14 11:43:11

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
-- TEST COMMAND -- 
cd /mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/roottest/root/math/unuran
/usr/bin/timeout -s USR2 1770s /mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/bin/root.exe -e '#define ClingWorkAroundMissingDynamicScope' -e '#define ClingWorkAroundUnnamedInclude' -e '#define ClingWorkAroundMissingSmartInclude' -e '#define ClingWorkAroundNoDotInclude' -e '#define ClingWorkAroundMissingAutoLoadingForTemplates' -e '#define ClingWorkAroundAutoParseUsingNamespace' -e '#define ClingWorkAroundTClassUpdateDouble32' -e '#define ClingWorkAroundAutoParseDeclaration' -e '#define ClingWorkAroundMissingUnloading' -e '#define ClingWorkAroundBrokenUnnamedReturn' -e '#define ClingWorkAroundUnnamedDetection2' -e 'gSystem->SetBuildDir("/mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/roottest/root/math/unuran",true)' -e 'gSystem->AddDynamicPath("/mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/roottest/root/math/unuran")' -e 'gROOT->SetMacroPath("/mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/roottest/root/math/unuran")' -e 'gInterpreter->AddIncludePath("-I/mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/roottest/root/math/unuran")' -e 'gSystem->AddIncludePath("-I/mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/build/roottest/root/math/unuran")' -q -l -b /mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/root/math/unuran/test/unuranDiscrete.cxx+
-- BEGIN TEST OUTPUT --

Processing /mnt/build/wsincrmaster/LABEL/ROOT-fedora29/SPEC/rtcxxmod/root/math/unuran/test/unuranDiscrete.cxx+...
 prob sum = 18.3
Test  generation with a PV :

Time using Unuran  method=dau           	=	 60	ns/call 		Chi2 Prob = 0.10495
Time using Unuran  method=dgt           	=	 60	ns/call 		Chi2 Prob = 0.0758581
Time using Unuran  method=dss           	=	 70	ns/call 		Chi2 Prob = 0.467109

Test  generation with a Probability function (Poisson) :


Poisson mu = 5

Time using TRandom::Poisson             	=	 220
Time using Unuran  dstd                 	=	 70	ns/call 		Chi2 Prob = 0.0891112
Time using Unuran w/ re-init  method=dstd	=	 140	ns/call 		Chi2 Prob = 0.204079
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.473895
Time using Unuran  method=dsrou         	=	 910	ns/call 		Chi2 Prob = 0.335239

Poisson mu = 10

Time using TRandom::Poisson             	=	 360
Time using Unuran  dstd                 	=	 120	ns/call 		Chi2 Prob = 0.362173
Time using Unuran w/ re-init  method=dstd	=	 180	ns/call 		Chi2 Prob = 0.727331
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.522889
Time using Unuran  method=dsrou         	=	 980	ns/call 		Chi2 Prob = 0.622322

Poisson mu = 20

Time using TRandom::Poisson             	=	 630
Time using Unuran  dstd                 	=	 120	ns/call 		Chi2 Prob = 0.830599
Time using Unuran w/ re-init  method=dstd	=	 180	ns/call 		Chi2 Prob = 0.984578
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.709955
Time using Unuran  method=dsrou         	=	 1040	ns/call 		Chi2 Prob = 0.982882

Poisson mu = 50

Time using TRandom::Poisson             	=	 570
Time using Unuran  dstd                 	=	 130	ns/call 		Chi2 Prob = 0.0637636
Time using Unuran w/ re-init  method=dstd	=	 180	ns/call 		Chi2 Prob = 0.0659926
Time using Unuran  method=dari          	=	 90	ns/call 		Chi2 Prob = 0.130417
Time using Unuran  method=dsrou         	=	 1070	ns/call 		Chi2 Prob = 0.637102

Poisson mu = 100

Time using TRandom::Poisson             	=	 570
Time using Unuran  dstd                 	=	 120	ns/call 		Chi2 Prob = 0.588022
Time using Unuran w/ re-init  method=dstd	=	 180	ns/call 		Chi2 Prob = 0.248789
Time using Unuran  method=dari          	=	 90	ns/call 		Chi2 Prob = 0.336969
Time using Unuran  method=dsrou         	=	 1070	ns/call 		Chi2 Prob = 0.642939

Test  generation with a Probability function (Binomimal) :


Binomial n = 20  0.5
Time using TRandom::Binomial            	=	 850
Time using Unuran  dstd                 	=	 300	ns/call 		Chi2 Prob = 0.106899
Time using Unuran w/ re-init  method=dstd	=	 550	ns/call 		Chi2 Prob = 0.0372883
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.306522
Time using Unuran  method=dsrou         	=	 1230	ns/call 		Chi2 Prob = 0.10389

Binomial n = 100  0.1
Time using TRandom::Binomial            	=	 3010
Time using Unuran  dstd                 	=	 200	ns/call 		Chi2 Prob = 0.873115
Time using Unuran w/ re-init  method=dstd	=	 460	ns/call 		Chi2 Prob = 0.412926
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.896558
Time using Unuran  method=dsrou         	=	 1310	ns/call 		Chi2 Prob = 0.217973

Binomial n = 1000  0.01
Time using TRandom::Binomial            	=	 27350
Time using Unuran  dstd                 	=	 180	ns/call 		Chi2 Prob = 0.380634
Time using Unuran w/ re-init  method=dstd	=	 440	ns/call 		Chi2 Prob = 0.0797599
Time using Unuran  method=dari          	=	 80	ns/call 		Chi2 Prob = 0.0918855
Time using Unuran  method=dsrou         	=	 1270	ns/call 		Chi2 Prob = 0.738503


UnuRan Discrete Distribution Test:	 OK
(int) 0

-- END TEST OUTPUT --