﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1372	instantiation of example using Modelica.Math.Matrices.norm fails	Peter Aronsson	Peter Aronsson	"This model fails to instantiate (using instantiateModel in a mos-file).

NOTE: this must be fixed also on OpenModelica-1.5.1-Maintenance branch! 
{{{ model Test_Math_Matrices_norm
  parameter Real A[:,:]=[1,10,1000;0.01,0,10;0.005,0.01,10];
  Real x1;
  Real x2;
  Real x3;
  Real x4;
equation
  x1=Modelica.Math.Matrices.norm(A, 1) ""Should return 1020"";
  x2=Modelica.Math.Matrices.norm(A, 2) ""Should return 1000.15"";
  x3=Modelica.Math.Matrices.norm(A, Modelica.Constants.inf) ""Should return 1011"";
  x4=Modelica.Math.Matrices.norm(A) ""Should return 1000.15"";
end Test_Math_Matrices_norm;}}}

It gives this error message:
{{{ instantiateDaeFunction failed for Modelica.Math.Matrices.norm in scope: Test_Math_Matrices_norm
}}}"	defect	closed	blocker	White December			fixed		Peter Aronsson Adrian Pop
