Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use splitted xml files, and avoid memory leaks in the parser.
[simgrid.git] / teshsuite / msg / trace / trace.tesh
1 #! ./tesh
2
3 p Testing trace integration using file.trace and test1.xml, a < max(time), b < max(time)
4
5 ! output sort
6 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test1.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
7 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
8 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
9 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
10 > [ 10.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
11 > [ 10.000000] (1:test_trace@CPU1) Task size: 400.000000
12 > [ 10.000000] (1:test_trace@CPU1) Task prio: 1.000000
13 > [ 40.000000] (1:test_trace@CPU1) Test finished
14
15 p Testing trace integration using file.trace and test2.xml, a < max(time), max(time) < b < 2 max(time)
16
17 ! output sort
18 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test2.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
19 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
20 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
21 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
22 > [ 10.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
23 > [ 10.000000] (1:test_trace@CPU1) Task size: 850.000000
24 > [ 10.000000] (1:test_trace@CPU1) Task prio: 1.000000
25 > [ 85.000000] (1:test_trace@CPU1) Test finished
26
27 p Testing trace integration using file.trace and test3.xml, a < max(time), b > 2 max(time)
28
29 ! output sort
30 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test3.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
31 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
32 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
33 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
34 > [ 10.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
35 > [ 10.000000] (1:test_trace@CPU1) Task size: 1980.000000
36 > [ 10.000000] (1:test_trace@CPU1) Task prio: 1.000000
37 > [178.000000] (1:test_trace@CPU1) Test finished
38
39 p Testing trace integration using file.trace and test4.xml, max(time) < a < 2max(time), max(time) < b < 2max(time)
40
41 ! output sort
42 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test4.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
43 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
44 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
45 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
46 > [ 80.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
47 > [ 80.000000] (1:test_trace@CPU1) Task size: 400.000000
48 > [ 80.000000] (1:test_trace@CPU1) Task prio: 1.000000
49 > [110.000000] (1:test_trace@CPU1) Test finished
50
51 p Testing trace integration using file.trace and test5.xml, max(time) < a < 2max(time), 2max(time) < b < 3max(time)
52
53 ! output sort
54 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test5.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
55 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
56 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
57 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
58 > [ 90.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
59 > [ 90.000000] (1:test_trace@CPU1) Task size: 850.000000
60 > [ 90.000000] (1:test_trace@CPU1) Task prio: 1.000000
61 > [162.500000] (1:test_trace@CPU1) Test finished
62
63 p Testing trace integration using file.trace and test6.xml, max(time) < a < 2max(time), b > 3max(time)
64
65 ! output sort
66 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test6.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
67 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
68 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
69 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
70 > [ 80.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
71 > [ 80.000000] (1:test_trace@CPU1) Task size: 1980.000000
72 > [ 80.000000] (1:test_trace@CPU1) Task prio: 1.000000
73 > [248.000000] (1:test_trace@CPU1) Test finished
74
75 p Testing trace integration using file.trace and test7.xml, two process with same priority
76
77 ! output sort
78 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test7.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
79 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
80 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
81 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
82 > [ 10.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
83 > [ 10.000000] (1:test_trace@CPU1) Task size: 400.000000
84 > [ 10.000000] (1:test_trace@CPU1) Task prio: 1.500000
85 > [ 20.000000] (2:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
86 > [ 20.000000] (2:test_trace@CPU1) Task size: 300.000000
87 > [ 20.000000] (2:test_trace@CPU1) Task prio: 1.500000
88 > [ 70.000000] (1:test_trace@CPU1) Test finished
89 > [ 70.000000] (2:test_trace@CPU1) Test finished
90
91 p Testing trace integration using file.trace and test8.xml, two process with different priority
92
93 ! output sort
94 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test8.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
95 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
96 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
97 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
98 > [ 10.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
99 > [ 10.000000] (1:test_trace@CPU1) Task size: 400.000000
100 > [ 10.000000] (1:test_trace@CPU1) Task prio: 2.500000
101 > [ 10.000000] (2:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
102 > [ 10.000000] (2:test_trace@CPU1) Task size: 400.000000
103 > [ 10.000000] (2:test_trace@CPU1) Task prio: 1.000000
104 > [ 56.000000] (1:test_trace@CPU1) Test finished
105 > [ 80.000000] (2:test_trace@CPU1) Test finished
106
107 p Testing trace integration using file.trace and test9.xml, three process with same priority
108
109 ! output sort
110 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test9.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
111 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
112 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
113 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
114 > [  0.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
115 > [  0.000000] (1:test_trace@CPU1) Task size: 400.000000
116 > [  0.000000] (1:test_trace@CPU1) Task prio: 1.000000
117 > [  0.000000] (2:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
118 > [  0.000000] (2:test_trace@CPU1) Task size: 400.000000
119 > [  0.000000] (2:test_trace@CPU1) Task prio: 1.000000
120 > [ 30.000000] (3:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
121 > [ 30.000000] (3:test_trace@CPU1) Task size: 2000.000000
122 > [ 30.000000] (3:test_trace@CPU1) Task prio: 1.000000
123 > [ 90.000000] (1:test_trace@CPU1) Test finished
124 > [ 90.000000] (2:test_trace@CPU1) Test finished
125 > [240.000000] (3:test_trace@CPU1) Test finished
126
127 p Testing trace integration using file.trace and test10.xml, three process with different priority
128
129 ! output sort
130 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform.xml ./trace/test10.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
131 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
132 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
133 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
134 > [  0.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
135 > [  0.000000] (1:test_trace@CPU1) Task size: 420.000000
136 > [  0.000000] (1:test_trace@CPU1) Task prio: 2.000000
137 > [  0.000000] (2:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
138 > [  0.000000] (2:test_trace@CPU1) Task size: 310.000000
139 > [  0.000000] (2:test_trace@CPU1) Task prio: 1.000000
140 > [ 50.000000] (3:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
141 > [ 50.000000] (3:test_trace@CPU1) Task size: 990.000000
142 > [ 50.000000] (3:test_trace@CPU1) Task prio: 9.000000
143 > [ 62.000000] (1:test_trace@CPU1) Test finished
144 > [152.000000] (2:test_trace@CPU1) Test finished
145 > [152.000000] (3:test_trace@CPU1) Test finished
146
147 p Testing trace integration using file.trace and test11.xml, three process with different priority. Changed timestep to 0.1.
148
149 ! output sort
150 $ $SG_TEST_EXENV ${bindir:=.}/trace/test_trace_integration$EXEEXT ./trace/platform_trace.xml ./trace/test11.xml --cfg=workstation/model:compound --cfg=network/model:CM02 --cfg=cpu/optim:TI "--log=root.fmt:[%10.6r]%e(%i:%P@%h)%e%m%n"
151 > [  0.000000] (0:@) Configuration change: Set 'workstation/model' to 'compound'
152 > [  0.000000] (0:@) Configuration change: Set 'network/model' to 'CM02'
153 > [  0.000000] (0:@) Configuration change: Set 'cpu/optim' to 'TI'
154 > [  0.000000] (1:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
155 > [  0.000000] (1:test_trace@CPU1) Task size: 420.000000
156 > [  0.000000] (1:test_trace@CPU1) Task prio: 2.000000
157 > [  0.000000] (2:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
158 > [  0.000000] (2:test_trace@CPU1) Task size: 310.000000
159 > [  0.000000] (2:test_trace@CPU1) Task prio: 1.000000
160 > [ 50.000000] (3:test_trace@CPU1) Testing the trace integration cpu model: CpuTI
161 > [ 50.000000] (3:test_trace@CPU1) Task size: 990.000000
162 > [ 50.000000] (3:test_trace@CPU1) Task prio: 9.000000
163 > [ 62.000000] (1:test_trace@CPU1) Test finished
164 > [152.000000] (2:test_trace@CPU1) Test finished
165 > [152.000000] (3:test_trace@CPU1) Test finished