Execution Time8.74s

Test: test-TFormulaTests (Passed)
Build: master-x86_64-centos7-gcc48-dbg (lcgapp-centos7-x86-64-25.cern.ch) on 2019-11-14 11:45:12

Test Timing: Passed
Processors1

Show Command Line
Display graphs:

Test output
starting .....
************************************************
================TFormula Tests===============
************************************************
creating formula .....
TFormula Initialization with 100 variables and 500 parameters
: Real Time =   1.40 seconds Cpu Time =   1.40 seconds
Setting 500 parameters
: Real Time =   0.01 seconds Cpu Time =   0.01 seconds
 f =    119854.2478368825 
Evaluation time :	Real time 0:00:00, CP time 0.140
result = -4949.92
100000 Evaluations
: Real Time =   0.14 seconds Cpu Time =   0.14 seconds
TFormula Stress Total Time: Real Time =   1.55 seconds Cpu Time =   1.55 seconds


 Testing old TFormula 

ROOT::v5::TFormula Initialization with 100 variables and 500 parameters
: Real Time =   1.73 seconds Cpu Time =   1.71 seconds
ROOT::v5::TFormula: Setting 500 parameters
: Real Time =   0.00 seconds Cpu Time =   0.00 seconds
start evaluatuons  
 f =    119854.2478392117 
Evaluation time :	Real time 0:00:00, CP time 0.710
result = -4949.92
ROOT::v5::TFormula: 100000 Evaluations
: Real Time =   0.71 seconds Cpu Time =   0.71 seconds
Stress test:PASSED
Test parsing of expression compatible with old TFormula
Test 1 :        .
Test 2 :        .
Test 3 :        .
Test 4 :        .
Test 5 :        .
Test 6 :        .
Test 7 :        .
Test 8 :        .
Test 9 :        .
Test 10 :        .
Test 11 :        .
Test 12 :        .
Test 13 :        .
Test 14 :        .
Test 15 :        .
Test 16 :        .
Test 17 :        .
Test 18 :        .
Test 19 :        .
Test 20 :        .
Test 21 :        .
Test 22 :        .
Test 23 :        .
Test 24 :        .
Test 25 :        .
Test 26 :        .
Test 27 :        .
Test 28 :        .
Test 29 :        .
Test 30 :        .
Test 31 :        .
Test 32 :        .
Test 33 :        .
Test 34 :        .
Test 35 :        .
Test 36 :        .
Test 37 :        .
Test 38 :        .
Test 39 :        .
Test 40 :        .
Test 41 :        .
Test 42 :        .
Test 43 :        .
Test 44 :        .
Test 45 :        .
Test 46 :        .
Test 47 :        .
Test 48 :        
Processing TFormulaTest49.C...
(bool) true
.
Test 49 :        .
Test 50 :                           f1 : [A]*sin([B]*x) Ndim= 1, Npar= 2, Number= 0 
 Formula expression: 
	[A]*sin([B]*x) 
List of  Variables: 
Var   0                    x =    0.000000 
List of  Parameters: 
Par   0                    A =    0.000000 
Par   1                    B =    0.000000 
Expression passed to Cling:
	Double_t TFormula____id576454026165447096(Double_t *x,Double_t *p){ return p[0]*TMath::Sin(p[1]*x[0]) ; }
Formula based function:     f2 
                   f2 : [0]*x+[1]*y Ndim= 2, Npar= 2, Number= 0 
 Formula expression: 
	[p0]*x+[p1]*y 
List of  Variables: 
Var   0                    x =    0.000000 
Var   1                    y =    0.000000 
List of  Parameters: 
Par   0                   p0 =    0.000000 
Par   1                   p1 =    0.000000 
Expression passed to Cling:
	#pragma cling optimize(2)
Double_t TFormula____id974642364338071995(Double_t *x,Double_t *p){ return p[0]*x[0]+p[1]*x[1] ; }
                   f3 : [](double *x, double *p){ return p[0]*x[0] + p[1]; }  Ndim= 1, Npar= 2, Number= 0 
 Formula expression: 
	[](double *x, double *p){ return p[0]*x[0] + p[1]; }  
List of  Parameters: 
Par   0                   p0 =    0.000000 
Par   1                   p1 =    0.000000 
Expression passed to Cling:
	[](double *x, double *p){ return p[0]*x[0] + p[1]; } 
Formula based function:     f3 
            tf1lambda : [](double *x, double *p){ return p[0]*x[0]; }  Ndim= 1, Npar= 1, Number= 0 
 Formula expression: 
	[](double *x, double *p){ return p[0]*x[0]; }  
List of  Parameters: 
Par   0                   p0 =    0.000000 
Expression passed to Cling:
	[](double *x, double *p){ return p[0]*x[0]; } 
.
Test 51 :        input_line_493:2:81: error: expected ')'
Double_t TFormula____id4704868584811156774(Double_t *x){ return TMath::Exp(x[0] ; }
                                                                                ^
input_line_493:2:75: note: to match this '('
Double_t TFormula____id4704868584811156774(Double_t *x){ return TMath::Exp(x[0] ; }
                                                                          ^
input_line_494:2:81: error: expected ')'
Double_t TFormula____id4704868584811156774(Double_t *x){ return TMath::Exp(x[0] ; }
                                                                                ^
input_line_494:2:75: note: to match this '('
Double_t TFormula____id4704868584811156774(Double_t *x){ return TMath::Exp(x[0] ; }
                                                                          ^
input_line_495:2:55: error: use of undeclared identifier 'skmg'
Double_t TFormula____id4376664181947500160(){ return {skmg#$#} ; }
                                                      ^
input_line_496:2:55: error: use of undeclared identifier 'skmg'
Double_t TFormula____id4376664181947500160(){ return {skmg#$#} ; }
                                                      ^
.
All TFormula Parsing tests PASSED !
Parsing test:PASSED
Test creating vectorized Formula
input_line_500:2:85: error: use of undeclared identifier 'skmg'
Double_t TFormula____id2822862547919720611(Double_t *x,Double_t *p){ return (p[0]*({skmg#$#}))+(p[1]*(!1)) ; }
                                                                                    ^
input_line_500:2:82: error: invalid operands to binary expression ('Double_t' (aka 'double') and 'void')
Double_t TFormula____id2822862547919720611(Double_t *x,Double_t *p){ return (p[0]*({skmg#$#}))+(p[1]*(!1)) ; }
                                                                             ~~~~^~~~~~~~~~~~
input_line_501:2:85: error: use of undeclared identifier 'skmg'
Double_t TFormula____id2822862547919720611(Double_t *x,Double_t *p){ return (p[0]*({skmg#$#}))+(p[1]*(!1)) ; }
                                                                                    ^
input_line_501:2:82: error: invalid operands to binary expression ('Double_t' (aka 'double') and 'void')
Double_t TFormula____id2822862547919720611(Double_t *x,Double_t *p){ return (p[0]*({skmg#$#}))+(p[1]*(!1)) ; }
                                                                             ~~~~^~~~~~~~~~~~
Info in <TFormula::SetVectorized>: Cannot vectorized a function of zero dimension
Info in <TFormula::SetVectorized>: Cannot vectorized a function of zero dimension
Info in <TFormula::SetVectorized>: Cannot vectorized a function of zero dimension
Info in <TFormula::SetVectorized>: Cannot vectorized a function of zero dimension
3+[0]	 ok
3+[0]_v	 ok
3+[0]	 ok
3+[0]_v	 ok
3+[0]	 ok
3+[0]_v	 ok
3	 ok
3_v	 ok
3	 ok
3_v	 ok
3	 ok
3_v	 ok
sin(x)	 ok
sin(x)_v	 ok
sin(x)	 ok
sin(x)_v	 ok
sin(x)	 ok
sin(x)_v	 ok
cos(x)	 ok
cos(x)_v	 ok
cos(x)	 ok
cos(x)_v	 ok
cos(x)	 ok
cos(x)_v	 ok
exp(x)	 ok
exp(x)_v	 ok
exp(x)	 ok
exp(x)_v	 ok
exp(x)	 ok
exp(x)_v	 ok
log(x)	 ok
log(x)_v	 ok
log(x)	 ok
log(x)_v	 ok
log(x)	 ok
log(x)_v	 ok
log10(x)	 ok
log10(x)_v	 ok
log10(x)	 ok
log10(x)_v	 ok
log10(x)	 ok
log10(x)_v	 ok
tan(x)	 ok
tan(x)_v	 ok
tan(x)	 ok
tan(x)_v	 ok
tan(x)	 ok
tan(x)_v	 ok
asin(x)	 ok
asin(x)_v	 ok
asin(x)	 ok
asin(x)_v	 ok
asin(x)	 ok
asin(x)_v	 ok
acos(x)	 ok
acos(x)_v	 ok
acos(x)	 ok
acos(x)_v	 ok
acos(x)	 ok
acos(x)_v	 ok
atan(x)	 ok
atan(x)_v	 ok
atan(x)	 ok
atan(x)_v	 ok
atan(x)	 ok
atan(x)_v	 ok
sqrt(x)	 ok
sqrt(x)_v	 ok
sqrt(x)	 ok
sqrt(x)_v	 ok
sqrt(x)	 ok
sqrt(x)_v	 ok
abs(x)	 ok
abs(x)_v	 ok
abs(x)	 ok
abs(x)_v	 ok
abs(x)	 ok
abs(x)_v	 ok
pow(x,y)	 ok
pow(x,y)_v	 ok
pow(x,y)	 ok
pow(x,y)_v	 ok
min(x,y)	 ok
min(x,y)_v	 ok
min(x,y)	 ok
min(x,y)_v	 ok
max(x,y)	 ok
max(x,y)_v	 ok
max(x,y)	 ok
max(x,y)_v	 ok
atan2(x,y)	 ok
atan2(x,y)_v	 ok
atan2(x,y)	 ok
atan2(x,y)_v	 ok
Vectorization test:PASSED