﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4446	Function input iteration leads to wrong results	Patrick Täuber	Patrick Täuber	"Calculating the following model leads to the wrong results for `x[2]`:
{{{#!mo
model testInputIteration
  Real x[2],z;
equation
  x[1] = 5+time;
  (x[1],x[2]) = f(z);
end testInputIteration;

function f
  input Real z;
  output Real x1;
  output Real x2;
algorithm
  x1 := z;
  x2 := z+2;
end f;
}}}

Output:
`time=0, x[1]=5, x[2]=5, z=5`

Related issue: [https://trac.openmodelica.org/OpenModelica/ticket/4046 4046]"	defect	new	high	Future	Backend			input iteration	
