Skip to content

Commit

Permalink
Adapt test to improved treatment of vectorized models
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranke authored and OpenModelica-Hudson committed Oct 20, 2018
1 parent 13d784a commit 14ec889
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions openmodelica/cppruntime/testVectorizedBlocks.mos
Expand Up @@ -5,8 +5,6 @@

setCommandLineOptions("--std=3.3"); getErrorString();
setCommandLineOptions("-d=newInst,-nfScalarize"); getErrorString();
setCommandLineOptions("--preOptModules-=inlineArrayEqn"); getErrorString();
setCommandLineOptions("--postOptModules-=inlineArrayEqn,solveSimpleEquations"); getErrorString();
setCommandLineOptions("--postOptModules+=dumpDAE"); getErrorString();
setCommandLineOptions("--simCodeTarget=Cpp"); getErrorString();

Expand Down Expand Up @@ -44,10 +42,6 @@ val(y[10], 1.0);
// ""
// true
// ""
// true
// ""
// true
// ""
//
// ########################################
// dumpDAE
Expand All @@ -71,11 +65,11 @@ val(y[10], 1.0);
// ========================================
// 1/1 (10): u = assignClock1.u [dynamic |0|0|0|0|]
// 2/11 (10): assignClock1.y = integrator1.u [dynamic |0|0|0|0|]
// 3/21 (1): integrator1.y = y [dynamic |0|0|0|0|]
// 4/22 (1): assignClock1.y = assignClock1.u [dynamic |0|0|0|0|]
// 5/23 (1): for $i in 1 : 10 loop
// 3/21 (10): y = integrator1.y [dynamic |0|0|0|0|]
// 4/31 (10): assignClock1.y = assignClock1.u [dynamic |0|0|0|0|]
// 5/41 (1): for $i in 1 : 10 loop
// $DER.integrator1.y[$i]=integrator1.k[$i] * integrator1.u[$i]; end for; [dynamic |0|0|0|0|]
// 6/24 (1): for i in 1 : 10 loop
// 6/42 (1): for i in 1 : 10 loop
// (integrator1.y[i] - previous(integrator1.y[i])) / interval()=if firstTick() then 0.0 else $DER.integrator1.y[i]; end for; [dynamic |0|0|0|0|]
//
//
Expand Down

0 comments on commit 14ec889

Please sign in to comment.