A Formal Model for Stateful and Variant-Rich Automotive Functions | IEEE Conference Publication | IEEE Xplore