Derived from the passive participle أَدَامَ (ʔadāma, “to make last”), the wine being so called because nothing else can be continued to be drunk like it, or because it ripens long.
Practice speaking and memorizing "مدام" and many other words and sentences in Arabic.