extract core.memory.selftest()