Adaptive testing policy for multi-state systems with application to the degrading final elements in safety-instrumented systems. (May 2022)