Trace number 1039890

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. The first timestamp (if present) is estimated CPU time. The last timestamp is wall clock 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 v1.13+minisatSAT 1.89171 1.90903

General information on the benchmark

Namecsp/magicSquare/
normalized-magicSquare-5_glb.xml
MD5SUMfa7a94d8d37adb2e5cb8ad51ba689579
Bench CategoryGLOBAL (global constraints)
Best result obtained on this benchmarkSAT
Best CPU time to get the best result obtained on this benchmark0.016996
Satisfiable
(Un)Satisfiability was proved
Number of variables25
Number of constraints13
Maximum constraint arity25
Maximum domain size25
Number of constraints which are defined in extension0
Number of constraints which are defined in intension0
Global constraints used (with number of constraints)alldifferent(1),weightedsum(12)

Solver Data (download as text)

0.02/0.05	c 0	Sugar v1-13 + HOME/minisat
0.02/0.05	c 0	BEGIN Wed Jul  2 13:12:16 2008
0.02/0.05	c 0	PID 7449
0.02/0.05	c 0	HOST node7.alineos.net
0.02/0.05	c 0	CONVERTING HOME/instance-1039890-1214997136.xml TO HOME/temp.csp
0.02/0.05	c 0	CMD java -Xmx700M -cp 'HOME/sugar-v1-13.jar' jp.ac.kobe_u.cs.sugar.XML2CSP 'HOME/instance-1039890-1214997136.xml' 'HOME/temp.csp'
0.04/0.20	c 0	1 domains, 25 variables, 0 predicates, 0 relations, 13 constraints
0.04/0.20	c 0	ENCODING HOME/temp.csp TO HOME/temp.cnf
0.04/0.20	c 0	CMD java -Xmx700M -cp 'HOME/sugar-v1-13.jar' jp.ac.kobe_u.cs.sugar.SugarMain -competition -encode 'HOME/temp.csp' 'HOME/temp.cnf' 'HOME/temp.map'
0.17/0.31	c 1	Parsing HOME/temp.csp
0.17/0.35	c 1	parsed 39 expressions
0.17/0.35	c 1	Heap : 0 MB used (max 728 MB), NonHeap : 13 MB used (max 121 MB)
0.17/0.35	c 1	Converting to clausal form CSP
0.17/0.37	c 1	converted 4 (10%) expressions
0.17/0.37	c 1	converted 8 (20%) expressions
0.17/0.37	c 1	converted 12 (30%) expressions
0.17/0.37	c 1	converted 16 (40%) expressions
0.17/0.37	c 1	converted 20 (50%) expressions
0.17/0.37	c 1	converted 24 (60%) expressions
0.17/0.39	c 1	converted 28 (70%) expressions
0.17/0.41	c 1	converted 32 (80%) expressions
0.17/0.41	c 1	converted 36 (90%) expressions
0.17/0.45	c 1	converted 39 (100%) expressions
0.17/0.45	c 1	CSP : 97 integers, 0 booleans, 470 clauses, largest domain size 73
0.17/0.45	c 1	Heap : 0 MB used (max 728 MB), NonHeap : 13 MB used (max 121 MB)
0.17/0.45	c 1	Propagation in CSP
0.17/0.48	c 1	288 values, 0 unsatisfiable literals, and 0 valid clauses are removed
0.17/0.48	c 1	CSP : 97 integers, 0 booleans, 470 clauses, largest domain size 61
0.17/0.48	c 1	Heap : 0 MB used (max 728 MB), NonHeap : 13 MB used (max 121 MB)
0.17/0.48	c 1	Simplifing CSP by introducing new Boolean variables
0.17/0.49	c 1	CSP : 97 integers, 600 booleans, 1070 clauses, largest domain size 61
0.17/0.49	c 1	Heap : 1 MB used (max 728 MB), NonHeap : 14 MB used (max 121 MB)
0.17/0.52	c 1	Encoding CSP to SAT : HOME/temp.cnf
0.17/0.53	c 1	10 (10%) CSP integer variables are encoded (230 clauses, 2388 bytes)
0.17/0.54	c 1	20 (20%) CSP integer variables are encoded (460 clauses, 4918 bytes)
0.17/0.54	c 1	30 (30%) CSP integer variables are encoded (834 clauses, 9032 bytes)
0.17/0.54	c 1	39 (40%) CSP integer variables are encoded (1293 clauses, 14734 bytes)
0.17/0.54	c 1	49 (50%) CSP integer variables are encoded (1799 clauses, 21312 bytes)
0.17/0.54	c 1	59 (60%) CSP integer variables are encoded (2305 clauses, 27890 bytes)
0.17/0.54	c 1	68 (70%) CSP integer variables are encoded (2764 clauses, 33857 bytes)
0.17/0.54	c 1	78 (80%) CSP integer variables are encoded (3282 clauses, 40591 bytes)
0.17/0.54	c 1	88 (90%) CSP integer variables are encoded (3788 clauses, 47169 bytes)
0.17/0.54	c 1	97 (100%) CSP integer variables are encoded (4247 clauses, 53136 bytes)
0.17/0.69	c 1	107 (10%) CSP clauses are encoded (79121 clauses, 1248993 bytes)
0.17/0.77	c 1	214 (20%) CSP clauses are encoded (121101 clauses, 1945382 bytes)
0.17/0.77	c 1	321 (30%) CSP clauses are encoded (122912 clauses, 1973337 bytes)
0.17/0.78	c 1	428 (40%) CSP clauses are encoded (124747 clauses, 2001975 bytes)
0.17/0.78	c 1	535 (50%) CSP clauses are encoded (126558 clauses, 2031679 bytes)
0.17/0.79	c 1	642 (60%) CSP clauses are encoded (128369 clauses, 2061647 bytes)
0.17/0.80	c 1	749 (70%) CSP clauses are encoded (130204 clauses, 2092019 bytes)
0.17/0.80	c 1	856 (80%) CSP clauses are encoded (132015 clauses, 2121987 bytes)
0.17/0.81	c 1	963 (90%) CSP clauses are encoded (133826 clauses, 2151955 bytes)
0.17/0.81	c 1	1070 (100%) CSP clauses are encoded (135613 clauses, 2181714 bytes)
0.17/0.81	c 1	1070 CSP clauses encoded
0.17/0.81	c 1	Writing map file : HOME/temp.map
0.17/0.81	c 1	Heap : 1 MB used (max 728 MB), NonHeap : 14 MB used (max 121 MB)
0.17/0.81	c 1	SAT : 4944 SAT variables, 135613 SAT clauses, 2181714 bytes
0.17/0.81	c 1	Heap : 1 MB used (max 728 MB), NonHeap : 14 MB used (max 121 MB)
0.17/0.86	c 1	SOLVING HOME/temp.cnf
0.17/0.86	c 1	CMD HOME/minisat 'HOME/temp.cnf' 'HOME/temp.out'
0.17/0.86	c 1	This is MiniSat 2.0 beta
0.17/0.86	c 1	WARNING: for repeatability, setting FPU to use double precision
0.17/0.86	c 1	============================[ Problem Statistics ]=============================
0.17/0.86	c 1	|                                                                             |
0.17/0.86	c 1	|  Number of variables:  4944                                                 |
0.17/0.86	c 1	|  Number of clauses:    135613                                               |
0.87/0.92	c 1	|  Parsing time:         0.05         s                                       |
0.87/0.93	c 1	============================[ Search Statistics ]==============================
0.87/0.93	c 1	| Conflicts |          ORIGINAL         |          LEARNT          | Progress |
0.87/0.93	c 1	|           |    Vars  Clauses Literals |    Limit  Clauses Lit/Cl |          |
0.87/0.93	c 1	===============================================================================
0.87/0.93	c 1	|         0 |    4944   135613   392208 |    45204        0    nan |  0.000 % |
0.87/1.00	c 1	|       101 |    4944   135613   392208 |    49724      101     18 |  0.000 % |
1.10/1.12	c 1	|       252 |    4944   135613   392208 |    54697      252     17 |  0.000 % |
1.20/1.25	c 1	|       478 |    4944   135613   392208 |    60166      478     17 |  0.000 % |
1.50/1.50	c 2	|       815 |    4944   135613   392208 |    66183      815     17 |  0.000 % |
1.69/1.74	c 2	===============================================================================
1.69/1.74	c 2	restarts              : 5
1.69/1.74	c 2	conflicts             : 1131           (1317 /sec)
1.69/1.74	c 2	decisions             : 1602           (0.25 % random) (1865 /sec)
1.69/1.74	c 2	propagations          : 645050         (751046 /sec)
1.69/1.74	c 2	conflict literals     : 18141          (19.38 % deleted)
1.69/1.74	c 2	Memory used           : 7.73 MB
1.69/1.74	c 2	CPU time              : 0.858869 s
1.69/1.74	c 2	
1.69/1.74	c 2	SATISFIABLE
1.69/1.74	c 2	DECODING HOME/temp.out WITH HOME/temp.map
1.69/1.74	c 2	CMD java -Xmx700M -cp 'HOME/sugar-v1-13.jar' jp.ac.kobe_u.cs.sugar.SugarMain -competition -decode 'HOME/temp.out' 'HOME/temp.map'
1.75/1.82	c 2	Decoding HOME/temp.out
1.75/1.86	s SATISFIABLE
1.75/1.86	v 18 1 2 20 24 13 22 16 9 5 19 17 8 6 15 12 21 14 7 11 3 4 25 23 10
1.75/1.86	c 2	Heap : 0 MB used (max 728 MB), NonHeap : 13 MB used (max 121 MB)
1.75/1.90	c 2	CPU 1.73 (0.03 0.01 1.7 0.13)
1.75/1.90	c 2	END Wed Jul  2 13:12:18 2008

Verifier Data (download as text)

OK

Watcher Data (download as text)

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

command line: /home/evaluation/evaluation/pub/bin/runsolver --timestamp -w /tmp/evaluation-result-1039890-1214997136/watcher-1039890-1214997136 -o /tmp/evaluation-result-1039890-1214997136/solver-1039890-1214997136 -C 1800 -W 2200 -M 900 --output-limit 1,15 HOME/sugar -c -vv -java=java -Xmx700M -jar=HOME/sugar-v1-13.jar -solver=HOME/minisat -tmp=HOME/temp HOME/instance-1039890-1214997136.xml 

Enforcing CPUTime limit (soft limit, will send SIGTERM then SIGKILL): 1800 seconds
Enforcing CPUTime limit (hard limit, will send SIGXCPU): 1830 seconds
Enforcing wall clock limit (soft limit, will send SIGTERM then SIGKILL): 2200 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
Solver output will be limited to a maximum of 15728640 bytes. The first 1048576 bytes and the last 14680064 bytes will be preserved
Current StackSize limit: 10240 KiB


[startup+0 s]
/proc/loadavg: 0.00 0.00 0.00 4/83 7449
/proc/meminfo: memFree=1460560/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=12268 CPUtime=0
/proc/7449/stat : 7449 (sugar) R 7447 7449 7393 0 -1 4194304 348 0 0 0 0 0 0 0 20 0 1 0 1978688790 12562432 316 996147200 4194304 4206940 548682068608 18446744073709551615 244671281765 0 2147483391 4224 0 0 0 0 17 1 0 0
/proc/7449/statm: 3067 316 241 3 0 167 0

[startup+0.044912 s]
/proc/loadavg: 0.00 0.00 0.00 4/83 7449
/proc/meminfo: memFree=1460560/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13204 CPUtime=0.02
/proc/7449/stat : 7449 (sugar) R 7447 7449 7393 0 -1 4194304 687 0 0 0 2 0 0 0 18 0 1 0 1978688790 13520896 655 996147200 4194304 4206940 548682068608 18446744073709551615 244680014846 0 0 4224 0 0 0 0 17 0 0 0
/proc/7449/statm: 3301 655 336 3 0 401 0
Current children cumulated CPU time (s) 0.02
Current children cumulated vsize (KiB) 13204

[startup+0.102579 s]
/proc/loadavg: 0.00 0.00 0.00 4/83 7449
/proc/meminfo: memFree=1460560/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13600 CPUtime=0.04
/proc/7449/stat : 7449 (sugar) S 7447 7449 7393 0 -1 4194304 900 127 0 0 3 1 0 0 19 0 1 0 1978688790 13926400 796 996147200 4194304 4206940 548682068608 18446744073709551615 244680011874 0 0 4224 16386 18446744071563648864 0 0 17 0 0 0
/proc/7449/statm: 3400 796 370 3 0 500 0
Current children cumulated CPU time (s) 0.04
Current children cumulated vsize (KiB) 13600

[startup+0.301937 s]
/proc/loadavg: 0.00 0.00 0.00 4/83 7449
/proc/meminfo: memFree=1460560/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13600 CPUtime=0.17
/proc/7449/stat : 7449 (sugar) S 7447 7449 7393 0 -1 4194304 956 4017 0 1 3 1 11 2 16 0 1 0 1978688790 13926400 797 996147200 4194304 4206940 548682068608 18446744073709551615 244680011874 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/7449/statm: 3400 797 370 3 0 500 0
Current children cumulated CPU time (s) 0.17
Current children cumulated vsize (KiB) 13600

[startup+0.701977 s]
/proc/loadavg: 0.00 0.00 0.00 4/83 7449
/proc/meminfo: memFree=1460560/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13600 CPUtime=0.17
/proc/7449/stat : 7449 (sugar) S 7447 7449 7393 0 -1 4194304 974 4017 0 1 3 1 11 2 15 0 1 0 1978688790 13926400 797 996147200 4194304 4206940 548682068608 18446744073709551615 244680011874 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/7449/statm: 3400 797 370 3 0 500 0
Current children cumulated CPU time (s) 0.17
Current children cumulated vsize (KiB) 13600

[startup+1.50107 s]
/proc/loadavg: 0.00 0.00 0.00 3/71 7514
/proc/meminfo: memFree=1461744/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13600 CPUtime=0.87
/proc/7449/stat : 7449 (sugar) S 7447 7449 7393 0 -1 4194304 1031 10551 0 2 3 1 74 9 15 0 1 0 1978688790 13926400 798 996147200 4194304 4206940 548682068608 18446744073709551615 244680011874 0 0 4224 16386 18446744071563648864 0 0 17 0 0 0
/proc/7449/statm: 3400 798 370 3 0 500 0
[pid=7490] ppid=7449 vsize=5356 CPUtime=0
/proc/7490/stat : 7490 (sh) S 7449 7449 7393 0 -1 4194304 277 0 0 0 0 0 0 0 18 0 1 0 1978688877 5484544 232 996147200 4194304 4889804 548682068848 18446744073709551615 244671112004 0 65536 4100 65538 18446744071563356171 0 0 17 0 0 0
/proc/7490/statm: 1339 232 193 169 0 50 0
[pid=7491] ppid=7490 vsize=7908 CPUtime=0.63
/proc/7491/stat : 7491 (minisat) R 7490 7449 7393 0 -1 4194304 1872 0 0 0 62 1 0 0 23 0 1 0 1978688877 8097792 1858 996147200 134512640 135127466 4294956272 18446744073709551615 134530775 0 0 4096 3 0 0 0 17 0 0 0
/proc/7491/statm: 1977 1858 75 150 0 1824 0
Current children cumulated CPU time (s) 1.5
Current children cumulated vsize (KiB) 26864

Solver just ended. Dumping a history of the last processes samples

[startup+1.90111 s]
/proc/loadavg: 0.00 0.00 0.00 3/71 7514
/proc/meminfo: memFree=1461744/2055920 swapFree=4180052/4192956
[pid=7449] ppid=7447 vsize=13600 CPUtime=1.75
/proc/7449/stat : 7449 (sugar) S 7447 7449 7393 0 -1 4194304 1090 12730 0 2 3 1 160 11 16 0 1 0 1978688790 13926400 798 996147200 4194304 4206940 548682068608 18446744073709551615 244680011874 0 0 4224 16386 18446744071563648864 0 0 17 1 0 0
/proc/7449/statm: 3400 798 370 3 0 500 0
Current children cumulated CPU time (s) 1.75
Current children cumulated vsize (KiB) 13600

Child status: 0
Real time (s): 1.90903
CPU time (s): 1.89171
CPU user time (s): 1.73973
CPU system time (s): 0.151976
CPU usage (%): 99.0927
Max. virtual memory (cumulated for all children) (KiB): 26864

getrusage(RUSAGE_CHILDREN,...) data:
user time used= 1.73974
system time used= 0.151976
maximum resident set size= 0
integral shared memory size= 0
integral unshared data size= 0
integral unshared stack size= 0
page reclaims= 17563
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= 1207
involuntary context switches= 927

runsolver used 0.004999 second user time and 0.011998 second system time

The end

Launcher Data (download as text)

Begin job on node7 at 2008-07-02 13:12:16
IDJOB=1039890
IDBENCH=53651
IDSOLVER=346
FILE ID=node7/1039890-1214997136
PBS_JOBID= 7870909
Free space on /tmp= 66556 MiB

SOLVER NAME= Sugar v1.13+minisat
BENCH NAME= CPAI08/csp/magicSquare/normalized-magicSquare-5_glb.xml
COMMAND LINE= DIR/sugar -c -vv -java="java -Xmx700M" -jar="DIR/sugar-v1-13.jar" -solver="DIR/minisat" -tmp="TMPDIR/temp" BENCHNAME
RUNSOLVER COMMAND LINE= /home/evaluation/evaluation/pub/bin/runsolver --timestamp -w /tmp/evaluation-result-1039890-1214997136/watcher-1039890-1214997136 -o /tmp/evaluation-result-1039890-1214997136/solver-1039890-1214997136 -C 1800 -W 2200 -M 900 --output-limit 1,15  HOME/sugar -c -vv -java="java -Xmx700M" -jar="HOME/sugar-v1-13.jar" -solver="HOME/minisat" -tmp="HOME/temp" HOME/instance-1039890-1214997136.xml

TIME LIMIT= 1800 seconds
MEMORY LIMIT= 900 MiB

MD5SUM BENCH= fa7a94d8d37adb2e5cb8ad51ba689579
RANDOM SEED=1347020953

node7.alineos.net Linux 2.6.9-22.EL.rootsmp #1 SMP Mon Oct 3 08:59:52 CEST 2005

/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.236
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.236
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:       1461232 kB
Buffers:         60844 kB
Cached:         436076 kB
SwapCached:       7028 kB
Active:         137660 kB
Inactive:       380936 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:      2055920 kB
LowFree:       1461232 kB
SwapTotal:     4192956 kB
SwapFree:      4180052 kB
Dirty:            2376 kB
Writeback:           0 kB
Mapped:          32720 kB
Slab:            61364 kB
Committed_AS:  4012752 kB
PageTables:       1856 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= 66548 MiB
End job on node7 at 2008-07-02 13:12:18