Skip to content

Commit

Permalink
Update reference results due to MSL 3.2.1 change
Browse files Browse the repository at this point in the history
  • Loading branch information
sjoelund committed Jun 2, 2015
1 parent 3748371 commit 25e582b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Binary file not shown.
9 changes: 8 additions & 1 deletion simulation/libraries/common/ModelTesting.mos
Expand Up @@ -206,7 +206,14 @@ elseif (modelTestingType == OpenModelicaModelTesting.Kind.VerifiedSimulation) or
print("Files Equal!\n");
end if;
if not res then
print("Failed variables: " + sum(var for var in failVars));
print("Failed variables: " + sum(var for var in failVars) + "\n");
print(error);
print(getErrorString());
minimalResult := OpenModelica.Scripting.stringReplace(resultFile, "_res.mat", ".minimal.mat");
OpenModelica.Scripting.filterSimulationResults(resultFile,minimalResult,vars=compareVars);
system("xz --best --keep --force '" + minimalResult + "'");
system("ls -lh '" + resultFile + "' '" + minimalResult + "'* '" + referenceFile + "'*");
print("Failed variables: " + sum(var for var in failVars) + "\n");
print(error);
print(getErrorString());
info:=checkSettings();
Expand Down

0 comments on commit 25e582b

Please sign in to comment.