timing_model: rename delay/phase funcs.
Add simple model test prog.