Trace number 240757

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.03 1.16568

General information on the benchmark

Namebqwh/bqwh-15-106_glb/
bqwh-15-106-21_glb.xml
MD5SUM5412093234f5a08062ce1bab0d205a22
Bench CategoryGLOBAL (global constraints)
Best result obtained on this benchmarkSAT
Best CPU time to get the best result obtained on this benchmark0.022995
SatisfiableYES
(Un)Satisfiability was proved
Number of variables106
Number of constraints30
Maximum constraint arity8
Maximum domain size6
Number of constraints which are defined in extension0
Number of constraints which are defined in intension0
Global constraints used (with number of constraints)allDifferent(30)

Solver Data (download as text)

0.04	c # Sugar v0-40 (/tmp/evaluation/240757-1170109054/sugar-v0-40.jar)
0.04	
0.04	c # MAIN  BEGIN : /tmp/evaluation/240757-1170109054/unknown.xml [Mon Jan 29 23:17:38 2007]
0.04	c # CONVERT_XML  BEGIN : /tmp/evaluation/240757-1170109054/unknown.xml /tmp/evaluation/240757-1170109054/sugar26565.csp [Mon Jan 29 23:17:38 2007]
0.04	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/240757-1170109054/sugar-v0-40.jar -convert /tmp/evaluation/240757-1170109054/unknown.xml /tmp/evaluation/240757-1170109054/sugar26565.csp
0.17	c BEGIN convert /tmp/evaluation/240757-1170109054/unknown.xml
0.32	c END convert (0.158244 seconds)
0.34	c # CONVERT_XML  END : /tmp/evaluation/240757-1170109054/sugar26565.csp 16144 bytes (1 seconds) [Mon Jan 29 23:17:39 2007]
0.34	c # CONVERT_XML  CPU : 0 = 0 + 0 + 0 + 0
0.34	
0.34	c # GENERATE_SAT  BEGIN : /tmp/evaluation/240757-1170109054/sugar26565.bcnf [Mon Jan 29 23:17:39 2007]
0.34	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/240757-1170109054/sugar-v0-40.jar -bcnf -map /tmp/evaluation/240757-1170109054/sugar26565.map /tmp/evaluation/240757-1170109054/sugar26565.csp /tmp/evaluation/240757-1170109054/sugar26565.bcnf
0.46	c BEGIN parse /tmp/evaluation/240757-1170109054/sugar26565.csp
0.75	c END parse (0.295867 seconds)
0.75	c BEGIN simplify
0.77	c END simplify (0.019835 seconds)
0.77	c BEGIN encode /tmp/evaluation/240757-1170109054/sugar26565.bcnf
0.84	c END encode (0.070311 seconds)
0.90	c # GENERATE_SAT  END : 2085 variables 10398 clauses 153572 bytes (0 seconds) [Mon Jan 29 23:17:39 2007]
0.90	c # GENERATE_SAT  CPU : 0.51 = 0.01 + 0.01 + 0.45 + 0.04
0.90	
0.90	c # SOLVE_SAT  BEGIN : /tmp/evaluation/240757-1170109054/sugar26565.bcnf [Mon Jan 29 23:17:39 2007]
0.90	c # CMD : /tmp/evaluation/240757-1170109054/minisat /tmp/evaluation/240757-1170109054/sugar26565.bcnf /tmp/evaluation/240757-1170109054/sugar26565.out
0.90	c ==================================[MINISAT]===================================
0.90	c | Conflicts |     ORIGINAL     |              LEARNT              | Progress |
0.90	c |           | Clauses Literals |   Limit Clauses Literals  Lit/Cl |          |
0.90	c ==============================================================================
0.90	c |         0 |   10196    27565 |    3398       0        0     nan |  0.000 % |
0.91	c |       100 |   10200    27565 |    3737      96      624     6.5 |  2.111 % |
0.92	c ==============================================================================
0.92	c restarts              : 2
0.92	c conflicts             : 133            (7825 /sec)
0.92	c decisions             : 221            (13002 /sec)
0.92	c propagations          : 33864          (1992352 /sec)
0.92	c conflict literals     : 820            (11.54 % deleted)
0.92	c Memory used           : 2.02 MB
0.92	c CPU time              : 0.016997 s
0.92	c 
0.92	c SATISFIABLE
0.92	c # SOLVE_SAT  END : SATISFIABLE (0 seconds) [Mon Jan 29 23:17:39 2007]
0.92	c # SOLVE_SAT  CPU : 0.03 = 0 + 0 + 0.02 + 0.01
0.92	
0.92	c # RESULT : SATISFIABLE
0.92	
0.92	c # OUTPUT_SOL  BEGIN : SAT  [Mon Jan 29 23:17:39 2007]
1.04	c BEGIN read SAT output /tmp/evaluation/240757-1170109054/sugar26565.out
1.07	c END read SAT output (0.026514 seconds)
1.07	c BEGIN write solution /tmp/evaluation/240757-1170109054/sugar26565.sol
1.15	c END write solution (0.084214 seconds)
1.16	s SATISFIABLE
1.16	v 1 12 10 3 5 6 4 9 0 12 8 7 3 11 11 6 2 4 5 9 7 14 9 1 10 4 13 5 12 2 14 8 7 10 11 3 6 5 13 11 10 14 11 5 10 8 13 1 12 10 0 8 9 2 7 14 9 4 7 6 13 0 5 5 0 4 8 12 3 9 1 14 10 6 11 3 2 4 8 9 6 4 10 14 7 7 8 13 3 0 14 9 11 14 9 0 3 1 12 0 3 7 4 9 8 6
1.16	c # OUTPUT_SOL  END :  (1 seconds) [Mon Jan 29 23:17:40 2007]
1.16	c # OUTPUT_SOL  CPU : 0.24 = 0.01 + 0 + 0.21 + 0.02
1.16	
1.16	c # MAIN  END :  (2 seconds) [Mon Jan 29 23:17:40 2007]
1.16	c # MAIN  CPU : 0.78 = 0.02 + 0.01 + 0.68 + 0.07
1.16	

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/node34/watcher-240757-1170109054 -o ROOT/results/node34/solver-240757-1170109054 -C 1800 -M 900 /tmp/evaluation/240757-1170109054/solver /tmp/evaluation/240757-1170109054 /tmp/evaluation/240757-1170109054/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: 1.45 2.27 2.96 5/74 26566
/proc/meminfo: memFree=1813448/2055920 swapFree=4192812/4192956
[pid=26565] ppid=26563 vsize=12268 CPUtime=0
/proc/26565/stat : 26565 (sugar) R 26563 26565 26500 0 -1 4194304 560 0 0 0 0 0 0 0 18 0 1 0 4669648 12562432 279 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 254204227682 0 0 4224 0 0 0 0 17 1 0 0
/proc/26565/statm: 3067 292 219 3 0 167 0

[startup+0.102629 s]
/proc/loadavg: 1.45 2.27 2.96 5/74 26566
/proc/meminfo: memFree=1813448/2055920 swapFree=4192812/4192956
[pid=26565] ppid=26563 vsize=13724 CPUtime=0.03
/proc/26565/stat : 26565 (sugar) S 26563 26565 26500 0 -1 4194304 1112 0 0 0 3 0 0 0 18 0 1 0 4669648 14053376 805 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 254204227682 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/26565/statm: 3431 805 368 3 0 531 0
Current children cumulated CPU time (s) 0.03
Current children cumulated vsize (KiB) 13724

[startup+0.510661 s]
/proc/loadavg: 1.45 2.27 2.96 5/74 26566
/proc/meminfo: memFree=1813448/2055920 swapFree=4192812/4192956
[pid=26565] ppid=26563 vsize=13724 CPUtime=0.04
/proc/26565/stat : 26565 (sugar) S 26563 26565 26500 0 -1 4194304 1188 0 0 0 3 1 0 0 15 0 1 0 4669648 14053376 808 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 254204227682 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/26565/statm: 3431 808 370 3 0 531 0
Current children cumulated CPU time (s) 0.04
Current children cumulated vsize (KiB) 13724

Child status: 0

!!! problem with CPU time !!!
wait4(...,&childrusage) returns 26565 and gives childrusage.ru_utime.tv_sec=0 childrusage.ru_utime.tv_usec=738887 childrusage.ru_stime.tv_sec=0 childrusage.ru_stime.tv_usec=84987
CPU time returned by wait4() is 0.823874
while last known CPU time is 1.03

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

Real time (s): 1.16568
CPU time (s): 1.03
CPU user time (s): 0.93
CPU system time (s): 0.1
CPU usage (%): 88.3602
Max. virtual memory (cumulated for all children) (KiB): 821396

getrusage(RUSAGE_CHILDREN,...) data:
user time used= 0.738887
system time used= 0.084987
maximum resident set size= 0
integral shared memory size= 0
integral unshared data size= 0
integral unshared stack size= 0
page reclaims= 11200
page faults= 2
swaps= 0
block input operations= 0
block output operations= 0
messages sent= 0
messages received= 0
signals received= 0
voluntary context switches= 885
involuntary context switches= 813

runsolver used 0.006998 s user time and 0.008998 s system time

The end

Launcher Data (download as text)

Begin job on node34 on Mon Jan 29 22:17:35 UTC 2007


IDJOB= 240757
IDBENCH= 7168
IDSOLVER= 86
FILE ID= node34/240757-1170109054

PBS_JOBID= 3689988

Free space on /tmp= 66536 MiB

SOLVER NAME= sugar 0.40
BENCH NAME= HOME/pub/bench/CPAI06/bqwh/bqwh-15-106_glb/bqwh-15-106-21_glb.xml
COMMAND LINE= /tmp/evaluation/240757-1170109054/solver /tmp/evaluation/240757-1170109054 /tmp/evaluation/240757-1170109054/unknown.xml
RUNSOLVER COMMAND LINE= runsolver  --timestamp  -w ROOT/results/node34/watcher-240757-1170109054 -o ROOT/results/node34/solver-240757-1170109054 -C 1800 -M 900  /tmp/evaluation/240757-1170109054/solver /tmp/evaluation/240757-1170109054 /tmp/evaluation/240757-1170109054/unknown.xml

META MD5SUM SOLVER= 0a27e717dfe98d83d9802fe0eea45073
MD5SUM BENCH=  5412093234f5a08062ce1bab0d205a22

RANDOM SEED= 261811027

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:       1813992 kB
Buffers:         14064 kB
Cached:          67128 kB
SwapCached:          0 kB
Active:         176456 kB
Inactive:        24508 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      2055920 kB
LowFree:       1813992 kB
SwapTotal:     4192956 kB
SwapFree:      4192812 kB
Dirty:            1016 kB
Writeback:           0 kB
Mapped:         130704 kB
Slab:            26260 kB
Committed_AS:   428680 kB
PageTables:       1964 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= 66536 MiB



End job on node34 on Mon Jan 29 22:17:43 UTC 2007