Skip to content

Failed

tests / 05 testsuite-clang 2/3 / simulation_modelica_newtonDiagnostics.newtonDiagnostics-01.mos (from (result.xml))

Failing for the past 3 builds (Since #5 )
Took 2 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + newtonDiagnostics-01                                                              ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-omtmpuser/simulation/modelica/newtonDiagnostics/newtonDiagnostics-01.mos_temp3804/log-newtonDiagnostics-01.mos
true
""
record SimulationResult
    resultFile = "problem4_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-newtonDiagnostics -lv=LOG_NLS_NEWTON_DIAG'",
    messages = "LOG_NLS_NEWTON_DIAG | info    | Newton diagnostics (version Teus 17-02-2023) starting ....

   ****** Model name: problem4
   ****** Initial                         : 1
   ****** Number of integer parameters    : 0
   ****** Number of discrete real params  : 0
   ****** Number of real parameters       : 0
   ****** Number of integer variables     : 0
   ****** Number of real variables        : 4
   ******  1: id=1000, name=     $cse3, value=  0.000000
   ******  2: id=1001, name=     $cse4, value=  0.000000
   ******  3: id=1002, name=        x1, value=10000.000000
   ******  4: id=1003, name=        x2, value= -5.000000

   Information about equations from non-linear pattern ....

               Total number of equations    = 2
               Number of independents       = 2
               Number of non-linear entries = 4

   Vector x0: all dependents ....

               x0[0] =  -5.0000000000  (x2)
               x0[1] = 10000.0000000000  (x1)

   Function values of all equations f(x0) ....

               f^1 = 147.4130591026
               f^2 = -500000001.0000000000

   Function values of non-linear equations n(w0) ....

               n^1 = f^1 = 147.4130591026
               n^2 = f^2 = -500000001.0000000000

   Vector w0: non-linear dependents .... 

               w0[0] = x0[0] =  -5.0000000000  (x2)
               w0[1] = x0[1] = 10000.0000000000  (x1)

   Damping factor lambda =      1


  
   ========================================================  
   Final results   
   ========================================================

      alpha_i > 1e-02
      ------------------------

      Gamma_ijk > 1e-02
      ------------------------
      Gamma_2_1_2 =     0.080

      |Sigma_jj| > 1e-02
      ------------------------
      Sigma_1_1 =     0.993
      Sigma_2_2 =     0.199

      Variables    Initial guess         |max(Gamma,Sigma)|
      ---------    ------------------    ------------------
      var_1          x2 =      -5        0.993
      var_2          x1 =   10000        0.199

      Equations    max(alpha,Gamma)
      ---------    ------------------
      eqn_2        0.080
      sim_1        0.080

   ========================================================


LOG_NLS_NEWTON_DIAG | info    | Newton diagnostics (version Teus 17-02-2023) finished!!
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/simulation/modelica/newtonDiagnostics/newtonDiagnostics-01.mos_temp3804/equations-expected2024-06-22 01:09:24.952905322 +0000
+++ /tmp/omc-rtest-omtmpuser/simulation/modelica/newtonDiagnostics/newtonDiagnostics-01.mos_temp3804/equations-got2024-06-22 01:09:26.532919516 +0000
@@ -1,10 +1,10 @@
 true
 ""
 record SimulationResult
 resultFile = "problem4_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'problem4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-newtonDiagnostics -lv=LOG_NLS_NEWTON_DIAG'",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'problem4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-newtonDiagnostics -lv=LOG_NLS_NEWTON_DIAG'",
 messages = "LOG_NLS_NEWTON_DIAG | info    | Newton diagnostics (version Teus 17-02-2023) starting ....
 
 ****** Model name: problem4
 ****** Initial                         : 1
 ****** Number of integer parameters    : 0
@@ -69,10 +69,11 @@
 var_2          x1 =   10000        0.199
 
 Equations    max(alpha,Gamma)
 ---------    ------------------
 eqn_2        0.080
+sim_1 0.080
 
 ========================================================
 
 
 LOG_NLS_NEWTON_DIAG | info    | Newton diagnostics (version Teus 17-02-2023) finished!!

Equation mismatch: omc-diff says:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------Line 74: Lexical token differs:
expected: 

got:      sim_

== 1 out of 1 tests failed [simulation/modelica/newtonDiagnostics/newtonDiagnostics-01.mos_temp3804, time: 2]