﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2016	event-bug	Lennart Ochel	Lennart Ochel	"Here is a short and strange bug regarding events/sample/when. I have already created a test (see r14752).

{{{
  model sample2
    Real x, y;
    Boolean condition1;
    Boolean condition2;
  algorithm
    condition1 := sample(0.0, 0.1);
    condition2 := sample(0.0, 0.1);
    when condition1 then
      x := pre(x) + 0.1;
    end when;
    when condition2 then
      y := pre(y) + 0.1;
    end when;
  end sample2;
}}}
I would expect that x and y has to be the same - omc not."	defect	closed	high	1.9.0	Backend	trunk	fixed		
