Trace number 240640

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.06 1.36055

General information on the benchmark

Namebqwh/bqwh-15-106_glb/
bqwh-15-106-9_glb.xml
MD5SUM4692aed58344e848aece738ca91b6cbc
Bench CategoryGLOBAL (global constraints)
Best result obtained on this benchmarkSAT
Best CPU time to get the best result obtained on this benchmark0.020996
SatisfiableYES
(Un)Satisfiability was proved
Number of variables106
Number of constraints30
Maximum constraint arity8
Maximum domain size5
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.05	c # Sugar v0-40 (/tmp/evaluation/240640-1170109043/sugar-v0-40.jar)
0.05	
0.05	c # MAIN  BEGIN : /tmp/evaluation/240640-1170109043/unknown.xml [Mon Jan 29 23:17:27 2007]
0.05	c # CONVERT_XML  BEGIN : /tmp/evaluation/240640-1170109043/unknown.xml /tmp/evaluation/240640-1170109043/sugar28817.csp [Mon Jan 29 23:17:27 2007]
0.05	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/240640-1170109043/sugar-v0-40.jar -convert /tmp/evaluation/240640-1170109043/unknown.xml /tmp/evaluation/240640-1170109043/sugar28817.csp
0.17	c BEGIN convert /tmp/evaluation/240640-1170109043/unknown.xml
0.32	c END convert (0.157595 seconds)
0.34	c # CONVERT_XML  END : /tmp/evaluation/240640-1170109043/sugar28817.csp 16477 bytes (0 seconds) [Mon Jan 29 23:17:27 2007]
0.34	c # CONVERT_XML  CPU : 0 = 0 + 0 + 0 + 0
0.34	
0.34	c # GENERATE_SAT  BEGIN : /tmp/evaluation/240640-1170109043/sugar28817.bcnf [Mon Jan 29 23:17:27 2007]
0.34	c # CMD : java -Xms200M -Xmx600M -jar /tmp/evaluation/240640-1170109043/sugar-v0-40.jar -bcnf -map /tmp/evaluation/240640-1170109043/sugar28817.map /tmp/evaluation/240640-1170109043/sugar28817.csp /tmp/evaluation/240640-1170109043/sugar28817.bcnf
0.48	c BEGIN parse /tmp/evaluation/240640-1170109043/sugar28817.csp
0.79	c END parse (0.303665 seconds)
0.79	c BEGIN simplify
0.81	c END simplify (0.021001 seconds)
0.81	c BEGIN encode /tmp/evaluation/240640-1170109043/sugar28817.bcnf
0.88	c END encode (0.074437 seconds)
0.92	c # GENERATE_SAT  END : 2315 variables 13074 clauses 195076 bytes (1 seconds) [Mon Jan 29 23:17:28 2007]
0.93	c # GENERATE_SAT  CPU : 0.52 = 0.02 + 0 + 0.47 + 0.03
0.93	
0.93	c # SOLVE_SAT  BEGIN : /tmp/evaluation/240640-1170109043/sugar28817.bcnf [Mon Jan 29 23:17:28 2007]
0.93	c # CMD : /tmp/evaluation/240640-1170109043/minisat /tmp/evaluation/240640-1170109043/sugar28817.bcnf /tmp/evaluation/240640-1170109043/sugar28817.out
0.93	c ==================================[MINISAT]===================================
0.93	c | Conflicts |     ORIGINAL     |              LEARNT              | Progress |
0.93	c |           | Clauses Literals |   Limit Clauses Literals  Lit/Cl |          |
0.93	c ==============================================================================
0.93	c |         0 |   13068    35680 |    4356       0        0     nan |  0.000 % |
0.94	c ==============================================================================
0.94	c restarts              : 1
0.94	c conflicts             : 10             (909 /sec)
0.94	c decisions             : 39             (3546 /sec)
0.94	c propagations          : 6681           (607474 /sec)
0.94	c conflict literals     : 112            (6.67 % deleted)
0.94	c Memory used           : 2.15 MB
0.94	c CPU time              : 0.010998 s
0.94	c 
0.94	c SATISFIABLE
0.94	c # SOLVE_SAT  END : SATISFIABLE (0 seconds) [Mon Jan 29 23:17:28 2007]
0.94	c # SOLVE_SAT  CPU : 0.02 = 0 + 0.01 + 0.01 + 0
0.94	
0.94	c # RESULT : SATISFIABLE
0.94	
0.94	c # OUTPUT_SOL  BEGIN : SAT  [Mon Jan 29 23:17:28 2007]
1.06	c BEGIN read SAT output /tmp/evaluation/240640-1170109043/sugar28817.out
1.09	c END read SAT output (0.026835 seconds)
1.09	c BEGIN write solution /tmp/evaluation/240640-1170109043/sugar28817.sol
1.18	c END write solution (0.091246 seconds)
1.27	s SATISFIABLE
1.27	v 12 7 4 6 1 5 8 14 2 1 0 7 10 13 10 5 4 11 7 2 1 13 10 4 1 9 7 3 2 11 13 3 12 10 14 13 12 6 7 4 0 2 3 9 2 14 0 8 10 9 4 0 14 2 5 6 12 6 9 11 4 12 1 10 2 0 1 13 3 8 7 4 13 9 1 8 10 5 1 0 14 6 8 2 7 14 8 1 5 6 13 0 10 4 2 1 9 3 14 1 14 5 13 0 11 8
1.27	c # OUTPUT_SOL  END :  (0 seconds) [Mon Jan 29 23:17:28 2007]
1.27	c # OUTPUT_SOL  CPU : 0.23 = 0 + 0 + 0.2 + 0.03
1.27	
1.27	c # MAIN  END :  (1 seconds) [Mon Jan 29 23:17:28 2007]
1.27	c # MAIN  CPU : 0.77 = 0.02 + 0.01 + 0.68 + 0.06
1.27	

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/node65/watcher-240640-1170109043 -o ROOT/results/node65/solver-240640-1170109043 -C 1800 -M 900 /tmp/evaluation/240640-1170109043/solver /tmp/evaluation/240640-1170109043 /tmp/evaluation/240640-1170109043/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.45 2.79 2.67 5/81 28818
/proc/meminfo: memFree=16136/2055920 swapFree=4192812/4192956
[pid=28817] ppid=28815 vsize=18540 CPUtime=0
/proc/28817/stat : 28817 (runsolver) R 28815 28817 28752 0 -1 4194368 16 0 0 0 0 0 0 0 20 0 1 0 30862240 18984960 279 18446744073709551615 4194304 4267372 548682069040 18446744073709551615 257203694887 0 0 4096 24578 0 0 0 17 1 0 0
/proc/28817/statm: 4635 279 244 17 0 2626 0

[startup+0.109994 s]
/proc/loadavg: 2.45 2.79 2.67 5/81 28818
/proc/meminfo: memFree=16136/2055920 swapFree=4192812/4192956
[pid=28817] ppid=28815 vsize=13724 CPUtime=0.03
/proc/28817/stat : 28817 (sugar) S 28815 28817 28752 0 -1 4194304 1112 0 0 0 3 0 0 0 20 0 1 0 30862240 14053376 805 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 257212592226 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/28817/statm: 3431 805 368 3 0 531 0
Current children cumulated CPU time (s) 0.03
Current children cumulated vsize (KiB) 13724

[startup+0.523052 s]
/proc/loadavg: 2.45 2.79 2.67 5/81 28818
/proc/meminfo: memFree=16136/2055920 swapFree=4192812/4192956
[pid=28817] ppid=28815 vsize=13724 CPUtime=0.03
/proc/28817/stat : 28817 (sugar) S 28815 28817 28752 0 -1 4194304 1188 0 0 0 3 0 0 0 15 0 1 0 30862240 14053376 808 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 257212592226 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/28817/statm: 3431 808 370 3 0 531 0
Current children cumulated CPU time (s) 0.03
Current children cumulated vsize (KiB) 13724

[startup+1.34418 s]
/proc/loadavg: 2.45 2.79 2.67 3/90 28843
/proc/meminfo: memFree=23552/2055920 swapFree=4192812/4192956
[pid=28817] ppid=28815 vsize=14524 CPUtime=0.8
/proc/28817/stat : 28817 (sugar) D 28815 28817 28752 0 -1 4194304 1595 9650 0 2 5 1 68 6 15 0 1 0 30862240 14872576 1006 18446744073709551615 4194304 4206940 548682069232 18446744073709551615 257203868713 0 0 4224 16386 18446744071563608069 0 0 17 1 0 0
/proc/28817/statm: 3631 1006 373 3 0 731 0
[pid=28819] ppid=28817 vsize=0 CPUtime=0.26
/proc/28819/stat : 28819 (java) Z 28817 28817 28752 0 -1 1036 3605 0 1 0 23 3 0 0 17 0 1 0 30862245 0 0 18446744073709551615 0 0 0 0 0 0 4 0 23759 18446744071563351923 0 0 17 1 0 0
/proc/28819/statm: 0 0 0 0 0 0 0
Current children cumulated CPU time (s) 1.06
Current children cumulated vsize (KiB) 14524

Child status: 0

!!! problem with CPU time !!!
wait4(...,&childrusage) returns 28817 and gives childrusage.ru_utime.tv_sec=0 childrusage.ru_utime.tv_usec=740887 childrusage.ru_stime.tv_sec=0 childrusage.ru_stime.tv_usec=77988
CPU time returned by wait4() is 0.818875
while last known CPU time is 1.06

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

Real time (s): 1.36055
CPU time (s): 1.06
CPU user time (s): 0.96
CPU system time (s): 0.1
CPU usage (%): 77.9099
Max. virtual memory (cumulated for all children) (KiB): 821528

getrusage(RUSAGE_CHILDREN,...) data:
user time used= 0.740887
system time used= 0.077988
maximum resident set size= 0
integral shared memory size= 0
integral unshared data size= 0
integral unshared stack size= 0
page reclaims= 11299
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= 829
involuntary context switches= 786

runsolver used 0.003999 s user time and 0.010998 s system time

The end

Launcher Data (download as text)

Begin job on node65 on Mon Jan 29 22:17:25 UTC 2007


IDJOB= 240640
IDBENCH= 7144
IDSOLVER= 86
FILE ID= node65/240640-1170109043

PBS_JOBID= 3689984

Free space on /tmp= 46089 MiB

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

META MD5SUM SOLVER= 0a27e717dfe98d83d9802fe0eea45073
MD5SUM BENCH=  4692aed58344e848aece738ca91b6cbc

RANDOM SEED= 208422445

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.259
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.259
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:         16872 kB
Buffers:          3060 kB
Cached:        1732572 kB
SwapCached:          0 kB
Active:         238492 kB
Inactive:      1713092 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      2055920 kB
LowFree:         16872 kB
SwapTotal:     4192956 kB
SwapFree:      4192812 kB
Dirty:          821020 kB
Writeback:           0 kB
Mapped:         231656 kB
Slab:            72328 kB
Committed_AS:   525024 kB
PageTables:       2292 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= 46013 MiB



End job on node65 on Mon Jan 29 22:17:30 UTC 2007