Changes between Version 3 and Version 4 of Ticket #4975, comment 14


Ignore:
Timestamp:
2018-07-13T14:12:39Z (7 years ago)
Author:
massimo ceraolo

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4975, comment 14

    v3 v4  
    774) re-simulate several times: simulation time toggles between 1s and 2s
    88
    9 COMMENT UPDATE
    109
    11 I see that with the above procedure I can reproduce or not reproduce the bad behaviour in a way that looks rather random.
    12 I will try to find a more reliable procedure. When (and if!) this happens I will update this comment again.
     10'''NEWLY EDITED COMMENT TO ENHANCE THE ISSUE DESCRIPTION
     11'''@adeas, please tell me if you can reproduce it.
     12
     13Well, I eventually found that this comment's issue is not related to this ticket, but I think it is better to add details here. It is an issue related to plot window display.
     14
     15Software framework:
     16note that I made my tests with
     17   OMEdit 1.13.0~dev-137-g0e9c2ff  Connected to OpenModelica 1.13.0~dev-1195-g6d891ea
     18   on Ubuntu 16.04
     19I also used as Options.Plotting  "SubWindow view"
     20
     21Steps to reproduce:
     220) create two models RL1 and RL2 identical to RL of this ticket's package TestOptAnn. In both of them remove StopTime from the experiment annotation.
     231) start OmEdit and load RL1 and RL2.
     242) simulate RL1, open a full-screen plot window, and look at inductor1.i: one-second plot is displayed
     253) open RL2 and set stopTime=2s using Simulation Setup button, click ok (with the Simulate check-box checked).
     264) open a new  plot window, and in it look at inductor1.i (from RL2 ouput). A two-second plot is displayed
     275) re-simulate several times: apparently the horizontal axis of inductor.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 just this unjustified plot toggle.'''