A non-jury trial is getting under way for a man accused of stabbing to death his girlfriend's 6-year-old daughter in front of her twin sister and later claiming god told him to do it.