Issue with Re-simulate
this issue was seen on
OMEdit 1.13.0~dev-137-g0e9c2ff Connected to OpenModelica 1.13.0~dev-1195-g6d891ea
on Ubuntu 16.04
to see it OMEdit should have in Options.Plotting "SubWindow view"
Steps to reproduce:
1) load Resimulate.mo;
2) simulate RL1, open a full-screen plot window, and look at inductor1.i: one-second plot is displayed
3) open RL2 and simulate it
4) open a new plot window, and in it look at inductor1.i (from RL2 output). A two-second plot is displayed
5) Click on Re-simulate button several times (this intends to resimulate RL2): apparently the horizontal axis of inductor1.i toggles between 1s and 2s. In reality, what happens is that the output toggles between Plot:1 and Plot:2. So simulations are correct, what is misleading is this unjustified plot toggle. During this the output from RL2 is always selected making the user think that what he sees is from RL2.
NOTE: this issue is the same discussed in comment 14 of ticket #4975.
Fixed in a0c6d7b/OMEdit. It was an easy fix but took me a while to find the stupid mistake :).