Trace number 200202

Some explanations

A solver is run under the control of another program named runsolver. runsolver is in charge of imposing the CPU time limit and the memory limit to the solver. It also monitors some information about the process. The trace of the execution of a solver is divided into four (or five) parts:
  1. SOLVER DATA
    This is the output of the solver (stdout and stderr).
    Note that some very long lines in this section may be truncated by your web browser ! In such a case, you may want to use the "Download as text" link to get the trace as a text file.

    When the --timestamp option is passed to the runsolver program, each line output by the solver is prepended with a timestamp which indicates at what time the line was output by the solver. Times are relative to the start of the program, given in seconds, and are wall clock time (not CPU time).

    As some 'v lines' may be very long (sometimes several megabytes), the 'v line' output by your solver may be split on several lines to help limit the size of the trace recorded in the database. In any case, the exact output of your solver is preserved in a trace file.
  2. VERIFIER DATA
    The output of the solver is piped to a verifier program which will search a value line "v " and, if found, will check that the given interpretation satisfies all constraints.
  3. CONVERSION SCRIPT DATA (Optionnal)
    When a conversion script is used, this section shows the messages that were output by the conversion script.
  4. WATCHER DATA
    This is the informations gathered by the runsolver program. It first prints the different limits. There's a first limit on CPU time set to X seconds (see the parameters in the trace). After this time has ellapsed, runsolver sends a SIGTERM and 2 seconds later a SIGKILL to the solver. For safety, there's also another limit set to X+30 seconds which will send a SIGXPU to the solver. The last limit is on the virtual memory used by the process (see the parameters in the trace).
    Every ten seconds, the runsolver process fetches the content of /proc/loadavg, /proc/pid/stat and /proc/pid/statm (see man proc) and prints it as raw data. This is only recorded in case we need to investigate the behaviour of a solver. The memory used by the solver (vsize) is also given every ten seconds.
    When the solver exits, runsolver prints some informations such as status and time. CPU usage is the ratio CPU Time/Real Time.
  5. LAUNCHER DATA
    These informations are related to the script which will launch the solver. The most important informations are the command line given to the solver, the md5sum of the different files and the dump of the /proc/cpuinfo and /proc/meminfo which provides some useful information on the computer.

Solver answer on this benchmark

Solver NameAnswerCPU timeWall clock time
sugar 0.40SAT 1.13 1.36032

General information on the benchmark

NamejobShop/jobShop-enddr2/
enddr2-10-by-5-1.xml
MD5SUM49fee72aff76e7b00187462ec8fe9c7c
Bench Category2-ARY-INT (binary constraints in intension)
Best result obtained on this benchmarkSAT
Best CPU time to get the best result obtained on this benchmark0.046992
SatisfiableYES
(Un)Satisfiability was provedYES
Number of variables50
Number of constraints265
Maximum constraint arity2
Maximum domain size139
Number of constraints which are defined in extension0
Number of constraints which are defined in intension265
Global constraints used (with number of constraints)

Solver Data (download as text)

0.05	c # Sugar v0-40 (/tmp/evaluation/200202-1170094430/sugar-v0-40.jar)
0.05	
0.05	c # MAIN  BEGIN : /tmp/evaluation/200202-1170094430/unknown.xml [Mon Jan 29 19:13:50 2007]
0.05	c # CONVERT_XML  BEGIN : /tmp/evaluation/200202-1170094430/unknown.xml /tmp/evaluation/200202-1170094430/sugar20246.csp [Mon Jan 29 19:13:50 2007]
0.05	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/200202-1170094430/sugar-v0-40.jar -convert /tmp/evaluation/200202-1170094430/unknown.xml /tmp/evaluation/200202-1170094430/sugar20246.csp
0.19	c BEGIN convert /tmp/evaluation/200202-1170094430/unknown.xml
0.47	c END convert (0.276266 seconds)
0.52	c # CONVERT_XML  END : /tmp/evaluation/200202-1170094430/sugar20246.csp 11679 bytes (1 seconds) [Mon Jan 29 19:13:51 2007]
0.52	c # CONVERT_XML  CPU : 0 = 0 + 0 + 0 + 0
0.52	
0.52	c # GENERATE_SAT  BEGIN : /tmp/evaluation/200202-1170094430/sugar20246.bcnf [Mon Jan 29 19:13:51 2007]
0.52	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/200202-1170094430/sugar-v0-40.jar -bcnf -map /tmp/evaluation/200202-1170094430/sugar20246.map /tmp/evaluation/200202-1170094430/sugar20246.csp /tmp/evaluation/200202-1170094430/sugar20246.bcnf
0.64	c BEGIN parse /tmp/evaluation/200202-1170094430/sugar20246.csp
0.85	c END parse (0.209863 seconds)
0.85	c BEGIN simplify
0.86	c END simplify (0.009909 seconds)
0.86	c BEGIN encode /tmp/evaluation/200202-1170094430/sugar20246.bcnf
0.97	c END encode (0.111882 seconds)
1.04	c # GENERATE_SAT  END : 6815 variables 63439 clauses 965640 bytes (0 seconds) [Mon Jan 29 19:13:51 2007]
1.04	c # GENERATE_SAT  CPU : 0.44 = 0 + 0 + 0.41 + 0.03
1.04	
1.04	c # SOLVE_SAT  BEGIN : /tmp/evaluation/200202-1170094430/sugar20246.bcnf [Mon Jan 29 19:13:51 2007]
1.04	c # CMD : /tmp/evaluation/200202-1170094430/minisat /tmp/evaluation/200202-1170094430/sugar20246.bcnf /tmp/evaluation/200202-1170094430/sugar20246.out
1.08	c ==================================[MINISAT]===================================
1.08	c | Conflicts |     ORIGINAL     |              LEARNT              | Progress |
1.08	c |           | Clauses Literals |   Limit Clauses Literals  Lit/Cl |          |
1.08	c ==============================================================================
1.08	c |         0 |   63439   177965 |   21146       0        0     nan |  0.000 % |
1.10	c ==============================================================================
1.10	c restarts              : 1
1.10	c conflicts             : 54             (1039 /sec)
1.10	c decisions             : 187            (3597 /sec)
1.10	c propagations          : 44657          (858921 /sec)
1.10	c conflict literals     : 530            (18.08 % deleted)
1.10	c Memory used           : 4.23 MB
1.10	c CPU time              : 0.051992 s
1.10	c 
1.10	c SATISFIABLE
1.11	c # SOLVE_SAT  END : SATISFIABLE (0 seconds) [Mon Jan 29 19:13:51 2007]
1.11	c # SOLVE_SAT  CPU : 0.06 = 0 + 0 + 0.05 + 0.01
1.11	
1.11	c # RESULT : SATISFIABLE
1.11	
1.11	c # OUTPUT_SOL  BEGIN : SAT  [Mon Jan 29 19:13:51 2007]
1.23	c BEGIN read SAT output /tmp/evaluation/200202-1170094430/sugar20246.out
1.27	c END read SAT output (0.037723 seconds)
1.27	c BEGIN write solution /tmp/evaluation/200202-1170094430/sugar20246.sol
1.32	c END write solution (0.05249 seconds)
1.35	s SATISFIABLE
1.35	v 17 24 32 56 64 3 7 17 37 50 26 37 47 66 77 25 32 63 74 87 48 82 97 113 117 45 64 71 93 101 99 106 132 145 152 106 115 118 127 136 134 147 151 161 166 59 64 82 121 127
1.35	c # OUTPUT_SOL  END :  (1 seconds) [Mon Jan 29 19:13:52 2007]
1.35	c # OUTPUT_SOL  CPU : 0.22 = 0.01 + 0 + 0.18 + 0.03
1.35	
1.35	c # MAIN  END :  (2 seconds) [Mon Jan 29 19:13:52 2007]
1.35	c # MAIN  CPU : 0.72 = 0.01 + 0 + 0.64 + 0.07
1.35	

Verifier Data (download as text)

OK

Watcher Data (download as text)

runsolver version 3.1.3 (c) roussel@cril.univ-artois.fr

command line: runsolver --timestamp -w ROOT/results/node20/watcher-200202-1170094430 -o ROOT/results/node20/solver-200202-1170094430 -C 1800 -M 900 /tmp/evaluation/200202-1170094430/solver /tmp/evaluation/200202-1170094430 /tmp/evaluation/200202-1170094430/unknown.xml 

Enforcing CPUTime limit (soft limit, will send SIGTERM then SIGKILL): 1800 seconds
Enforcing CPUTime limit (hard limit, will send SIGXCPU): 1830 seconds
Enforcing VSIZE limit (soft limit, will send SIGTERM then SIGKILL): 921600 KiB
Enforcing VSIZE limit (hard limit, stack expansion will fail with SIGSEGV, brk() and mmap() will return ENOMEM): 972800 KiB
Current StackSize limit: 10240 KiB

/proc/loadavg: 2.43 3.69 5.11 3/87 20247
/proc/meminfo: memFree=1789264/2055920 swapFree=4192812/4192956
[pid=20246] ppid=20244 vsize=780 CPUtime=0
/proc/20246/stat : 20246 (solver) R 20244 20246 19567 0 -1 4194304 18 0 0 0 0 0 0 0 20 0 1 0 29397010 798720 3 18446744073709551615 0 0 548682070019 18446744073709551615 273952599335 0 0 4096 0 0 0 0 17 1 0 0
/proc/20246/statm: 195 3 0 0 0 6 0

[startup+0.102666 s]
/proc/loadavg: 2.43 3.69 5.11 3/87 20247
/proc/meminfo: memFree=1789264/2055920 swapFree=4192812/4192956
[pid=20246] ppid=20244 vsize=13724 CPUtime=0.04
/proc/20246/stat : 20246 (sugar) S 20244 20246 19567 0 -1 4194304 1112 0 0 0 3 1 0 0 18 0 1 0 29397010 14053376 805 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 273961496674 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/20246/statm: 3431 805 368 3 0 531 0
Current children cumulated CPU time (s) 0.04
Current children cumulated vsize (KiB) 13724

[startup+0.510711 s]
/proc/loadavg: 2.43 3.69 5.11 3/87 20247
/proc/meminfo: memFree=1789264/2055920 swapFree=4192812/4192956
[pid=20246] ppid=20244 vsize=13724 CPUtime=0.04
/proc/20246/stat : 20246 (sugar) S 20244 20246 19567 0 -1 4194304 1121 0 0 0 3 1 0 0 16 0 1 0 29397010 14053376 805 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 273961496674 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/20246/statm: 3431 805 368 3 0 531 0
Current children cumulated CPU time (s) 0.04
Current children cumulated vsize (KiB) 13724

[startup+1.33181 s]
/proc/loadavg: 2.48 3.68 5.10 3/89 20265
/proc/meminfo: memFree=1785536/2055920 swapFree=4192812/4192956
[pid=20246] ppid=20244 vsize=13988 CPUtime=0.55
/proc/20246/stat : 20246 (sugar) S 20244 20246 19567 0 -1 4194304 1436 6034 0 1 4 1 46 4 16 0 1 0 29397010 14323712 882 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 273961496674 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/20246/statm: 3497 882 373 3 0 597 0
[pid=20248] ppid=20246 vsize=0 CPUtime=0.38
/proc/20248/stat : 20248 (java) Z 20246 20246 19567 0 -1 1036 3875 0 1 0 36 2 0 0 16 0 1 0 29397015 0 0 18446744073709551615 0 0 0 0 0 0 4 0 23759 18446744071563351923 0 0 17 1 0 0
/proc/20248/statm: 0 0 0 0 0 0 0
[pid=20265] ppid=20246 vsize=807004 CPUtime=0.2
/proc/20265/stat : 20265 (java) S 20246 20246 19567 0 -1 0 3177 0 2 0 18 2 0 0 20 0 8 0 29397121 826372096 2926 18446744073709551615 134512640 134570532 4294956464 18446744073709551615 4294960144 0 4 0 23759 18446744073709551615 0 0 17 1 0 0
/proc/20265/statm: 201751 2926 1476 14 0 189029 0
Current children cumulated CPU time (s) 1.13
Current children cumulated vsize (KiB) 820992

Child status: 0

!!! problem with CPU time !!!
wait4(...,&childrusage) returns 20246 and gives childrusage.ru_utime.tv_sec=0 childrusage.ru_utime.tv_usec=691894 childrusage.ru_stime.tv_sec=0 childrusage.ru_stime.tv_usec=86986
CPU time returned by wait4() is 0.77888
while last known CPU time is 1.13

Solver probably didn't/couldn't wait for its children
Using last known CPU time as value...

Real time (s): 1.36032
CPU time (s): 1.13
CPU user time (s): 1.04
CPU system time (s): 0.09
CPU usage (%): 83.0689
Max. virtual memory (cumulated for all children) (KiB): 820992

getrusage(RUSAGE_CHILDREN,...) data:
user time used= 0.691894
system time used= 0.086986
maximum resident set size= 0
integral shared memory size= 0
integral unshared data size= 0
integral unshared stack size= 0
page reclaims= 10744
page faults= 3
swaps= 0
block input operations= 0
block output operations= 0
messages sent= 0
messages received= 0
signals received= 0
voluntary context switches= 751
involuntary context switches= 683

runsolver used 0.003999 s user time and 0.013997 s system time

The end

Launcher Data (download as text)

Begin job on node20 on Mon Jan 29 18:13:50 UTC 2007


IDJOB= 200202
IDBENCH= 3694
IDSOLVER= 86
FILE ID= node20/200202-1170094430

PBS_JOBID= 3689579

Free space on /tmp= 66552 MiB

SOLVER NAME= sugar 0.40
BENCH NAME= HOME/pub/bench/CPAI06/jobShop/jobShop-enddr2/enddr2-10-by-5-1.xml
COMMAND LINE= /tmp/evaluation/200202-1170094430/solver /tmp/evaluation/200202-1170094430 /tmp/evaluation/200202-1170094430/unknown.xml
RUNSOLVER COMMAND LINE= runsolver  --timestamp  -w ROOT/results/node20/watcher-200202-1170094430 -o ROOT/results/node20/solver-200202-1170094430 -C 1800 -M 900  /tmp/evaluation/200202-1170094430/solver /tmp/evaluation/200202-1170094430 /tmp/evaluation/200202-1170094430/unknown.xml

META MD5SUM SOLVER= 0a27e717dfe98d83d9802fe0eea45073
MD5SUM BENCH=  49fee72aff76e7b00187462ec8fe9c7c

RANDOM SEED= 852981935

TIME LIMIT= 1800 seconds

MEMORY LIMIT= 900 MiB


/proc/cpuinfo:
processor	: 0
vendor_id	: GenuineIntel
cpu family	: 15
model		: 4
model name	:                   Intel(R) Xeon(TM) CPU 3.00GHz
stepping	: 3
cpu MHz		: 3000.234
cache size	: 2048 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl cid cx16 xtpr
bogomips	: 5914.62
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:

processor	: 1
vendor_id	: GenuineIntel
cpu family	: 15
model		: 4
model name	:                   Intel(R) Xeon(TM) CPU 3.00GHz
stepping	: 3
cpu MHz		: 3000.234
cache size	: 2048 KB
fpu		: yes
fpu_exception	: yes
cpuid level	: 5
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx lm pni monitor ds_cpl cid cx16 xtpr
bogomips	: 5586.94
clflush size	: 64
cache_alignment	: 128
address sizes	: 36 bits physical, 48 bits virtual
power management:


/proc/meminfo:
MemTotal:      2055920 kB
MemFree:       1789744 kB
Buffers:         62036 kB
Cached:          58256 kB
SwapCached:          0 kB
Active:         142760 kB
Inactive:        64260 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      2055920 kB
LowFree:       1789744 kB
SwapTotal:     4192956 kB
SwapFree:      4192812 kB
Dirty:            1560 kB
Writeback:           0 kB
Mapped:         106396 kB
Slab:            44156 kB
Committed_AS:   216032 kB
PageTables:       2104 kB
VmallocTotal: 536870911 kB
VmallocUsed:    264952 kB
VmallocChunk: 536605679 kB
HugePages_Total:     0
HugePages_Free:      0
Hugepagesize:     2048 kB

Free space on /tmp at the end= 66552 MiB



End job on node20 on Mon Jan 29 18:13:52 UTC 2007