Failed
tests / 02 testsuite-gcc 2/3 / simulation_modelica_algorithms_functions.algorithms.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ Algorithms ... equation mismatch [time: 13] ==== Log /tmp/omc-rtest-unknown/simulation/modelica/algorithms_functions/algorithms.mos_temp1347/log-algorithms.mos true "" true "" record SimulationResult resultFile = "Alg1_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 2.0 record SimulationResult resultFile = "Alg2_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 2.0 record SimulationResult resultFile = "Alg3_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 4.0 3.0 4.0 record SimulationResult resultFile = "Alg4_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(fixed = true ) type: Real " record SimulationResult resultFile = "Alg5_res.mat", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Warning: Assuming fixed start value for the following 2 variables: x1:VARIABLE(fixed = true ) type: Real x2:VARIABLE(fixed = true ) type: Real Error: Model error: Argument of log(r) was -1 should be > 0 [BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"algorithm x3 := $START.x3; x4 := $START.x4; y2 := $START.y2; f := $START.f; y1 := $START.y1; y1 := 0.0; for i in 0:5 loop f := Alg5.fak(/*Real*/(1 + 2 * i)); y1 := y1 + (-1.0) ^ /*Real*/(i) * time ^ /*Real*/(1 + 2 * i) / f; end for; y2 := sin(time); x4 := x3; x3 := 1.0 + x3 + time; \" w.r.t. \"dummyVarA\" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSymbolicJacobian failed [BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function createJacobian failed " 0.0 0.12240908952906634 0.4596922009045253 0.0 0.12240908952906708 0.4596922009167508 0.0 0.4794255386041834 0.841470984648068 0.0 0.479425538604203 0.8414709848078965 1.0 1.5 2.0 0.0 0.0 0.0 Equation mismatch: diff says: --- /tmp/omc-rtest-unknown/simulation/modelica/algorithms_functions/algorithms.mos_temp1347/equations-expected2024-01-20 04:03:21.179540806 +0000 +++ /tmp/omc-rtest-unknown/simulation/modelica/algorithms_functions/algorithms.mos_temp1347/equations-got2024-01-20 04:03:34.463540791 +0000 @@ -2,63 +2,82 @@ "" true "" record SimulationResult resultFile = "Alg1_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 10, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'Alg1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 2.0 record SimulationResult resultFile = "Alg2_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 2.0 record SimulationResult resultFile = "Alg3_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg3', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "" 4.0 3.0 4.0 record SimulationResult resultFile = "Alg4_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg4', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Warning: Assuming fixed start value for the following 1 variables: x:VARIABLE(fixed = true ) type: Real " record SimulationResult resultFile = "Alg5_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'Alg5', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "LOG_SUCCESS | info | The initialization finished successfully without homotopy method. LOG_SUCCESS | info | The simulation finished successfully. " end SimulationResult; "Warning: Assuming fixed start value for the following 2 variables: x1:VARIABLE(fixed = true ) type: Real x2:VARIABLE(fixed = true ) type: Real +Error: Model error: Argument of log(r) was -1 should be > 0 +[BackEnd/Differentiate.mo:268:5-268:157:writable] Error: Derivative of expression \"algorithm +x3 := $START.x3; +x4 := $START.x4; +y2 := $START.y2; +f := $START.f; +y1 := $START.y1; +y1 := 0.0; +for i in 0:5 loop +f := Alg5.fak(/*Real*/(1 + 2 * i)); +y1 := y1 + (-1.0) ^ /*Real*/(i) * time ^ /*Real*/(1 + 2 * i) / f; +end for; +y2 := sin(time); +x4 := x3; +x3 := 1.0 + x3 + time; +\" w.r.t. \"dummyVarA\" is non-existent. +Error: Internal error SymbolicJacobian.deriveAll failed +[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function generateSymbolicJacobian failed +[BackEnd/SymbolicJacobian.mo:0:0-0:0:writable] Error: Internal error function createJacobian failed " 0.0 -0.1224090895290663 +0.12240908952906634 0.4596922009045253 0.0 -0.1224090895290671 +0.12240908952906708 0.4596922009167508 0.0 0.4794255386041834 0.841470984648068 0.0 Equation mismatch: omc-diff says: Failed '"' 'E' Line 54: Text differs: expected: " got: Error: Model error: Argument of log(r) was == 1 out of 1 tests failed [simulation/modelica/algorithms_functions/algorithms.mos_temp1347, time: 13]