Merge lp:~maddevelopers/mg5amcnlo/2.3.3_scan_options into lp:~maddevelopers/mg5amcnlo/2.3.3

Proposed by Olivier Mattelaer
Status: Merged
Merged at revision: 303
Proposed branch: lp:~maddevelopers/mg5amcnlo/2.3.3_scan_options
Merge into: lp:~maddevelopers/mg5amcnlo/2.3.3
Diff against target: 1323 lines (+429/-109)
19 files modified
UpdateNotes.txt (+2/-0)
VERSION (+1/-1)
madgraph/interface/amcatnlo_interface.py (+5/-2)
madgraph/interface/amcatnlo_run_interface.py (+31/-4)
madgraph/interface/common_run_interface.py (+42/-5)
madgraph/interface/launch_ext_program.py (+4/-3)
madgraph/interface/madevent_interface.py (+36/-3)
madgraph/interface/madgraph_interface.py (+10/-7)
madgraph/interface/reweight_interface.py (+34/-13)
madgraph/iolibs/export_cpp.py (+4/-3)
madgraph/madevent/gen_ximprove.py (+0/-1)
madgraph/various/misc.py (+27/-0)
models/check_param_card.py (+128/-7)
tests/acceptance_tests/test_cmd_amcatnlo.py (+1/-1)
tests/input_files/IOTestsComparison/IOExportV4IOTest/export_matrix_element_v4_madevent_group/super_auto_dsig.f (+0/-5)
tests/input_files/LoopSMEWTest/object_library.py (+1/-1)
tests/time_db (+54/-52)
tests/unit_tests/iolibs/test_export_cpp.py (+2/-1)
tests/unit_tests/various/test_check_param_card.py (+47/-0)
To merge this branch: bzr merge lp:~maddevelopers/mg5amcnlo/2.3.3_scan_options
Reviewer Review Type Date Requested Status
marco zaro Approve
Valentin Hirschi Approve
Review via email: mp+271726@code.launchpad.net

Description of the change

Allow a simple syntax in order to perform a scan on parameter.

just edit the param_card and enter (instead of a value) scan:[100, 150,200]
for example:

BLOCK MASS #
      5 4.700000e+00 # mb
      6 scan:[170,175,180] # mt
      15 1.777000e+00 # mta
      23 9.118800e+01 # mz
      25 scan: [130,125,120] # mh

This performs a 2D scan.

you can also correlates range by replacing scan by scanX
for example:

BLOCK MASS #
      5 4.700000e+00 # mb
      6 scan1:[170,175,180] # mt
      15 1.777000e+00 # mta
      23 9.118800e+01 # mz
      25 scan1: [130,125,120] # mh
performs a 1D scan.

This functionaline works with
1) generate_events @LO
2) multi_run @LO
3) launch @NLO
4) the reweighting_card
Do you see some other place where I should implement it?
- I do not think that MS should have to support it (since the card will be replace before the call to MS)

At the end of the run a text file is written in Events with multi-colum
to have an easy access of which run is which entry in the various run launched.
(that file also report the cross-section)

For the functionality details:
1) the cards is overwritten by an "standard" card before doing the run.
and all the madspin/pythia/fortran only see a standard param_card.
2) Contrary to the MadWidth, the value of the param_card are restored at the end of the scan.
(so you get back the card with the scan flag.)
3) This is compatible with the use of Auto in the cards

To post a comment you must log in.
286. By Olivier Mattelaer

allow scan syntax in the reweight_card

Revision history for this message
marco zaro (marco-zaro) wrote :

Hi Olivier,
very nice idea!
I am trying to do some stupid things to check how it goes and if I am warned.
So I tried ttbar at LO (madevent) and used the set command to change one parameter.

Below you see what works and what does not, and the errors that come in each case.

Cheers,

Marco

set MT scan:[170,171,172] # works ok
set MT scan: [170,171,172] # works ok
set MT scan : [170,171,172] # does not work (1)
set MT scan :[170,171,172] # does not work (1)
set MT scan: [170, 171 , 172] # does not work (2)
set MT scan1:[170,171,172] # does not work (3)

(1) the following error is given
Command "generate_events run_04" interrupted with error:
IndexError : list index out of range
Please report this bug on https://bugs.launchpad.net/madgraph5
More information is found in '/Users/marcozaro/Physics/MadGraph/2.3.3_scan_options/PROC_sm_0/run_04_tag_1_debug.log'.
Please attach this file to your report.

Note that it would be advisable either to use a syntax non-space sensitive and/or to warn the user he is doing something wrong, something like what happens if i do
set MT pippo
WARNING: Invalid input: Expected number and not 'pippo'

(2) it runs but seems not to recognize the setting of the parameter
write compile file for card: /Users/marcozaro/Physics/MadGraph/2.3.3_scan_options/PROC_sm_0/Cards/param_card.dat
WARNING: information about "mass [6]" is missing using default value: 173.0.

(3) WARNING: invalid set command param_card mass 6 scan1:[170,171,172]

review: Needs Fixing
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :
Download full text (3.9 KiB)

Thanks Marco,

Thanks a lot for this review and to have found those bad feature/bug.

> Below you see what works and what does not, and the errors that come in each case.

> set MT scan : [170,171,172] # does not work (1)
> set MT scan :[170,171,172] # does not work (1)

Ok this is not really a bug but yes this is a good point.
I updated the regular expression to allow for spaces before the “:”

> set MT scan: [170, 171 , 172] # does not work (2)

That’s a real bug, that is really tricky and happens only if you put space before and after a number —thanks to have done it, I’m never doing that—.
The problem was that line was converted (correctly) to
set mass 6 scan: [170, 171 , 172]
and written in the param_card correctly as
6 scan: [170, 171 , 172]
but the python parser recognise that entry for the mass of (6, 171) instead of the mass of (6,)
which makes everything to go wrong.

> set MT scan1:[170,171,172] # does not work (3)

This one I’m not sure what the problem was. It is running fine.
My guess is that the previous crash (2) was preventing that command to run correctly.

> Note that it would be advisable either to use a syntax non-space sensitive and/or to warn the user he is doing something wrong, something like what happens if i do

> set MT pippo
> WARNING: Invalid input: Expected number and not ‘pippo'

Here the test are really weak. Basically as soon as “scan” is written, no test are applied on the rest of the string.
The problem is that you can type stuff like
scan:[a**2+b**2 for a in [100,150,200] for b in [110, 150, 190]]
or
scan: [100, 200] + range(10, 30, 5) + [10**i for i in range(5)]
or
scan:xrange(100, 200, 25)

So parsing all the possible entry is basically impossible.
Also I expect that people (=mainly us) might one to play with this to get contour plot/Markov chain over parameter/…
This is not supported now, but should be possible in the current framework with minimal change, so I do not want to have a rigid parsing here.

Thanks again,

Olivier

PS: At the same time, I have use this revision to make my code a bit nicer.
and to order the output file with all the cross-section.

On 22 Sep 2015, at 13:42, marco zaro <email address hidden> wrote:

> Review: Needs Fixing
>
> Hi Olivier,
> very nice idea!
> I am trying to do some stupid things to check how it goes and if I am warned.
> So I tried ttbar at LO (madevent) and used the set command to change one parameter.
>
> Below you see what works and what does not, and the errors that come in each case.
>
> Cheers,
>
> Marco
>
> set MT scan:[170,171,172] # works ok
> set MT scan: [170,171,172] # works ok
> set MT scan : [170,171,172] # does not work (1)
> set MT scan :[170,171,172] # does not work (1)
> set MT scan: [170, 171 , 172] # does not work (2)
> set MT scan1:[170,171,172] # does not work (3)
>
> (1) the following error is given
> Command "generate_events run_04" interrupted with error:
> IndexError : list index out of range
> Please report this bug on https://bugs.launchpad.net/madgraph5
> More information is found in '/Users/marcozaro/Physics/MadGraph/2.3.3_scan_options/PROC_sm_0/run_04_tag_1_debug.log'.
> Please attach this file to your report.
>
> Note th...

Read more...

287. By Olivier Mattelaer

1. allow space before the : in the scan: syntax.
2. add security to avoid that scan can be used via the web.
3. fix the support of shell for aMC@NLO.
4. slight improve of the code for the iterator on the cards.

Revision history for this message
marco zaro (marco-zaro) wrote :

Ciao Olivier,
thanks for fixing these bugs
Another small issue is that if instead of scan1 or scan i write scan + a letter (e.g. scanX) an error is not raised...
Once fixed this I will try to have a look at the code.
Cheers,

Marco

review: Needs Fixing
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

Hi Marco,

> Another small issue is that if instead of scan1 or scan i write scan + a letter (e.g. scanX) an error is not raised…

Ok I have put check that the syntax is correct when using the “set” command.
and put clear Error if the file was edited by hand with invalid syntax.

Thanks,

Olivier

On 24 Sep 2015, at 08:56, marco zaro <email address hidden> wrote:

> Review: Needs Fixing
>
> Ciao Olivier,
> thanks for fixing these bugs
> Another small issue is that if instead of scan1 or scan i write scan + a letter (e.g. scanX) an error is not raised...
> Once fixed this I will try to have a look at the code.
> Cheers,
>
> Marco
> --
> https://code.launchpad.net/~maddevelopers/mg5amcnlo/2.3.3_scan_options/+merge/271726
> Your team MadDevelopers is subscribed to branch lp:~maddevelopers/mg5amcnlo/2.3.3.

288. By Olivier Mattelaer

nice handling of wrong syntax

Revision history for this message
Valentin Hirschi (valentin-hirschi) wrote :

I tried the following:

generate p p > e+ ve [QCD]
output
launch
fixed_order=ON
set aem1 scan1:[100, 200, 300]
set mz scan1:[103, 203, 303]
set ww auto

And it ran fine however, *only the first of the three* runs was in fixed order. The next two were using the default NLO run settings with HERWIG shower.

The file 'scan_run_03.txt' is correctly written with the relevant information. However I'd suggest to call it 'scan_run_01-03.txt' instead. Also, if columns could be aligned it would be nice (just change:
ff.write("%s %s %s \n" % (name,' '.join(bench) ,cross))
to
ff.write("%-30s %-30s %-30s \n" % (name,' '.join(bench) ,cross)).

Also, if one interrupts the run, one loses the original card (i.e. you only have the one with replaced value). Maybe this is really impossible to fix. But maybe we could save the original card in a file <card>.MG5_bkup and erase it whenever the runs complete. So if the user interrupts it and restarts, then we could restore the backedup card (if only the 'scan' items differ).
This shouldn't be difficult to implement but maybe not worth it. Your call.

I tried a reweight "scan" run which went surprisingly smoothly (it starts to be quite amazing the amount of "logisitics" going on... the screen gets pretty full quickly).
I even tried a 'scan-ception' (i.e. a reweight scan within a param scan, and with the same scanID in the param and reweight card, and it still went like a charm).

By the way, please remove the following debug statement:
reweight_interface.py at line 393

Notice that the "not-so-relevant" syntax: 'set ww scan:[100.0,200.0,auto]' is not working.
Maybe not worth fixing, depending on how much work it is (i.e. if > 3 min, then no :)).

---------------------------------------------------
Regarding the code (I had a superficial look only):

Isn't there any easier way than 'not hasattr(self, 'do_shell')' to know if you are in WebMode or not? Isn't it possible to scan the bases of 'self' and see if you encounter the class WebInterface in its mothers?

The ParamCardIterator is really neat. If one really wanted to be picky about it though, the dictionary 'all_iterators' should be initialized in '__init__' (and not in the function iterate) and then synchronized for possible modifications in an overloaded version of the setter. In this way you avoid parsing the param_card twice if you run iterate twice (which never happens ^^).
Anyway, this comment was just to 'prove' that I read the code; this refinement is really unnecessary in this context.

So in conclusion, the only important fix is that the NLO scan always use same running mode. The rest is optional, so I accept the merge.

Revision history for this message
Valentin Hirschi (valentin-hirschi) :
review: Approve
Revision history for this message
Olivier Mattelaer (olivier-mattelaer) wrote :

> And it ran fine however, *only the first of the three* runs was in fixed order. The next two were using the default NLO run settings with HERWIG shower.

Ok Fixed.

> The file 'scan_run_03.txt' is correctly written with the relevant information. However I'd suggest to call it 'scan_run_01-03.txt' instead.

This was boring to do. But ok this is done:
INFO: write all cross-section results in /Users/omatt/Documents/eclipse/2.3.3_scan/PROCNLO_loop_sm_1/Events/scan_run_[13-14]_LO.txt

> Also, if columns could be aligned it would be nice (just change:
ff.write("%s %s %s \n" % (name,' '.join(bench) ,cross))
to
ff.write("%-30s %-30s %-30s \n" % (name,' '.join(bench) ,cross)).

Ok, I put -20 which should be enough.

> Also, if one interrupts the run, one loses the original card (i.e. you only have the one with replaced value). Maybe this is really impossible to fix. But maybe we could save the original card in a file <card>.MG5_bkup and erase it whenever the runs complete. So if the user interrupts it and restarts, then we could restore the backedup card (if only the 'scan' items differ).
This shouldn't be difficult to implement but maybe not worth it. Your call.

I see the point but ... no

> By the way, please remove the following debug statement:
reweight_interface.py at line 393

Thanks.

> Notice that the "not-so-relevant" syntax: 'set ww scan:[100.0,200.0,auto]' is not working.
Maybe not worth fixing, depending on how much work it is (i.e. if > 3 min, then no :)).

actually the scans on the width where bugged (since the width syntax is different than the other values). So i have fixed it, and allow for auto without "''".

> Isn't there any easier way than 'not hasattr(self, 'do_shell')' to know if you are in WebMode or not? Isn't it possible to scan the bases of 'self' and see if you encounter the class WebInterface in its mothers?

you are right, I can replace those by:
isinstance(self.mother, cmd.CmdShell)

>In this way you avoid parsing the param_card twice if you run iterate twice (which never happens ^^).

Actually my implementation do not allow to iterate twice on the same object.
You are force to recreate the object in order to do that. The point is that I want to have the first value out of the for loop and then continue with a for loop.

> So in conclusion, the only important fix is that the NLO scan always use same running mode. The rest is optional, so I accept the merge.

Thanks to you.

Olivier

289. By Olivier Mattelaer

make the fix associate to Valentin review

Revision history for this message
marco zaro (marco-zaro) wrote :

Hi Olivier,
ok, after the fixes I approve the merge.
Thanks!

Marco

review: Approve
290. By Olivier Mattelaer

merge with 2.3.3

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'UpdateNotes.txt'
2--- UpdateNotes.txt 2015-10-05 14:14:43 +0000
3+++ UpdateNotes.txt 2015-10-11 19:59:55 +0000
4@@ -1,6 +1,8 @@
5 Update notes for MadGraph5_aMC@NLO (in reverse time order)
6
7 2.3.3(XX/XX/XX)
8+ OM: Allow new syntax for the param_card: instead of an entry you can enter scan:[val1, val2,...]
9+ To perform a scan on this parameter.
10 OM: Having two mode for "output pythia8" one (default) for pythia8.2 and one for pythia8.1 (with --version=8.1)
11 RF: Rewriting of job-control for NLO processes. Better accuracy estimates for FO processes
12 RF: Fix for factorisation scale setting in FxFx merging when very large difference in scale in the
13
14=== modified file 'VERSION'
15--- VERSION 2015-08-20 13:49:51 +0000
16+++ VERSION 2015-10-11 19:59:55 +0000
17@@ -1,4 +1,4 @@
18-version = 2.3.2
19+version = 2.3.3_with_scan
20 date = 2015-08-20
21
22
23
24=== modified file 'madgraph/interface/amcatnlo_interface.py'
25--- madgraph/interface/amcatnlo_interface.py 2015-10-01 16:00:08 +0000
26+++ madgraph/interface/amcatnlo_interface.py 2015-10-11 19:59:55 +0000
27@@ -30,6 +30,7 @@
28 import madgraph.interface.extended_cmd as cmd
29 import madgraph.interface.madgraph_interface as mg_interface
30 import madgraph.interface.madevent_interface as me_interface
31+import madgraph.interface.extended_cmd as extended_cmd
32 import madgraph.interface.amcatnlo_run_interface as run_interface
33 import madgraph.interface.launch_ext_program as launch_ext
34 import madgraph.interface.loop_interface as Loop_interface
35@@ -624,7 +625,7 @@
36 # self.options['automatic_html_opening'] = False
37
38 if options['interactive']:
39- if hasattr(self, 'do_shell'):
40+ if isinstance(self, extended_cmd.CmdShell):
41 ME = run_interface.aMCatNLOCmdShell(me_dir=argss[0], options=self.options)
42 else:
43 ME = run_interface.aMCatNLOCmd(me_dir=argss[0],options=self.options)
44@@ -636,7 +637,9 @@
45 stop = self.define_child_cmd_interface(ME)
46 return stop
47
48- ext_program = launch_ext.aMCatNLOLauncher(argss[0], self, run_mode=argss[1], **options)
49+ ext_program = launch_ext.aMCatNLOLauncher(argss[0], self, run_mode=argss[1],
50+ shell = isinstance(self, extended_cmd.CmdShell),
51+ **options)
52 ext_program.run()
53
54
55
56=== modified file 'madgraph/interface/amcatnlo_run_interface.py'
57--- madgraph/interface/amcatnlo_run_interface.py 2015-10-08 11:31:22 +0000
58+++ madgraph/interface/amcatnlo_run_interface.py 2015-10-11 19:59:55 +0000
59@@ -1155,7 +1155,7 @@
60 functions, such as generate_events or calculate_xsect
61 mode gives the list of switch needed for the computation (usefull for banner_run)
62 """
63-
64+
65 if not argss and not options:
66 self.start_time = time.time()
67 argss = self.split_arg(line)
68@@ -1164,6 +1164,7 @@
69 options = options.__dict__
70 self.check_launch(argss, options)
71
72+
73 if 'run_name' in options.keys() and options['run_name']:
74 self.run_name = options['run_name']
75 # if a dir with the given run_name already exists
76@@ -1183,6 +1184,7 @@
77
78 if not switch:
79 mode = argss[0]
80+
81 if mode in ['LO', 'NLO']:
82 options['parton'] = True
83 mode = self.ask_run_configuration(mode, options)
84@@ -1229,7 +1231,33 @@
85 Please read http://amcatnlo.cern.ch/FxFx_merging.htm for more details.""")
86
87
88-
89+ #check if the param_card defines a scan.
90+ if self.param_card_iterator:
91+ param_card_iterator = self.param_card_iterator
92+ self.param_card_iterator = [] #avoid to next generate go trough here
93+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
94+ orig_name = self.run_name
95+ #go trough the scal
96+ for i,card in enumerate(param_card_iterator):
97+ card.write(pjoin(self.me_dir,'Cards','param_card.dat'))
98+ if not options['force']:
99+ options['force'] = True
100+ if options['run_name']:
101+ options['run_name'] = '%s_%s' % (orig_name, i+1)
102+ if not argss:
103+ argss = [mode, "-f"]
104+ elif argss[0] == "auto":
105+ argss[0] = mode
106+ self.do_launch("", options=options, argss=argss, switch=switch)
107+ #self.exec_cmd("launch -f ",precmd=True, postcmd=True,errorhandling=False)
108+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
109+ #restore original param_card
110+ param_card_iterator.write(pjoin(self.me_dir,'Cards','param_card.dat'))
111+ name = misc.get_scan_name(orig_name, self.run_name)
112+ path = pjoin(self.me_dir, 'Events','scan_%s.txt' % name)
113+ logger.info("write all cross-section results in %s" % path, '$MG:color:BLACK')
114+ param_card_iterator.write_summary(path)
115+
116 ############################################################################
117 def do_compile(self, line):
118 """Advanced commands: just compile the executables """
119@@ -4230,7 +4258,6 @@
120 switch = switch_default
121 else:
122 switch.update(dict((k,value) for k,v in switch_default.items() if k not in switch))
123-
124 default_switch = ['ON', 'OFF']
125 allowed_switch_value = {'order': ['LO', 'NLO'],
126 'fixed_order': default_switch,
127@@ -4329,7 +4356,7 @@
128 elif answer in ['0', 'auto', 'done']:
129 return
130 elif answer in special_values:
131- logger.info('Enter mode value: Go to the related mode', '$MG:color:BLACK')
132+ logger.info('Enter mode value: %s. Go to the related mode' % answer, '$MG:color:BLACK')
133 #assign_switch('reweight', 'OFF')
134 #assign_switch('madspin', 'OFF')
135 if answer == 'LO':
136
137=== modified file 'madgraph/interface/common_run_interface.py'
138--- madgraph/interface/common_run_interface.py 2015-10-01 16:00:08 +0000
139+++ madgraph/interface/common_run_interface.py 2015-10-11 19:59:55 +0000
140@@ -527,6 +527,8 @@
141
142 self.me_dir = me_dir
143 self.options = options
144+
145+ self.param_card_iterator = [] #an placeholder containing a generator of paramcard for scanning
146
147 # usefull shortcut
148 self.status = pjoin(self.me_dir, 'status')
149@@ -1594,12 +1596,29 @@
150
151
152 def check_param_card(self, path, run=True):
153- """Check that all the width are define in the param_card.
154- If some width are set on 'Auto', call the computation tools."""
155+ """
156+ 1) Check that no scan parameter are present
157+ 2) Check that all the width are define in the param_card.
158+ - If a scan parameter is define. create the iterator and recall this fonction
159+ on the first element.
160+ - If some width are set on 'Auto', call the computation tools."""
161
162- pattern = re.compile(r'''decay\s+(\+?\-?\d+)\s+auto(@NLO|)''',re.I)
163+ pattern_scan = re.compile(r'''^(decay)?[\s\d]*scan''', re.I+re.M)
164+ pattern_width = re.compile(r'''decay\s+(\+?\-?\d+)\s+auto(@NLO|)''',re.I)
165 text = open(path).read()
166- pdg_info = pattern.findall(text)
167+
168+ if pattern_scan.search(text):
169+ if not isinstance(self, cmd.CmdShell):
170+ # we are in web mode => forbid scan due to security risk
171+ raise Exception, "Scan are not allowed in web mode"
172+ # at least one scan parameter found. create an iterator to go trough the cards
173+ main_card = check_param_card.ParamCardIterator(text)
174+ self.param_card_iterator = main_card
175+ first_card = main_card.next(autostart=True)
176+ first_card.write(path)
177+ return self.check_param_card(path, run)
178+
179+ pdg_info = pattern_width.findall(text)
180 if pdg_info:
181 if run:
182 logger.info('Computing the width set on auto in the param_card.dat')
183@@ -2622,6 +2641,7 @@
184 """ edit the value of one parameter in the card"""
185
186 args = self.split_arg(line)
187+ # fix some formatting problem
188 if '=' in args[-1]:
189 arg1, arg2 = args.pop(-1).split('=')
190 args += [arg1, arg2]
191@@ -2795,6 +2815,11 @@
192 ### PARAM_CARD WITH BLOCK NAME -----------------------------------------
193 elif (args[start] in self.param_card or args[start] == 'width') \
194 and card in ['','param_card']:
195+ #special treatment for scan
196+ if any(t.startswith('scan') for t in args):
197+ index = [i for i,t in enumerate(args) if t.startswith('scan')][0]
198+ args = args[:index] + [' '.join(args[index:])]
199+
200 if args[start] in self.conflict and card == '':
201 text = 'ambiguous name (present in more than one card). Please specify which card to edit'
202 text += ' in the format < set card parameter value>'
203@@ -2838,7 +2863,7 @@
204 text += "You need to match this expression for external program (such pythia)."
205 logger.warning(text)
206
207- if args[-1].lower() in ['default', 'auto', 'auto@nlo']:
208+ if args[-1].lower() in ['default', 'auto', 'auto@nlo'] or args[-1].startswith('scan'):
209 self.setP(args[start], key, args[-1])
210 else:
211 try:
212@@ -3029,6 +3054,18 @@
213 if block != 'decay':
214 logger.warning('Invalid input: \'Auto\' value only valid for DECAY')
215 return
216+ elif value.startswith('scan'):
217+ if ':' not in value:
218+ logger.warning('Invalid input: \'scan\' mode requires a \':\' before the definition.')
219+ return
220+ tag = value.split(':')[0]
221+ tag = tag[4:].strip()
222+ if tag and not tag.isdigit():
223+ logger.warning('Invalid input: scan tag need to be integer and not "%s"' % tag)
224+ return
225+
226+
227+ pass
228 else:
229 try:
230 value = float(value)
231
232=== modified file 'madgraph/interface/launch_ext_program.py'
233--- madgraph/interface/launch_ext_program.py 2015-10-01 16:00:08 +0000
234+++ madgraph/interface/launch_ext_program.py 2015-10-11 19:59:55 +0000
235@@ -481,7 +481,7 @@
236 assert hasattr(self, 'cluster')
237 assert hasattr(self, 'multicore')
238 assert hasattr(self, 'name')
239-# assert hasattr(self, 'shell')
240+ assert hasattr(self, 'shell')
241
242 self.unit = unit
243 self.run_mode = run_mode
244@@ -519,7 +519,8 @@
245 nb_node=max_node
246
247 import madgraph.interface.amcatnlo_run_interface as run_int
248- if hasattr(self, 'shell'):
249+
250+ if hasattr(self, 'shell') and self.shell:
251 usecmd = run_int.aMCatNLOCmdShell(me_dir=self.running_dir, options = self.cmd_int.options)
252 else:
253 usecmd = run_int.aMCatNLOCmd(me_dir=self.running_dir, options = self.cmd_int.options)
254@@ -542,7 +543,7 @@
255 usecmd, interface=False)
256 #launch.me_dir = self.running_dir
257 option_line = ' '.join([' --%s' % opt for opt in self.options.keys() \
258- if self.options[opt] and not opt in ['cluster', 'multicore', 'name', 'appl_start_grid']])
259+ if self.options[opt] and not opt in ['cluster', 'multicore', 'name', 'appl_start_grid','shell']])
260 if self.options['name']:
261 option_line += ' --name %s' % self.options['name']
262 if 'appl_start_grid' in self.options and self.options['appl_start_grid']:
263
264=== modified file 'madgraph/interface/madevent_interface.py'
265--- madgraph/interface/madevent_interface.py 2015-10-09 10:39:28 +0000
266+++ madgraph/interface/madevent_interface.py 2015-10-11 19:59:55 +0000
267@@ -2026,6 +2026,22 @@
268 self.exec_cmd('pythia --no_default', postcmd=False, printcmd=False)
269 # pythia launches pgs/delphes if needed
270 self.store_result()
271+
272+ if self.param_card_iterator:
273+ param_card_iterator = self.param_card_iterator
274+ self.param_card_iterator = []
275+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
276+ #check if the param_card defines a scan.
277+ orig_name = self.run_name
278+ for card in param_card_iterator:
279+ card.write(pjoin(self.me_dir,'Cards','param_card.dat'))
280+ self.exec_cmd("generate_events -f ",precmd=True, postcmd=True,errorhandling=False)
281+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
282+ param_card_iterator.write(pjoin(self.me_dir,'Cards','param_card.dat'))
283+ name = misc.get_scan_name(orig_name, self.run_name)
284+ path = pjoin(self.me_dir, 'Events','scan_%s.txt' % name)
285+ logger.info("write all cross-section results in %s" % path ,'$MG:color:BLACK')
286+ param_card_iterator.write_summary(path)
287
288 def do_initMadLoop(self,line):
289 """Compile and run MadLoop for a certain number of PS point so as to
290@@ -2322,9 +2338,11 @@
291 self.ask_run_configuration(mode)
292 main_name = self.run_name
293
294-
295-
296-
297+ # check if the param_card requires a scan over parameter.
298+ path=pjoin(self.me_dir, 'Cards', 'param_card.dat')
299+ self.check_param_card(path, run=False)
300+ #store it locally to avoid relaunch
301+ param_card_iterator, self.param_card_iterator = self.param_card_iterator, []
302
303 crossoversig = 0
304 inv_sq_err = 0
305@@ -2373,6 +2391,21 @@
306 self.update_status('', level='parton')
307 self.print_results_in_shell(self.results.current)
308
309+ if param_card_iterator:
310+
311+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
312+ #check if the param_card defines a scan.
313+ orig_name=self.run_name
314+ for card in param_card_iterator:
315+ card.write(pjoin(self.me_dir,'Cards','param_card.dat'))
316+ self.exec_cmd("multi_run %s -f " % nb_run ,precmd=True, postcmd=True,errorhandling=False)
317+ param_card_iterator.store_entry(self.run_name, self.results.current['cross'])
318+ param_card_iterator.write(pjoin(self.me_dir,'Cards','param_card.dat'))
319+ scan_name = misc.get_scan_name(orig_name, self.run_name)
320+ path = pjoin(self.me_dir, 'Events','scan_%s.txt' % scan_name)
321+ logger.info("write all cross-section results in %s" % path, '$MG:color:BLACK')
322+ param_card_iterator.write_summary(path)
323+
324
325 ############################################################################
326 def do_treatcards(self, line, mode=None, opt=None):
327
328=== modified file 'madgraph/interface/madgraph_interface.py'
329--- madgraph/interface/madgraph_interface.py 2015-10-01 16:00:08 +0000
330+++ madgraph/interface/madgraph_interface.py 2015-10-11 19:59:55 +0000
331@@ -5383,7 +5383,8 @@
332 options=self.options, **options)
333 elif args[0] == 'madevent':
334 if options['interactive']:
335- if hasattr(self, 'do_shell'):
336+
337+ if isinstance(self, cmd.CmdShell):
338 ME = madevent_interface.MadEventCmdShell(me_dir=args[1], options=self.options)
339 else:
340 ME = madevent_interface.MadEventCmd(me_dir=args[1],options=self.options)
341@@ -5403,12 +5404,12 @@
342
343 if len(generate_info.split('>')[0].strip().split())>1:
344 ext_program = launch_ext.MELauncher(args[1], self,
345- shell = hasattr(self, 'do_shell'),
346+ shell = isinstance(self, cmd.CmdShell),
347 options=self.options,**options)
348 else:
349 # This is a width computation
350 ext_program = launch_ext.MELauncher(args[1], self, unit='GeV',
351- shell = hasattr(self, 'do_shell'),
352+ shell = isinstance(self, cmd.CmdShell),
353 options=self.options,**options)
354
355 elif args[0] == 'pythia8':
356@@ -5416,7 +5417,7 @@
357
358 elif args[0] == 'aMC@NLO':
359 if options['interactive']:
360- if hasattr(self, 'do_shell'):
361+ if isinstance(self, cmd.CmdShell):
362 ME = amcatnlo_run.aMCatNLOCmdShell(me_dir=args[1], options=self.options)
363 else:
364 ME = amcatnlo_run.aMCatNLOCmd(me_dir=args[1],options=self.options)
365@@ -5427,11 +5428,13 @@
366 ME.exec_cmd(line)
367 stop = self.define_child_cmd_interface(ME)
368 return stop
369- ext_program = launch_ext.aMCatNLOLauncher( args[1], self, **options)
370+ ext_program = launch_ext.aMCatNLOLauncher( args[1], self,
371+ shell = isinstance(self, cmd.CmdShell),
372+ **options)
373 elif args[0] == 'madweight':
374 import madgraph.interface.madweight_interface as madweight_interface
375 if options['interactive']:
376- if hasattr(self, 'do_shell'):
377+ if isinstance(self, cmd.CmdShell):
378 MW = madweight_interface.MadWeightCmdShell(me_dir=args[1], options=self.options)
379 else:
380 MW = madweight_interface.MadWeightCmd(me_dir=args[1],options=self.options)
381@@ -5442,7 +5445,7 @@
382 stop = self.define_child_cmd_interface(MW)
383 return stop
384 ext_program = launch_ext.MWLauncher( self, args[1],
385- shell = hasattr(self, 'do_shell'),
386+ shell = isinstance(self, cmd.CmdShell),
387 options=self.options,**options)
388 else:
389 os.chdir(start_cwd) #ensure to go to the initial path
390
391=== modified file 'madgraph/interface/reweight_interface.py'
392--- madgraph/interface/reweight_interface.py 2015-10-09 10:39:28 +0000
393+++ madgraph/interface/reweight_interface.py 2015-10-11 19:59:55 +0000
394@@ -369,22 +369,36 @@
395 rw_dir = pjoin(path_me, 'rw_me_second')
396 else:
397 rw_dir = pjoin(path_me, 'rw_me')
398-
399- ff = open(pjoin(rw_dir,'Cards', 'param_card.dat'), 'w')
400- ff.write(self.banner['slha'])
401- ff.close()
402- ff = open(pjoin(path_me, 'rw_me','Cards', 'param_card_orig.dat'), 'w')
403- ff.write(self.banner['slha'])
404- ff.close()
405- cmd = common_run_interface.CommonRunCmd.ask_edit_card_static(cards=['param_card.dat'],
406+
407+ if not '--keep_card' in args:
408+ ff = open(pjoin(rw_dir,'Cards', 'param_card.dat'), 'w')
409+ ff.write(self.banner['slha'])
410+ ff.close()
411+ ff = open(pjoin(path_me, 'rw_me','Cards', 'param_card_orig.dat'), 'w')
412+ ff.write(self.banner['slha'])
413+ ff.close()
414+ cmd = common_run_interface.CommonRunCmd.ask_edit_card_static(cards=['param_card.dat'],
415 ask=self.ask, pwd=rw_dir, first_cmd=self.stored_line)
416- self.stored_line = None
417- #self.define_child_cmd_interface(cmd, interface=False)
418- new_card = open(pjoin(rw_dir, 'Cards', 'param_card.dat')).read()
419+ self.stored_line = None
420+
421+ # check for potential scan in the new card
422+ new_card = open(pjoin(rw_dir, 'Cards', 'param_card.dat')).read()
423+ pattern_scan = re.compile(r'''^[\s\d]*scan''', re.I+re.M)
424+ param_card_iterator = []
425+ if pattern_scan.search(new_card):
426+ if not isinstance(self.mother, cmd.CmdShell):
427+ raise Exception, "scan are not allowed on the Web"
428+ # at least one scan parameter found. create an iterator to go trough the cards
429+ main_card = check_param_card.ParamCardIterator(new_card)
430+
431+ param_card_iterator = main_card
432+ first_card = param_card_iterator.next(autostart=True)
433+ new_card = first_card.write()
434+ first_card.write(pjoin(rw_dir, 'Cards', 'param_card.dat'))
435 # check if "Auto" is present for a width parameter
436 if "auto" in new_card.lower():
437- self.mother.check_param_card(pjoin(path_me, 'rw_me', 'Cards', 'param_card.dat'))
438- new_card = open(pjoin(rw_dir, 'Cards', 'param_card.dat')).read()
439+ self.mother.check_param_card(pjoin(rw_dir, 'Cards', 'param_card.dat'))
440+ new_card = open(pjoin(rw_dir, 'Cards', 'param_card.dat')).read()
441
442 # Find new tag in the banner and add information if needed
443 if 'initrwgt' in self.banner:
444@@ -614,6 +628,13 @@
445 self.terminate_fortran_executables(new_card_only=True)
446 #store result
447 self.all_cross_section[rewgtid] = (cross, error)
448+
449+ # perform the scanning
450+ if param_card_iterator:
451+ for card in param_card_iterator:
452+ card.write(pjoin(rw_dir, 'Cards', 'param_card.dat'))
453+ self.exec_cmd("launch --keep_card", printcmd=False, precmd=True)
454+
455
456 def do_set(self, line):
457 "Not in help"
458
459=== modified file 'madgraph/iolibs/export_cpp.py'
460--- madgraph/iolibs/export_cpp.py 2015-10-01 16:00:08 +0000
461+++ madgraph/iolibs/export_cpp.py 2015-10-11 19:59:55 +0000
462@@ -1104,7 +1104,6 @@
463 self.version = opts['version']
464 del opts['version']
465 else:
466- misc.sprint(opts)
467 self.version='8.2'
468 super(ProcessExporterPythia8, self).__init__(*args, **opts)
469
470@@ -1995,6 +1994,10 @@
471 replace_dict['print_dependent_couplings'] = \
472 self.write_print_parameters(self.coups_dep.values())
473
474+ if 'include_prefix' not in replace_dict:
475+ replace_dict['include_prefix'] = ''
476+
477+
478 file_h = read_template_file(self.param_template_h) % \
479 replace_dict
480 file_cc = read_template_file(self.param_template_cc) % \
481@@ -2227,7 +2230,6 @@
482
483 if not main_file_name:
484 num = 1
485- misc.sprint(filepath)
486 while os.path.exists(os.path.join(filepath,
487 'main_%s_%i.cc' % (exporter.model_name, num))) or \
488 os.path.exists(os.path.join(filepath,
489@@ -2410,7 +2412,6 @@
490 if self.default_replace_dict['version'] == "8.2":
491 path = 'pythia8.2_makefile.inc'
492 else:
493- misc.sprint(self.default_replace_dict['version'])
494 path = 'pythia8_makefile.inc'
495 makefile = read_template_file(path) % replace_dict
496
497
498=== modified file 'madgraph/madevent/gen_ximprove.py'
499--- madgraph/madevent/gen_ximprove.py 2015-10-01 16:00:08 +0000
500+++ madgraph/madevent/gen_ximprove.py 2015-10-11 19:59:55 +0000
501@@ -151,7 +151,6 @@
502 (stdout, _) = p.communicate('')
503
504 if os.path.exists(pjoin(self.me_dir,'error')):
505- misc.sprint(open(pjoin(self.me_dir,'error')).read())
506 files.mv(pjoin(self.me_dir,'error'), pjoin(Pdir,'ajob.no_ps.log'))
507 P_zero_result.append(subdir)
508 continue
509
510=== modified file 'madgraph/various/misc.py'
511--- madgraph/various/misc.py 2015-10-01 16:00:08 +0000
512+++ madgraph/various/misc.py 2015-10-11 19:59:55 +0000
513@@ -319,6 +319,33 @@
514 return deco_retry
515
516 #===============================================================================
517+# helper for scan. providing a nice formatted string for the scan name
518+#===============================================================================
519+def get_scan_name(first, last):
520+ """return a name of the type xxxx[A-B]yyy
521+ where xxx and yyy are the common part between the two names.
522+ """
523+
524+ # find the common string at the beginning
525+ base = [first[i] for i in range(len(first)) if first[:i+1] == last[:i+1]]
526+ # remove digit even if in common
527+ while base[-1].isdigit():
528+ base = base[:-1]
529+ # find the common string at the end
530+ end = [first[-(i+1)] for i in range(len(first)) if first[-(i+1):] == last[-(i+1):]]
531+ # remove digit even if in common
532+ while end and end[-1].isdigit():
533+ end = end[:-1]
534+ end.reverse()
535+ #convert to string
536+ base, end = ''.join(base), ''.join(end)
537+ if end:
538+ name = "%s[%s-%s]%s" % (base, first[len(base):-len(end)], last[len(base):-len(end)],end)
539+ else:
540+ name = "%s[%s-%s]%s" % (base, first[len(base):], last[len(base):],end)
541+ return name
542+
543+#===============================================================================
544 # Compiler which returns smart output error in case of trouble
545 #===============================================================================
546 def compile(arg=[], cwd=None, mode='fortran', job_specs = True, nb_core=1 ,**opt):
547
548=== modified file 'models/check_param_card.py'
549--- models/check_param_card.py 2015-10-01 16:00:08 +0000
550+++ models/check_param_card.py 2015-10-11 19:59:55 +0000
551@@ -1,7 +1,11 @@
552 from __future__ import division
553+
554+import itertools
555 import xml.etree.ElementTree as ET
556 import math
557+import StringIO
558 import os
559+import re
560 import shutil
561 import logging
562
563@@ -55,6 +59,9 @@
564
565
566 data = data.split()
567+ if any(d.startswith('scan') for d in data):
568+ position = [i for i,d in enumerate(data) if d.startswith('scan')][0]
569+ data = data[:position] + [' '.join(data[position:])]
570 if not len(data):
571 return
572 try:
573@@ -98,7 +105,14 @@
574 def __str__(self):
575 """ return a SLAH string """
576
577+ format = self.format
578 if self.format == 'float':
579+ try:
580+ value = float(self.value)
581+ except:
582+ format = 'str'
583+
584+ if format == 'float':
585 if self.lhablock == 'decay' and not isinstance(self.value,basestring):
586 return 'DECAY %s %e # %s' % (' '.join([str(d) for d in self.lhacode]), self.value, self.comment)
587 elif self.lhablock == 'decay':
588@@ -107,11 +121,11 @@
589 return ' %s %i # %s' % (' '.join([str(d) for d in self.lhacode]), int(self.value), self.comment)
590 else:
591 return ' %s %e # %s' % (' '.join([str(d) for d in self.lhacode]), self.value, self.comment)
592- elif self.format == 'int':
593+ elif format == 'int':
594 return ' %s %i # %s' % (' '.join([str(d) for d in self.lhacode]), int(self.value), self.comment)
595- elif self.format == 'str':
596+ elif format == 'str':
597 if self.lhablock == 'decay':
598- return 'DECAY %s Auto # %s' % (' '.join([str(d) for d in self.lhacode]), self.comment)
599+ return 'DECAY %s %s # %s' % (' '.join([str(d) for d in self.lhacode]),self.value, self.comment)
600 return ' %s %s # %s' % (' '.join([str(d) for d in self.lhacode]), self.value, self.comment)
601 elif self.format == 'decay_table':
602 return ' %e %s # %s' % ( self.value,' '.join([str(d) for d in self.lhacode]), self.comment)
603@@ -274,8 +288,7 @@
604 self.order = []
605
606 if isinstance(input_path, ParamCard):
607- self.order = list(input_path.order)
608- self.update(input_path)
609+ self.read(input_path.write())
610 self.input_path = input_path.input_path
611 else:
612 self.input_path = input_path
613@@ -286,7 +299,10 @@
614 """ read a card and full this object with the content of the card """
615
616 if isinstance(input_path, str):
617- input = open(input_path)
618+ if '\n' in input_path:
619+ input = StringIO.StringIO(input_path)
620+ else:
621+ input = open(input_path)
622 else:
623 input = input_path #Use for banner loading and test
624
625@@ -342,7 +358,7 @@
626
627 return self
628
629- def write(self, outpath):
630+ def write(self, outpath=None):
631 """schedular for writing a card"""
632
633 # order the block in a smart way
634@@ -566,6 +582,111 @@
635 variable, ('%e' % value)))
636
637
638+
639+class ParamCardIterator(ParamCard):
640+ """A class keeping track of the scan: flag in the param_card and
641+ having an __iter__() function to scan over all the points of the scan.
642+ """
643+
644+ logging = True
645+ def __init__(self, input_path=None):
646+ super(ParamCardIterator, self).__init__(input_path=input_path)
647+ self.itertag = [] #all the current value use
648+ self.cross = [] # keep track of all the cross-section computed
649+ self.param_order = []
650+
651+ def __iter__(self):
652+ """generate the next param_card (in a abstract way) related to the scan.
653+ Technically this generates only the generator."""
654+
655+ if hasattr(self, 'iterator'):
656+ return self.iterator
657+ self.iterator = self.iterate()
658+ return self.iterator
659+
660+ def next(self, autostart=False):
661+ """call the next iteration value"""
662+ try:
663+ iterator = self.iterator
664+ except:
665+ if autostart:
666+ iterator = self.__iter__()
667+ else:
668+ raise
669+ try:
670+ out = iterator.next()
671+ except StopIteration:
672+ del self.iterator
673+ raise
674+ return out
675+
676+ def iterate(self):
677+ """create the actual generator"""
678+ all_iterators = {} # dictionary of key -> block of object to scan [([param, [values]), ...]
679+ auto = 'Auto'
680+ pattern = re.compile(r'''scan\s*(?P<id>\d*)\s*:\s*(?P<value>[^#]*)''', re.I)
681+ # First determine which parameter to change and in which group
682+ # so far only explicit value of the scan (no lambda function are allowed)
683+ for block in self.order:
684+ for param in block:
685+ if isinstance(param.value, str) and param.value.strip().lower().startswith('scan'):
686+ try:
687+ key, def_list = pattern.findall(param.value)[0]
688+ except:
689+ raise Exception, "Fail to handle scanning tag: Please check that the syntax is valid"
690+ if key == '':
691+ key = -1 * len(all_iterators)
692+ if key not in all_iterators:
693+ all_iterators[key] = []
694+ try:
695+ all_iterators[key].append( (param, eval(def_list)))
696+ except SyntaxError:
697+ raise Exception, "Fail to handle your scan definition. Please check your syntax."
698+
699+ keys = all_iterators.keys() # need to fix an order for the scan
700+ param_card = ParamCard(self)
701+ #store the type of parameter
702+ for key in keys:
703+ for param, values in all_iterators[key]:
704+ self.param_order.append("%s#%s" % (param.lhablock, '_'.join(`i` for i in param.lhacode)))
705+
706+ # do the loop
707+ lengths = [range(len(all_iterators[key][0][1])) for key in keys]
708+ for positions in itertools.product(*lengths):
709+ self.itertag = []
710+ if self.logging:
711+ logger.info("Create the next param_card in the scan definition", '$MG:color:BLACK')
712+ for i, pos in enumerate(positions):
713+ key = keys[i]
714+ for param, values in all_iterators[key]:
715+ # assign the value in the card.
716+ param_card[param.lhablock].get(param.lhacode).value = values[pos]
717+ self.itertag.append(values[pos])
718+ if self.logging:
719+ logger.info("change parameter %s with code %s to %s", \
720+ param.lhablock, param.lhacode, values[pos])
721+ # retrun the current param_card up to next iteration
722+ yield param_card
723+
724+
725+ def store_entry(self, run_name, cross):
726+ """store the value of the cross-section"""
727+ self.cross.append({'bench' : self.itertag, 'run_name': run_name, 'cross':cross})
728+
729+
730+ def write_summary(self, path):
731+ """ """
732+
733+ ff = open(path, 'w')
734+ ff.write("#%-19s %-20s %-20s\n" % ('run_name',' '.join(self.param_order), 'cross(pb)'))
735+ for info in self.cross:
736+ bench = [str(p) for p in info['bench']]
737+ cross = info['cross']
738+ name = info['run_name']
739+ ff.write("%-20s %-20s %-20s \n" % (name,' '.join(bench) ,cross))
740+ #ff.write("%s %s %s \n" % (name,' '.join(bench) ,cross))
741+
742+
743 class ParamCardRule(object):
744 """ A class for storing the linked between the different parameter of
745 the param_card.
746
747=== modified file 'tests/acceptance_tests/test_cmd_amcatnlo.py'
748--- tests/acceptance_tests/test_cmd_amcatnlo.py 2015-10-01 16:00:08 +0000
749+++ tests/acceptance_tests/test_cmd_amcatnlo.py 2015-10-11 19:59:55 +0000
750@@ -204,7 +204,7 @@
751 card = open('%s/Cards/run_card_default.dat' % self.path).read()
752 # this check that the value of lpp/beam are change automatically
753 self.assertTrue('0 = lpp1' in card)
754- self.assertTrue('500 = ebeam' in card)
755+ self.assertTrue('500.0 = ebeam' in card)
756 # pass to the object
757 card = banner.RunCardNLO(card)
758 card['pdlabel'] = "lhapdf"
759
760=== modified file 'tests/input_files/IOTestsComparison/IOExportV4IOTest/export_matrix_element_v4_madevent_group/super_auto_dsig.f'
761--- tests/input_files/IOTestsComparison/IOExportV4IOTest/export_matrix_element_v4_madevent_group/super_auto_dsig.f 2015-04-09 16:14:38 +0000
762+++ tests/input_files/IOTestsComparison/IOExportV4IOTest/export_matrix_element_v4_madevent_group/super_auto_dsig.f 2015-10-11 19:59:55 +0000
763@@ -345,11 +345,6 @@
764 C Reset ALLOW_HELICITY_GRID_ENTRIES
765 ALLOW_HELICITY_GRID_ENTRIES = .TRUE.
766
767- IF(GROUPED_MC_GRID_STATUS.GE.1) THEN
768- CALL MAP_3_TO_1(ICONF,IPROC,IMIRROR,MAXSPROC,2,LMAPPED)
769- CALL DS_ADD_ENTRY('grouped_processes',LMAPPED,(DSIG/SELPROC(IMI
770- $ RROR,IPROC,ICONF)))
771- ENDIF
772
773 IF(DSIG.GT.0D0)THEN
774 C Update summed weight and number of events
775
776=== modified file 'tests/input_files/LoopSMEWTest/object_library.py'
777--- tests/input_files/LoopSMEWTest/object_library.py 2015-10-01 16:00:08 +0000
778+++ tests/input_files/LoopSMEWTest/object_library.py 2015-10-11 19:59:55 +0000
779@@ -294,7 +294,7 @@
780 #else:
781 def substitution(matchedObj):
782 return matchedObj.group('first')+"("+ctpar.pole(x)+")"+matchedObj.group('second')
783- pattern=re.compile(r"(?P<first>\A|\*|\+|\-|\(|\s)(?P<name>"+ctpar.name+r")(?P<second>\Z|\*|\+|\-|\)|/|\\|\s)")
784+ pattern=re.compile(r"(?P<first>\A|\*|\+|\-|\(|\s)(?P<name>"+ctpar.name+r")(?P<second>\Z|\*|\+|\-|\)|/|\\|\s)")
785 tempvalue2 = tempvalue
786 tempvalue = pattern.sub(substitution,tempvalue)
787 num = numbermatch[i]-1
788
789=== modified file 'tests/time_db'
790--- tests/time_db 2015-08-16 22:19:30 +0000
791+++ tests/time_db 2015-10-11 19:59:55 +0000
792@@ -1,5 +1,4 @@
793 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasDiagramTest testMethod=test_setget_diagram_exceptions>]> 0.000161170959473
794-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_merge_iden_couplings>]> 0.0879130363464
795 <__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_edit_card.TestEditCardCmd testMethod=test_modif_madweight_card>]> 0.015398979187
796 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_invalid_operations_for_add>]> 0.0435810089111
797 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_remove_line>]> 8.89301300049e-05
798@@ -26,6 +25,7 @@
799 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_setget_process_correct>]> 0.000885009765625
800 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_diquark_models.TestColorSextetModel testMethod=test_check_u_u_six_g>]> 0.506669998169
801 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ModelTest testMethod=test_check_majoranas>]> 0.00102400779724
802+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_check_param_card.TestParamCardIterator testMethod=test_paramcard_scan>]> 0.0014591217041
803 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_helas_objects.testFKSHelasObjects testMethod=test_fks_helas_multi_process_ppwj>]> 9.92277693748
804 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_drawing_eps.TestDrawingS_EPS testMethod=test_schedular>]> 0.184823036194
805 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_coloramps_file_EW>]> 0.00352311134338
806@@ -39,6 +39,7 @@
807 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorStringTest testMethod=test_simplify>]> 0.000159025192261
808 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_cpp.IOExportPythia8Test testMethod=test_write_process_cc_file>]> 0.0698401927948
809 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_gg_hh_QCD>]> 0.00105404853821
810+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_combine_legs_uux_uuxuux>]> 0.00294399261475
811 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopDiagramGenerationTest testMethod=test_diagram_generation_gg_ng>]> 1.61963582039
812 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_sm>]> 6.53617286682
813 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_put_parameters_to_zero>]> 0.0871658325195
814@@ -52,6 +53,7 @@
815 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_epem_elpelmepem>]> 0.0915629863739
816 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.test_aloha_creation testMethod=test_aloha_FFVC>]> 0.0635468959808
817 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayAmplitude testMethod=test_group_channels2amplitudes>]> 0.346367835999
818+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_detect_special_parameters>]> 0.0848360061646
819 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_file_writers.FortranWriterTest testMethod=test_write_fortran_error>]> 0.000140190124512
820 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.InteractionTest testMethod=test_interaction_list>]> 0.000237941741943
821 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DecayChainAmplitudeTest testMethod=test_decay_chain_pp_jj>]> 0.284907102585
822@@ -69,6 +71,7 @@
823 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_mg5_sm_23_p1>]> 502.181219816
824 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestVariable testMethod=testmultvarvar>]> 6.98566436768e-05
825 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_helas_objects.testFKSHelasObjects testMethod=test_fks_helas_process_init>]> 1.48353791237
826+<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMECmdShell testMethod=test_width_computation>]> 13.0126650333
827 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_check_param_card.TestBlock testMethod=test_block_load_string>]> 6.07967376709e-05
828 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.MultiLegTest testMethod=test_setget_multi_leg_exceptions>]> 0.0001060962677
829 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_write_param.TestParamWritting testMethod=test_define_not_dep_param>]> 0.0775101184845
830@@ -84,7 +87,6 @@
831 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_def_level>]> 8.58306884766e-05
832 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_rambo.test_wavefunctions testMethod=test_V>]> 0.000189065933228
833 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_dxd_wpwm_QED>]> 0.00110411643982
834-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_setget_matrix_element_exceptions>]> 0.00100207328796
835 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5MSSMQCD.ML5MSSMQCDTest testMethod=test_long_mssm_vs_stored_HCR_uux_t1t1xg_QCD>]> 167.044816017
836 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_short_ML5_sm_vs_stored_ML5>]> 148.365936041
837 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testsumaddadd>]> 0.000109910964966
838@@ -156,7 +158,6 @@
839 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=test_factorization5>]> 0.000308036804199
840 <__main__.TestSuiteModified tests=[<tests.unit_tests.madspin.test_madspin.TestBanner testMethod=test_get_final_state_particle>]> 0.134166002274
841 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_helas_objects.LoopHelasMatrixElementTest testMethod=test_helas_diagrams_gd_ggd>]> 0.405319929123
842-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=test_obj_are_not_modified>]> 0.000224113464355
843 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_multiple_lorentz_structures_with_decay_chain_and_fermion_flow>]> 0.0173728466034
844 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_multiple_lorentz_structures_with_decay_chain>]> 0.0154418945312
845 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_find_vertex_at_level>]> 0.00156879425049
846@@ -184,7 +185,6 @@
847 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_full_sm_aloha>]> 1.30430817604
848 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestBenchmarkModel testMethod=test_use_as_benchmark>]> 0.165615081787
849 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_base.TestFKSProcess testMethod=test_FKSMultiProcess_add>]> 0.199738025665
850-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML4_gg_httx>]> 33.0537629128
851 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_combine_legs_gluons>]> 0.00331091880798
852 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_maxconfigs_EW>]> 0.004723072052
853 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_helas_objects.testFKSHelasObjects testMethod=test_fks_helas_multi_process_ppz_loonly>]> 0.107840061188
854@@ -212,10 +212,11 @@
855 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_fermionfactor_emep_emepa>]> 0.0428278446198
856 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_configs_long_decay>]> 0.0534508228302
857 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_read_param_card>]> 2.07473993301
858+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_diquark_models.TestColorSextetModel testMethod=test_uu_to_six_g>]> 0.172813892365
859 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_usermod.TestModUFO testMethod=test_write_orders>]> 0.00100803375244
860 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_gauge.GaugeComparator testMethod=test_short_cross_gauge>]> 115.8441329
861 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_detect_identical_parameters>]> 0.0867898464203
862-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_check_param_card.TestParamCardRule testMethod=test_write>]> 7.00950622559e-05
863+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_setget_process_exceptions>]> 0.000932931900024
864 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_begin_end_wrong_input>]> 0.000144958496094
865 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_write_param.TestParamWrittingWithRestrict testMethod=test_full_write>]> 0.0754480361938
866 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_model_equivalence.CompareMG4WithUFOModel testMethod=test_sm_equivalence>]> 0.110821008682
867@@ -236,7 +237,6 @@
868 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.ExportV4IOTest testMethod=test_export_matrix_element_v4_standalone>]> 0.0386159420013
869 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_pythonwriter>]> 0.0264060497284
870 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMultiProcessTest testMethod=test_complete_decay_chain_process>]> 0.748803853989
871-<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_output_standalone_directory>]> 8.03073692322
872 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_generate_events_nlo_hw6_split>]> 85.3567028046
873 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_horizontal_mode>]> 0.00118708610535
874 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestNFlav testMethod=test_get_nflav_sm_nobmass>]> 0.0748410224915
875@@ -245,6 +245,7 @@
876 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testsummultadd>]> 0.000144004821777
877 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_drawing.TestLoopDrawer testMethod=test_NLO_draw_all_reconstructed_gg_gg>]> 0.0375239849091
878 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_generate_events_lo_hw6_stdhep>]> 95.5102880001
879+<__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestLinkRBConfSM testMethod=test_link_udxwpg_udxwp>]> 0.0118889808655
880 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_drawing.TestLoopDrawer testMethod=test_NLO_draw_uux_guux>]> 0.0011990070343
881 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.test_aloha_creation testMethod=test_aloha_multiple_lorentz_and_symmetry>]> 0.0302782058716
882 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DecayChainAmplitudeTest testMethod=test_setget_process_exceptions>]> 0.000777006149292
883@@ -292,7 +293,7 @@
884 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_cpp.IOExportPythia8Test testMethod=test_write_dec_multiprocess_files>]> 0.481742143631
885 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_amcatnlo_from_file>]> 71.3001720905
886 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestAddVariable testMethod=test_short_factorization>]> 0.000678062438965
887-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMultiProcessTest testMethod=test_decay_chain_process_overall_orders>]> 0.876585006714
888+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_pythonwriter_complex_mass_scheme>]> 0.095272064209
889 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_merge_identical_parameters>]> 0.0875990390778
890 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_phi4_vertex>]> 0.000259876251221
891 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ModelTest testMethod=test_dictionaries>]> 0.000564098358154
892@@ -351,7 +352,6 @@
893 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_to_fks_leg_s>]> 0.00046181678772
894 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_hasintersection>]> 0.00135803222656
895 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopEWDiagramGenerationTest testMethod=test_diagram_generation_hh_hhh_EW>]> 179.770503998
896-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_uux_zzz>]> 28.6060318947
897 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_load_feynman>]> 0.416143894196
898 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_gauge.GaugeComparator testMethod=test_gauge_4_e500>]> 21.2130401134
899 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestBenchmarkModel testMethod=test_model_name>]> 0.19921207428
900@@ -381,17 +381,17 @@
901 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_uux_uuxuux>]> 0.461228847504
902 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_helas_call_writers.UFOHELASCALLWriterComplexMass testMethod=test_UFO_Python_helas_call_writer>]> 0.197067022324
903 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_split_evt_gen>]> 82.7131781578
904+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_epem_ttxg_QED>]> 0.00109791755676
905 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_check_ppwy>]> 41.3791599274
906 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_python.IOExportPythonTest testMethod=test_python_export_functions>]> 0.0172030925751
907 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestSomeObjectProperty testMethod=test_short_Pslashproperty>]> 0.0238058567047
908 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.test_aloha_creation testMethod=test_aloha_expr_VVS1>]> 0.028205871582
909 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_restrict_from_a_param_card>]> 0.106390953064
910-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.IOExportV4Test testMethod=test_export_group_multidiagram_decay_chains>]> 0.431716918945
911+<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_heft>]> 10.1859381199
912 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_find_color_links>]> 0.00164699554443
913 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_hh_hh_QED>]> 0.00143194198608
914 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_ZPZZ>]> 0.0636489391327
915 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorFactorTest testMethod=test_gluons>]> 0.00796890258789
916-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_uux_wpwmbbx>]> 61.837485075
917 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_check_ppzjj>]> 100.601984024
918 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_link_to_ufo.TestUFOExpressionParsers testMethod=test_parse_to_cpp>]> 0.0238230228424
919 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_gauge.GaugeComparatorLoop testMethod=test_gauge_loop_p1>]> 427.859879017
920@@ -423,7 +423,6 @@
921 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_helas_call_writers.UFOHELASCALLWriterComplexMass testMethod=test_UFO_fortran_helas_call_writer>]> 0.194958925247
922 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestVariable testMethod=test_power>]> 0.000131845474243
923 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_aa_ttxa_QED>]> 0.00152993202209
924-<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_cross_loop_induced>]> 50.1276230812
925 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_VVS>]> 0.0257358551025
926 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_domainintersection>]> 0.000596046447754
927 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_group_subprocs.SubProcessGroupTest testMethod=test_group_subprocs_and_get_diagram_maps>]> 0.33548283577
928@@ -460,6 +459,7 @@
929 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_zz_n1n1>]> 0.0138208866119
930 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_create_all_pickle>]> 40.2653810978
931 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_ij_lines>]> 0.0146369934082
932+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.IOExportV4Test testMethod=test_export_matrix_element_v4_madevent_nogroup>]> 0.109572172165
933 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_base.TestFKSProcess testMethod=test_find_reals>]> 0.0384328365326
934 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.security_issue.TestSecurity testMethod=test_security_scan>]> 0.276997804642
935 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_generate_helas_diagrams_ea_ae>]> 0.010556936264
936@@ -474,7 +474,7 @@
937 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_Fortranwriter_spin3half>]> 0.154531002045
938 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_madweight.TestMadWeight testMethod=test_short_mw_wa_refine>]> 11.0905270576
939 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_change_number_format_cpp>]> 0.000547170639038
940-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testmultaddvar_legacy>]> 0.00015115737915
941+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=testIO_test_pptt_fksreal>]> 13.9149849415
942 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_nfksconfigs_file>]> 0.0158369541168
943 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ModelTest testMethod=test_ref_dict_multiple_interactions>]> 0.000741004943848
944 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestVariable testMethod=test_short_power>]> 0.000148057937622
945@@ -487,6 +487,7 @@
946 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_enu_enu>]> 0.008131980896
947 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.ExportV4IOTest testMethod=test_coeff_string>]> 0.028568983078
948 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_ufo_parsers.UFOParserTest testMethod=test_parse_fortran_IfElseStruct_MP>]> 0.0654561519623
949+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasAmplitudeTest testMethod=test_setget_amplitude_exceptions>]> 0.000211000442505
950 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_gauge.GaugeComparatorLoop testMethod=test_short_gauge_loop>]> 37.5182161331
951 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_get_base_amplitude>]> 0.140361070633
952 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_banner.TESTMadLoopParam testMethod=test_sum_object>]> 0.000658988952637
953@@ -497,19 +498,17 @@
954 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_matrix_4g_decay_chain_process>]> 0.395421028137
955 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_save_model.IOSaveModel testMethod=test_error_particle_save>]> 4.19616699219e-05
956 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_uu_susug>]> 0.0533299446106
957-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_ea_ae>]> 0.0131080150604
958 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_define_order>]> 0.214026927948
959 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_python_routine_are_exec>]> 0.00516891479492
960-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_domain_intersection>]> 0.000416040420532
961+<__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSDiagramTag testMethod=test_diagram_tag_gg_ggg>]> 0.128249883652
962 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.test_aloha_creation testMethod=test_aloha_expr_FFFF3>]> 0.325031042099
963 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayParticle testMethod=test_get_max_level>]> 0.132587909698
964-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_fermion_flow>]> 0.00178098678589
965+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_isexternal>]> 0.000101089477539
966 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_shower_card.TestShowerCard testMethod=test_shower_card_hwpp>]> 0.000180959701538
967 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_multiparticle_pp_nj>]> 0.145397901535
968 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopEWDiagramGenerationTest testMethod=test_diagram_generation_uux_ga_EW>]> 15.2475500107
969 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_import_v4.IOImportV4Test testMethod=test_read_particles>]> 0.000508069992065
970 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ModelTest2 testMethod=test_change_to_complex_mass_scheme>]> 0.152688980103
971-<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_launch_amcatnlo_name>]> 49.5285630226
972 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_custom_propa>]> 1.53734087944
973 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_save_model.IOSaveModel testMethod=test_particle_save>]> 0.000370025634766
974 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_uux_wpwmz>]> 34.1628520489
975@@ -526,7 +525,6 @@
976 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestLorentzObjectRepresentation testMethod=testspinsum>]> 0.00285291671753
977 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_standalone_cpp>]> 12.2329871655
978 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopDiagramGenerationTest testMethod=test_diagram_generation_epem_ddx>]> 0.67814207077
979-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_particles_type>]> 1.96593403816
980 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_udx_htbx>]> 12.6998720169
981 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestLinkRBConfHEFT testMethod=test_link_gghgg_gghg>]> 0.115737915039
982 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_WWWW>]> 0.0192968845367
983@@ -589,6 +587,7 @@
984 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestSomeObjectProperty testMethod=test_short_other>]> 4.91142272949e-05
985 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_generate_events_lo_hw6_set>]> 45.5628159046
986 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_gg_zccx>]> 41.9109280109
987+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestVariable testMethod=testmultvarAdd>]> 0.000159025192261
988 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_born_fks>]> 0.057590007782
989 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_find_mssm_decay_groups>]> 7.51800894737
990 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopDiagramGenerationTest testMethod=test_diagram_generation_uux_ddx>]> 2.72820210457
991@@ -623,12 +622,13 @@
992 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_generate_events_lo_hw6_set>]> 102.896171808
993 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_helas_diagrams_gg_gogo_go_tt1x_t_wpb>]> 0.0463981628418
994 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayParticle testMethod=test_find_vertexlist>]> 0.113565921783
995-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_uux_ga_QCD_QED>]> 0.00132417678833
996+<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_calculate_xsect_script>]> 30.6620099545
997+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_heft_multiparticle_pp_hnj>]> 0.326533079147
998 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_save_load>]> 1.68547606468
999 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopDiagramFDStructTest testMethod=test_gg_5gglgl_bubble_tag>]> 0.00427198410034
1000-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_detect_special_parameters>]> 0.0848360061646
1001+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_ea_ae>]> 0.0131080150604
1002 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.IOExportV4Test testMethod=test_coeff_string>]> 0.0342230796814
1003-<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_calculate_xsect_script>]> 30.6620099545
1004+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=test_mass_overmass>]> 0.00163412094116
1005 <__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_mg5_sm_13>]> 41.2373769283
1006 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMEfromPdirectory testMethod=test_run_fromP>]> 21.0784730911
1007 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML4_gg_attx>]> 40.257420063
1008@@ -666,8 +666,8 @@
1009 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestLorentzObjectRepresentation testMethod=test_split>]> 0.00737619400024
1010 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_pdf_file_EW>]> 5.29289245605e-05
1011 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_expr_FFFF3>]> 0.317361831665
1012-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_setget_process_exceptions>]> 0.000932931900024
1013-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_find_mssm_decay_groups_modified_mssm_general>]> 8.70347595215
1014+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_check_param_card.TestParamCardRule testMethod=test_write>]> 7.00950622559e-05
1015+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorObjectTest testMethod=test_delta6_simplify>]> 8.51154327393e-05
1016 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_def_position>]> 0.000124931335449
1017 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_banner.TestConfigFileCase testMethod=test_sum_object>]> 0.000125885009766
1018 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_F77writer_feynman>]> 0.027764081955
1019@@ -675,23 +675,22 @@
1020 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_sborn_sf>]> 0.00146198272705
1021 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_madevent_subproc_group>]> 9.28846502304
1022 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ProcessDefinitionTest testMethod=test_setget_process_definition_correct>]> 0.000485897064209
1023+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_uux_ga_QCD_QED>]> 0.00132417678833
1024 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_output_madevent_directory>]> 16.0076999664
1025 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_aloha_get_name>]> 0.030855178833
1026 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=test_spin2propagator3>]> 0.0653259754181
1027 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_find_vertexlist>]> 1.92569303513
1028 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.VertexTest testMethod=test_values_for_prop>]> 8.10623168945e-05
1029-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testsumaddvar>]> 0.000104904174805
1030-<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_calculate_xsect_nlo>]> 55.6570930481
1031-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_heft_multiparticle_pp_hnj>]> 0.326533079147
1032 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_configs_ug_ttxz>]> 0.11712884903
1033 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.testLorentzObject testMethod=test_short_equality>]> 0.000420093536377
1034 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testsumaddint>]> 9.20295715332e-05
1035 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestSimplify testMethod=testsimplifyMultLorentz>]> 0.0104720592499
1036 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_helas_objects.testFKSHelasObjects testMethod=test_fks_helas_real_process_init>]> 0.16713809967
1037-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_epem_ttxg_QED>]> 0.00109791755676
1038+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.AlohaFortranWriterTest testMethod=test_header>]> 0.0467920303345
1039 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testequality>]> 0.000127077102661
1040 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madloop.TestCmdMatchBox testMethod=testIO_MatchBoxOutput>]> 3.16356706619
1041 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_get_fks_j_from_i_lines_EW>]> 7.70092010498e-05
1042+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.ExportV4IOTest testMethod=test_replace_make_opt_f_compiler>]> 0.040843963623
1043 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_forbidden_onshell_s_channel_uux_uuxng>]> 0.0812060832977
1044 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_helas_call_writers.UFOHELASCallWriterTest testMethod=test_UFO_CPP_helas_call_writer>]> 0.0117120742798
1045 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_check_singletop_fastjet>]> 152.502398014
1046@@ -706,9 +705,11 @@
1047 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_amp.ColorSquareTest testMethod=test_color_matrix_multi_gluons>]> 0.251565933228
1048 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMultiProcessTest testMethod=test_equal_decay_chains>]> 0.134434938431
1049 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_generate_events_name>]> 66.2333741188
1050+<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_mg5_sm_23_p2>]> 750.973557949
1051 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madloop.TestCmdLoop testMethod=test_ML_check_full_epem_ttx>]> 42.7599339485
1052 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_amp.ColorSquareTest testMethod=test_helper_lcm_functions>]> 0.000735998153687
1053 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestVariable testMethod=testsumvarint>]> 6.48498535156e-05
1054+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_madweight.TestMadWeight testMethod=test_short_mw_tt_full_lept>]> 29.0376198292
1055 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ProcessDefinitionTest testMethod=test_representation>]> 0.000728130340576
1056 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DecayChainAmplitudeTest testMethod=test_forbidden_s_channel_decay_chain>]> 0.0207369327545
1057 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_sqso_ddx_ddx_WEIGHTEDgt6>]> 20.8691658974
1058@@ -743,11 +744,12 @@
1059 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_get_rank>]> 0.103627204895
1060 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_uux_gepem_no_optimization>]> 0.0196721553802
1061 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_expr_VVS1>]> 0.0284140110016
1062-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_diquark_models.TestColorSextetModel testMethod=test_uu_to_six_g>]> 0.172813892365
1063+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.IOExportV4Test testMethod=test_export_group_multidiagram_decay_chains>]> 0.431716918945
1064 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_cpp.IOExportPythia8Test testMethod=test_write_cpp_go_process_cc_file>]> 0.0690608024597
1065 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMECmdShell testMethod=test_madspin_gridpack>]> 31.1755411625
1066 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=testTraceofObject>]> 0.000325918197632
1067 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_cpp.IOExportPythia8Test testMethod=test_write_process_h_file>]> 0.0427629947662
1068+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5MSSMQCD.ML5MSSMQCDTest testMethod=test_long_mssm_vs_stored_HCR_uux_t1t1x_QCD>]> 69.1381390095
1069 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_leshouche_sextet_diquarks>]> 2.94189381599
1070 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_FO_analyse_card.TestFOAnalyseCard testMethod=test_analyse_card_default>]> 0.000207901000977
1071 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ProcessTest testMethod=test_input_string>]> 0.00074315071106
1072@@ -787,18 +789,18 @@
1073 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML4_dxd_zgg>]> 36.6928138733
1074 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_helas_objects.LoopHelasMatrixElementTest testMethod=test_get_aloha_input>]> 0.216245174408
1075 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_ppgogo_amcatnlo>]> 77.5487518311
1076-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestVariable testMethod=testmultvarAdd>]> 0.000159025192261
1077+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMultiProcessTest testMethod=test_decay_chain_process_overall_orders>]> 0.876585006714
1078 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_multiple_lorentz>]> 0.000393867492676
1079 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayParticle testMethod=test_values_for_prop>]> 0.110687971115
1080 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_helas_objects.testFKSHelasObjects testMethod=test_get_fks_info_list>]> 0.993493080139
1081-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_isexternal>]> 0.000101089477539
1082-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_pythonwriter_complex_mass_scheme>]> 0.095272064209
1083+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testmultaddvar_legacy>]> 0.00015115737915
1084+<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_launch_amcatnlo_name>]> 49.5285630226
1085 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_change_number_format_fortran>]> 0.000572919845581
1086 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMEfromfile testMethod=test_decay_width_nlo_model>]> 14.2313911915
1087 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopEWDiagramGenerationTest testMethod=test_diagram_generation_gg_ttxh_EW>]> 60.816671133
1088 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5MSSMQCD.ML5MSSMQCDTest testMethod=test_long_mssm_vs_stored_HCR_gg_gogo_QCD>]> 150.644671917
1089 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_vector_clash_majorana_process>]> 0.012188911438
1090-<__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_edit_card.TestEditCardCmd testMethod=test_modif_shower_card>]> 0.0273249149323
1091+<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_calculate_xsect_nlo>]> 55.6570930481
1092 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DecayChainAmplitudeTest testMethod=test_unused_decays_in_decay_chain_pp_jj>]> 0.199378967285
1093 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_uu_susu>]> 0.0135440826416
1094 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_exporters.IOTestMadLoopSquaredOrdersExport testMethod=testIO_Loop_sqso_uux_ddx>]> 32.4329109192
1095@@ -835,7 +837,7 @@
1096 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_ufo_parsers.UFOParserTest testMethod=test_UFOExpressionParserPythonIF>]> 0.0719270706177
1097 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_generate_events_nlo_hw6_stdhep>]> 50.4594700336
1098 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestVertexPoint testMethod=test_fuse_vertex>]> 0.000200033187866
1099-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5MSSMQCD.ML5MSSMQCDTest testMethod=test_long_mssm_vs_stored_HCR_uux_t1t1x_QCD>]> 69.1381390095
1100+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_uux_wpwmbbx>]> 61.837485075
1101 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_def_begin_end_point>]> 9.89437103271e-05
1102 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.testLorentzObject testMethod=test_short_spin2propagator>]> 0.128522157669
1103 <__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_cmd.TestMadSpinFCT_in_interface testMethod=test_get_final_part>]> 0.12849187851
1104@@ -849,16 +851,16 @@
1105 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_shower_card.TestShowerCard testMethod=test_shower_card_py8_analyse>]> 0.000602960586548
1106 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_ppgogo_amcatnlo>]> 252.850306988
1107 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestLinkRBConfSM testMethod=test_link_butdg_butd>]> 0.0965809822083
1108-<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_madweight.TestMadWeight testMethod=test_short_mw_tt_full_lept>]> 29.0376198292
1109+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_fermion_flow>]> 0.00178098678589
1110 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_IdentifyHelasTag testMethod=test_helas_comparison>]> 0.225214958191
1111-<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_mg5_sm_23_p2>]> 750.973557949
1112+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_write_param.TestParamWrittingWithRestrict testMethod=test_define_not_dep_param>]> 0.0751221179962
1113 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_usermod.Test_ADDON_UFO testMethod=test_interaction>]> 0.000797033309937
1114 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestAlohaWriter testMethod=test_short_aloha_get_name>]> 0.0285120010376
1115 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_b_sf_fks>]> 2.02799201012
1116 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.MultiProcessTest testMethod=test_representation>]> 0.00421714782715
1117 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_leshouche_info_file>]> 0.0922110080719
1118 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestNFlav testMethod=test_get_nflav_sm>]> 0.0441629886627
1119-<__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_madevent.TestMadEventCmd testMethod=test_help_category>]> 0.00062894821167
1120+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_particles_type>]> 1.96593403816
1121 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_diagram_generation.LoopDiagramGenerationTest testMethod=test_diagram_generation_uux_ga>]> 1.02916789055
1122 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasWavefunctionTest testMethod=test_setget_wavefunction_exceptions>]> 0.000231027603149
1123 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_check_generate_optimize>]> 0.301462173462
1124@@ -877,10 +879,10 @@
1125 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_drawing.TestLoopDrawer testMethod=test_flipping>]> 0.0031681060791
1126 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_check_generate_eventsnlo_py6pt_fsr>]> 16.2141349316
1127 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_leshouche_file_EW>]> 0.000738143920898
1128-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasAmplitudeTest testMethod=test_setget_amplitude_exceptions>]> 0.000211000442505
1129+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_import_ufo.TestRestrictModel testMethod=test_merge_iden_couplings>]> 0.0879130363464
1130 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAlohaWriter testMethod=test_aloha_MP_mode>]> 0.0349721908569
1131 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.testLorentzObject testMethod=test_short_spin32propagator>]> 0.208134174347
1132-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorObjectTest testMethod=test_delta6_simplify>]> 8.51154327393e-05
1133+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_find_mssm_decay_groups_modified_mssm_general>]> 8.70347595215
1134 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_configs_file_born_EW>]> 5.07831573486e-05
1135 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_AbstractModel testMethod=test_add_ab_particle>]> 0.127122163773
1136 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.MultiLegTest testMethod=test_setget_multi_leg_correct>]> 6.60419464111e-05
1137@@ -889,13 +891,13 @@
1138 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testdealingwithpower1>]> 0.000165939331055
1139 <__main__.TestSuiteModified tests=[<tests.unit_tests.madweight.test_permutation.TestPermutation testMethod=test_permutation_from_id>]> 0.0379128456116
1140 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_diagram_generation_identical_interactions>]> 0.0405609607697
1141-<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMECmdShell testMethod=test_width_computation>]> 13.0126650333
1142+<__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_madevent.TestMadEventCmd testMethod=test_help_category>]> 0.00062894821167
1143 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.TestMECmdShell testMethod=test_check_html_long_process_strings>]> 20.4391908646
1144 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_shower_card.TestShowerCard testMethod=test_shower_card_py8>]> 0.000524997711182
1145 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_uux_aa_QED>]> 0.00227403640747
1146 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_madevent.TestMEfromfile testMethod=test_add_time_of_flight>]> 19.5163040161
1147 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_nfksconfigs_file_EW>]> 0.0351588726044
1148-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_setget>]> 2.0447640419
1149+<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_sqso>]> 4.5599489212
1150 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_invalid_operations_for_output>]> 0.0474369525909
1151 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=test_spin2propagator2>]> 0.152077913284
1152 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_usermod.Test_ADDON_UFO testMethod=test_add_particle>]> 0.000631093978882
1153@@ -942,7 +944,6 @@
1154 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_diagram_generation_gluons>]> 0.0548150539398
1155 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_complex_mass_SA>]> 1.51796483994
1156 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestLorentzObjectRepresentation testMethod=test_short_sumofLorentzObj>]> 0.00596499443054
1157-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_python.IOExportPythonTest testMethod=test_get_python_matrix_methods>]> 0.0204730033875
1158 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_born_fks_EW>]> 4.79221343994e-05
1159 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestAlohaWriter testMethod=test_short_python_routine_are_exec>]> 0.00470900535583
1160 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_find_splittings>]> 0.0126750469208
1161@@ -971,9 +972,10 @@
1162 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_dxd_agg>]> 30.9221031666
1163 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_gg_ttxh_QED>]> 0.00196599960327
1164 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_import_v4.IOImportV4Test testMethod=test_full_import>]> 0.0387060642242
1165+<__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_edit_card.TestEditCardCmd testMethod=test_modif_shower_card>]> 0.0273249149323
1166 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorStringTest testMethod=test_from_immutable>]> 0.000111818313599
1167 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_usermod.TestModUFO testMethod=test_write_model>]> 0.0530641078949
1168-<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_heft>]> 10.1859381199
1169+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML4_gg_httx>]> 33.0537629128
1170 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_generate_helas_diagrams_gb_t1go_tttxn1x1m>]> 0.135241031647
1171 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ProcessDefinitionTest testMethod=test_values_for_prop>]> 0.000351905822754
1172 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd_amcatnlo.MECmdShell testMethod=test_calculate_xsect_lo>]> 53.5439140797
1173@@ -984,7 +986,7 @@
1174 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestSomeObjectProperty testMethod=test_short_parity_for_epsilon>]> 0.000339031219482
1175 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_write_coloramps_file>]> 0.00445699691772
1176 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_find_t_channel_vertex>]> 0.000336170196533
1177-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testmultmultint>]> 0.000134944915771
1178+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_setget_matrix_element_exceptions>]> 0.00100207328796
1179 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.FullHelasOutputTest testMethod=test_four_fermion_vertex_strange_fermion_flow>]> 0.0298500061035
1180 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_color_algebra.ColorStringTest testMethod=test_to_immutable>]> 5.88893890381e-05
1181 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestSomeObjectProperty testMethod=testIdentityMatrix>]> 0.0287408828735
1182@@ -1003,20 +1005,20 @@
1183 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestAlohaWriter testMethod=test_short_pythonwriter_complex_mass_scheme>]> 0.02272605896
1184 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_rambo.test_rambo testMethod=test_massless>]> 0.000313997268677
1185 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_insert_legs>]> 0.000980854034424
1186-<__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSDiagramTag testMethod=test_diagram_tag_gg_ggg>]> 0.128249883652
1187-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_combine_legs_uux_uuxuux>]> 0.00294399261475
1188+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_domain_intersection>]> 0.000416040420532
1189+<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_creation_from_cmd>]> 0.0318400859833
1190 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_AbstractModel testMethod=test_help_generate_ab_amplitude>]> 0.233986139297
1191 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayParticleList testMethod=test_convert>]> 0.000968933105469
1192 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.AmplitudeTest testMethod=test_setget_amplitude_exceptions>]> 0.00019907951355
1193 <__main__.TestSuiteModified tests=[<tests.unit_tests.loop.test_loop_drawing.TestLoopDrawer testMethod=test_level_with_flipping_triangle>]> 0.00130605697632
1194 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayParticle testMethod=test_getsetvertexlist_exceptions>]> 0.110853910446
1195 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testdealingwithpower3>]> 0.0128040313721
1196-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.AlohaFortranWriterTest testMethod=test_header>]> 0.0467920303345
1197+<__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML5_uux_zzz>]> 28.6060318947
1198 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSDiagramTag testMethod=test_reorder_permutation>]> 5.41210174561e-05
1199 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=test_spin32propagator>]> 0.232930898666
1200 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=testexpand>]> 0.00191402435303
1201 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_diagram_generation_nodiag>]> 0.00244688987732
1202-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_write_param.TestParamWrittingWithRestrict testMethod=test_define_not_dep_param>]> 0.0751221179962
1203+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=test_obj_are_not_modified>]> 0.000224113464355
1204 <__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_cmd.TestValidCmd testMethod=test_check_generate>]> 0.00097393989563
1205 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_long_sm_vs_stored_HCR_aa_ttx_QED>]> 0.00158500671387
1206 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.test_aloha_creation testMethod=test_short_aloha_symmetries_and_get_info>]> 0.212943077087
1207@@ -1025,14 +1027,14 @@
1208 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_legs_to_color_link_string>]> 0.00512909889221
1209 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestFKSCommon testMethod=test_sort_fksleglist>]> 0.00221490859985
1210 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_rambo.test_wavefunctions testMethod=test_I>]> 0.000235080718994
1211-<__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_creation_from_cmd>]> 0.0318400859833
1212+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestAddVariable testMethod=testsumaddvar>]> 0.000104904174805
1213 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.LegTest testMethod=test_representation>]> 7.29560852051e-05
1214 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_real_me_wrapper_EW>]> 5.69820404053e-05
1215 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_files.TestFilesGestion testMethod=test_is_uptodate>]> 1.0137488842
1216 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.TestAddVariable testMethod=test_short_factorization5>]> 0.00028395652771
1217 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_diagram_generation.DiagramGenerationTest testMethod=test_forbidden_particles_uux_uuxng>]> 0.0401759147644
1218 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanDiagram testMethod=test_find_initial_vertex_position>]> 0.000370979309082
1219-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=testIO_test_pptt_fksreal>]> 13.9149849415
1220+<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_cross_loop_induced>]> 50.1276230812
1221 <__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestLinkRBConfSM testMethod=test_link_duxhuduxux_guxhuuxux>]> 1.03614902496
1222 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_shower_card.TestShowerCard testMethod=test_shower_card_hw6_analyse>]> 0.000184059143066
1223 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_base_objects.ParticleTest testMethod=test_get_helicity_states>]> 0.000174045562744
1224@@ -1049,7 +1051,7 @@
1225 <__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_edit_card.TestEditCardCmd testMethod=test_modif_run_card>]> 0.0163931846619
1226 <__main__.TestSuiteModified tests=[<tests.unit_tests.interface.test_madevent.TestMadEventCmd testMethod=test_card_type_recognition>]> 0.0509171485901
1227 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks_EW.IOExportFKSEWTest testMethod=test_write_born_nhel_file_EW>]> 0.125450849533
1228-<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_v4.IOExportV4Test testMethod=test_export_matrix_element_v4_madevent_nogroup>]> 0.109572172165
1229+<__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_cmd.TestCmdShell2 testMethod=test_output_standalone_directory>]> 8.03073692322
1230 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5.ML5Test testMethod=test_long_sm_vs_stored_ML4_dxd_zzg>]> 32.0563452244
1231 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_find_full_sm_decay_groups>]> 5.82679080963
1232 <__main__.TestSuiteModified tests=[<tests.acceptance_tests.test_output_files.IOExportMadLoopAcceptanceTest testMethod=testIO_ProcOutputIOTests>]> 28.318707943
1233@@ -1063,7 +1065,7 @@
1234 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_file_writers.CPPWriterTest testMethod=test_write_cplusplus_line>]> 0.0056209564209
1235 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_group_subprocs.SubProcessGroupTest testMethod=test_single_decay_combinations>]> 0.0449919700623
1236 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_drawing.TestFeynmanLine testMethod=test_line_orientation>]> 0.000136137008667
1237-<__main__.TestSuiteModified tests=[<tests.unit_tests.fks.test_fks_common.TestLinkRBConfSM testMethod=test_link_udxwpg_udxwp>]> 0.0118889808655
1238+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestMultVariable testMethod=testmultmultint>]> 0.000134944915771
1239 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasWavefunctionTest testMethod=test_values_for_prop>]> 0.000183820724487
1240 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_ML5EW.ML5EWTest testMethod=test_ML5EW_sm_vs_stored_ML5EW_sqso>]> 0.00940799713135
1241 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_fks.IOExportFKSTest testMethod=test_get_color_data_lines_from_color_matrix>]> 1.95838093758
1242@@ -1073,8 +1075,8 @@
1243 <__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_ufo_parsers.UFOParserTest testMethod=test_parse_info_str_error>]> 0.0325899124146
1244 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_shower_card.TestShowerCard testMethod=test_shower_card_py6>]> 0.000173807144165
1245 <__main__.TestSuiteModified tests=[<tests.parallel_tests.test_aloha.testLorentzObject testMethod=test_short_expand_veto>]> 0.00168204307556
1246-<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.testLorentzObject testMethod=test_mass_overmass>]> 0.00163412094116
1247-<__main__.TestSuiteModified tests=[<tests.parallel_tests.compare_with_old_mg5_version.OLDMG5Comparator testMethod=test_short_sqso>]> 4.5599489212
1248+<__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_decay.Test_DecayModel testMethod=test_setget>]> 2.0447640419
1249+<__main__.TestSuiteModified tests=[<tests.unit_tests.iolibs.test_export_python.IOExportPythonTest testMethod=test_get_python_matrix_methods>]> 0.0204730033875
1250 <__main__.TestSuiteModified tests=[<tests.unit_tests.madspin.test_madspin.TestEvent testMethod=test_madspin_event>]> 0.00227999687195
1251 <__main__.TestSuiteModified tests=[<tests.unit_tests.core.test_helas_objects.HelasMatrixElementTest testMethod=test_fermionfactor_epem_sepsemepem>]> 0.074609041214
1252 <__main__.TestSuiteModified tests=[<tests.unit_tests.various.test_aloha.TestSomeObjectProperty testMethod=testGammaAlgebraDefinition>]> 1.01560497284
1253
1254=== modified file 'tests/unit_tests/iolibs/test_export_cpp.py'
1255--- tests/unit_tests/iolibs/test_export_cpp.py 2015-10-01 16:00:08 +0000
1256+++ tests/unit_tests/iolibs/test_export_cpp.py 2015-10-11 19:59:55 +0000
1257@@ -1356,7 +1356,8 @@
1258 sm_path = import_ufo.find_ufo_path('sm')
1259 self.model = import_ufo.import_model(sm_path)
1260 self.model_builder = export_cpp.UFOModelConverterPythia8(\
1261- self.model, "/tmp")
1262+ self.model, "/tmp",
1263+ replace_dict={'include_prefix':'Pythia8/'})
1264
1265 test_file_writers.CheckFileCreate.clean_files
1266
1267
1268=== modified file 'tests/unit_tests/various/test_check_param_card.py'
1269--- tests/unit_tests/various/test_check_param_card.py 2015-10-01 16:00:08 +0000
1270+++ tests/unit_tests/various/test_check_param_card.py 2015-10-11 19:59:55 +0000
1271@@ -198,6 +198,53 @@
1272 *('polemass', [35], 'width', [24]))
1273
1274
1275+
1276+
1277+class TestParamCardIterator(unittest.TestCase):
1278+ """ Test the ParamCard Object """
1279+
1280+ def test_paramcard_scan(self):
1281+ full_card = os.path.join(_file_path, os.path.pardir,
1282+ 'input_files', 'param_card_sm.dat')
1283+ card = writter.ParamCard(full_card)
1284+
1285+ # create a simple 1D scan
1286+ card['mass'].get(6).value = "scan:[1,2,3,4,5]"
1287+ mh = card['mass'].get(25).value # to check that param_card are independant
1288+
1289+ itercard = writter.ParamCardIterator(card)
1290+ card['mass'].get(25).value = 25.0
1291+ for i, new_card in enumerate(itercard):
1292+ self.assertEqual(new_card['mass'].get(6).value, i+1)
1293+ self.assertEqual(new_card['mass'].get(25).value, mh)
1294+ self.assertEqual(i, 4)
1295+
1296+ # create a 1D scan with two parameter
1297+ card['mass'].get(6).value = "scan1:[1,2,3,4,5]"
1298+ card['mass'].get(25).value = "scan1:[0,10,20,30,40]"
1299+ itercard = writter.ParamCardIterator(card)
1300+ for i, new_card in enumerate(itercard):
1301+ self.assertEqual(new_card['mass'].get(6).value, i+1)
1302+ self.assertEqual(new_card['mass'].get(25).value, 10*i)
1303+ self.assertEqual(i, 4)
1304+
1305+ # create a 2D scan with two parameter
1306+ card['mass'].get(6).value = "scan:[1,2,3]"
1307+ card['mass'].get(25).value = "scan:[0,10,20,30]"
1308+ all_possibilities = [(1,0), (1,10),(1,20),(1,30),
1309+ (2,0), (2,10),(2,20),(2,30),
1310+ (3,0), (3,10),(3,20),(3,30)
1311+ ]
1312+ itercard = writter.ParamCardIterator(card)
1313+ for i, new_card in enumerate(itercard):
1314+ choice = (new_card['mass'].get(6).value, new_card['mass'].get(25).value)
1315+ self.assertIn(choice, all_possibilities)
1316+ all_possibilities.remove(choice)
1317+
1318+ self.assertEqual(i, 11)
1319+ self.assertFalse(all_possibilities)
1320+
1321+
1322 class TestParamCardRule(unittest.TestCase):
1323 """ Test the ParamCardRule Object"""
1324

Subscribers

People subscribed via source and target branches

to all changes: