Opened 9 years ago

Closed 3 years ago

Last modified 3 years ago

#3759 closed defect (fixed)

[Clock] time values are not strict monotonically increasing

Reported by: Lennart Ochel Owned by: Lennart Ochel
Priority: high Milestone: 1.19.0
Component: Run-time Version:
Keywords: Cc: Bernhard Thiele

Description

The following simple test case produces a result file with time values that are not strict monotonically increasing.

setCommandLineOptions("+std=3.3"); getErrorString();
loadString("
model TestClock
  Integer nextInterval(start=1);
  Clock c = Clock(nextInterval, 10);
equation
  when c then
    nextInterval = previous(nextInterval) + 1;
  end when;
end TestClock;
"); getErrorString();
simulate(TestClock, outputFormat="csv"); getErrorString();

Change History (8)

comment:1 by Lennart Ochel, 9 years ago

Owner: changed from somebody to Lennart Ochel
Status: newassigned

comment:2 by Martin Sjölund, 9 years ago

Milestone: 1.9.51.10.0

Milestone renamed

comment:3 by Martin Sjölund, 8 years ago

Milestone: 1.10.01.11.0

Ticket retargeted after milestone closed

comment:4 by Martin Sjölund, 8 years ago

Milestone: 1.11.01.12.0

Milestone moved to 1.12.0 due to 1.11.0 already being released.

comment:5 by Francesco Casella, 7 years ago

Milestone: 1.12.0Future

The milestone of this ticket has been reassigned to "Future".

If you think the issue is still valid and relevant for you, please select milestone 1.13.0 for back-end, code generation and run-time issues, or 2.0.0 for front-end issues.

If you are aware that the problem is no longer present, please select the milestone corresponding to the version of OMC you used to check that, and set the status to "worksforme".

In both cases, a short informative comment would be welcome.

comment:6 by Martin Sjölund, 7 years ago

Cc: Bernhard Thiele added
Summary: time values are not strict monotonically increasing[Clock] time values are not strict monotonically increasing

This issue still remains in the master. 0.096, 0.098, 1.0, 1.0, 0.098

comment:7 by Andreas Heuermann, 3 years ago

Resolution: fixed
Status: assignedclosed

comment:8 by Francesco Casella, 3 years ago

Milestone: Future1.19.0
Note: See TracTickets for help on using tickets.