%description: Test that simple module stack is properly cleaned up at the end of the simulation. %global: class Noisy { public: Noisy() {EV << "Noisy ctor!\n";} virtual ~Noisy() {EV << "Noisy dtor!\n";} }; %activity: EV << "begin\n"; Noisy x; wait(1000); wait(1000); %inifile: test.ini [General] network = Test cmdenv-express-mode = false sim-time-limit = 5s %contains-regex: stdout begin Noisy ctor! .*time limit reached.* Noisy dtor!