add reporting of memory size when testing SMAC compression library.
also add test command to report memory usage (RSS on OSX, VMsize
on linux, because VMsize on OSX reports all system libraries, so
reports about 2GB even for tiny programmes.)