Optimized Stress Testing for Flexible Hybrid Electronics Designs