Execution Time10.19s

Test: roottest-root-math-unuran-unuranDistr (Passed)
Build: PR-4279-x86_64-ubuntu16-gcc54-opt (sft-ubuntu-1604-4) on 2019-11-14 21:01:42
Repository revision: eb9d2d64c365eec560379f62009bcc1579861643

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
-- TEST COMMAND -- 
cd /mnt/build/workspace/root-pullrequests-build/build/roottest/root/math/unuran
/usr/bin/timeout -s USR2 270s /mnt/build/workspace/root-pullrequests-build/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/workspace/root-pullrequests-build/build/roottest/root/math/unuran",true)' -e 'gSystem->AddDynamicPath("/mnt/build/workspace/root-pullrequests-build/build/roottest/root/math/unuran")' -e 'gROOT->SetMacroPath("/mnt/build/workspace/root-pullrequests-build/roottest/root/math/unuran")' -e 'gInterpreter->AddIncludePath("-I/mnt/build/workspace/root-pullrequests-build/build/roottest/root/math/unuran")' -e 'gSystem->AddIncludePath("-I/mnt/build/workspace/root-pullrequests-build/build/roottest/root/math/unuran")' -q -l -b /mnt/build/workspace/root-pullrequests-build/root/math/unuran/test/unuranDistr.cxx+
-- BEGIN TEST OUTPUT --

Processing /mnt/build/workspace/root-pullrequests-build/root/math/unuran/test/unuranDistr.cxx+...
Info in <TUnixSystem::ACLiC>: creating shared library /mnt/build/workspace/root-pullrequests-build/build/roottest/root/math/unuran/unuranDistr_cxx.so
Time using Unuran  arou   	=	 22	ns/call 		Chi2 Prob = 0.792284
Time using Unuran  nrou   	=	 92	ns/call 		Chi2 Prob = 0.602496
Time using Unuran  tdr   	=	 30	ns/call 		Chi2 Prob = 0.719864
Time using Unuran  hinv   	=	 30	ns/call 		Chi2 Prob = 0.448482
Time using Unuran  ninv   	=	 580	ns/call 		Chi2 Prob = 0.936548
Time using Unuran  srou   	=	 300	ns/call 		Chi2 Prob = 0.789766
Time using Unuran  ssr   	=	 300	ns/call 		Chi2 Prob = 0.579661
Time using Unuran  utdr   	=	 94	ns/call 		Chi2 Prob = 0.661686

Time using TF1::GetRandom()    	=	 58	ns/call 		Chi2 Prob = 0.275253

Test truncated distribution:

Time using Unuran  auto   	=	 32	ns/call 		Chi2 Prob = 0.0163584
Time using TF1::GetRandom()    	=	 82	ns/call 		Chi2 Prob = 0.756356

Fit result on data with unuran: 
Gaus Fit chi2 = 41.5417 ndf = 43
Gaus Fit Prob = 0.534624
CDF Fit chi2 = 110.126 ndf = 99
CDF Fit Prob = 0.209013

Fit result on data  with GetRandom: 
Gaus Fit chi2 = 40.0667 ndf = 44
Gaus Fit Prob = 0.640874
Fit chi2 = 82.6793 ndf = 99
Fit Prob = 0.881485
Chi2 test Gaussian histograms :	Chi2 = 49.373270, Prob = 0.339948, NDF = 46, igood = 1
Chi2 test Uniform histograms  :	Chi2 = 106.410571, Prob = 0.287343, NDF = 99, igood = 0


UnuRan  Continous Distribution Test:	 OK

(int) 0

-- END TEST OUTPUT --