SMS: Learning symbolic abstractions from system execution traces