I'd fit the old hose to the new machine.
This will either work, or fail spectacularly.
It depends how advanced the new hose is. If it has electrical contacts running through it, you need to keep that hose as there will be a solenoid which is activated / opened by the washing machine sending current down the hose.
If it works, happy days. You'll just have to accept that there is now a minutely higher chance of a leak.
Buy a brand new normal hose for the new machine in mitigation?
. Why would the OP want to void the new machine's warranty?