trick/test/SIM_checkpoint_data_recording
Mrockwell2 f64a16ecaa
Fixed an error with checkpointing change variables (#1518)
* Fixed SIGABRT for checkpointing change variables

* Expanded the Data Recording Checkpoint test sim
  - Added a case for checkpointing change variables

* Updated the test case for checkpointing change vars
  - Changed the header, input, and log files to get better data representation

* Expanded the Checkpoint test sim
  - Added a test case covering when the only tracked variable is the change var.
2023-06-07 15:17:24 -05:00
..
models Fixed an error with checkpointing change variables (#1518) 2023-06-07 15:17:24 -05:00
Modified_data Fixed an error with checkpointing change variables (#1518) 2023-06-07 15:17:24 -05:00
RUN_test Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test1 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test2 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test3 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test4 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test5 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test6 Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
RUN_test7 Fixed an error with checkpointing change variables (#1518) 2023-06-07 15:17:24 -05:00
RUN_test8 Fixed an error with checkpointing change variables (#1518) 2023-06-07 15:17:24 -05:00
README.md Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
S_define Add test sim for interaction between data recording and checkpointing (#1398) 2022-11-21 11:57:19 -06:00
S_overrides.mk Fix Mac pipeline (#1454) 2023-02-07 15:35:22 -06:00

This test suite runs different data recording and checkpoint combinations in an effort to document and test expected behaviors.

RUN_test1 Checkpoint dumped at t=5 with data recording Run started without data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=5+

RUN_test2 Checkpoint dumped at t=5 without data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv does not exist

RUN_test3 Checkpoint dumped at t=5 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=5+

RUN_test4 Checkpoint dumped at t=2 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=2+

RUN_test5 Checkpoint dumped at t=7 with data recording Run started with data recording Checkpoint loaded at t=5 Expected: log_foo.csv contains data recorded from t=7+

RUN_test6 Checkpoint dumped at t=7 with data recording group foo2 Run started with data recording group 1 Checkpoint loaded at t=5 Expected: ?

Overall: expectation is that what loads in from the checkpoint should take precedence and overwrite the file of the same name.