Skip to content

Failed

simulation_modelica_solver.LotkaVolterraWithInput.mos (from (result.xml))

Failing for the past 2 builds (Since #3746 )
Took 1 min 22 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + TestExternalInputs                                                                ... equation mismatch [time: 76]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/solver/LotkaVolterraWithInput.mos_temp3983/log-LotkaVolterraWithInput.mos
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterra', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: LotkaVolterra"
end SimulationResult;






record SimulationResult
    resultFile = "LotkaVolterra_res.csv",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterra', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
    messages = "Failed to build model: LotkaVolterraWithInput"
end SimulationResult;
NaN
NaN
NaN
NaN
NaN
NaN
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'euler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
    messages = "Failed to build model: LotkaVolterraWithInput"
end SimulationResult;
NaN
NaN
NaN
NaN
NaN
NaN
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'rungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
    messages = "Failed to build model: LotkaVolterraWithInput"
end SimulationResult;
NaN
NaN
NaN
NaN
NaN
NaN
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'impeuler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
    messages = "Failed to build model: LotkaVolterraWithInput"
end SimulationResult;
NaN
NaN
NaN
NaN
NaN
NaN
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=5 -csvInput=LotkaVolterra_res.csv'",
    messages = "Failed to build model: LotkaVolterraWithInput"
end SimulationResult;
NaN
NaN
NaN
NaN
NaN
NaN
record SimulationResult
    resultFile = "LotkaVolterraWithInput_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=6 -csvInput=LotkaVolterra_res.csv'",
    messages = "LOG_STDOUT        | warning | Integration method 'imprungekutta' is deprecated and will be removed in a future version of OpenModelica.
|                 | info    | | Use integration method GBODE with method 'radauIA2' and constant step size instead:
|                 | |       | | | Choose integration method 'gbode' in Simulation Setup->General and additional simulation flags '-gbm=radauIA2 -gbctrl=const' in Simulation Setup->Simulation Flags.
|                 | |       | | | or
|                 | |       | | | Simulation flags '-s=gbode -gbm=radauIA2 -gbctrl=const'.
|                 | |       | | See OpenModelica User's Guide section on GBODE for more details: https://www.openmodelica.org/doc/OpenModelicaUsersGuide/latest/solving.html#gbode
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
4310.037646344885
312.14255142609915
1154.916262002063
43.729629592035934
120.0665739033309
76.41260698075324
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/solver/LotkaVolterraWithInput.mos_temp3983/equations-expected"2024-05-08 14:56:09.900553100 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/solver/LotkaVolterraWithInput.mos_temp3983/equations-got"2024-05-08 14:57:25.982323000 +0200
@@ -1,106 +1,82 @@
 true
 record SimulationResult
-resultFile = "LotkaVolterra_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'LotkaVolterra', 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;
-4310.037646344885
-312.6463881685007
-1154.916262002063
-43.73296313290461
-120.0717136466132
-76.4135843120514
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterra', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: LotkaVolterra"
+end SimulationResult;
+
+
+
+
+
+
 record SimulationResult
 resultFile = "LotkaVolterra_res.csv",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'LotkaVolterra', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-record SimulationResult
-resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'dassl', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterra', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = ''",
 messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
-4310.037646344885
-312.1431109344455
-1154.916262002063
-43.72995074542722
-120.0665678317609
-76.4125896314704
 record SimulationResult
-resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'euler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-4310.037646344885
-151.2664618264293
-1154.916262002063
-4.328991625812239
-121.2388609001865
-79.63027796167692
-record SimulationResult
-resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'rungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-4310.037646344885
-312.1340719997071
-1154.916262002063
-43.7261379252981
-120.0665742623086
-76.41278732145514
-record SimulationResult
-resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'impeuler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
-messages = "LOG_STDOUT        | warning | Integration method 'impeuler' is deprecated and will be removed in a future version of OpenModelica.
-|                 | info    | | Use integration method GBODE with method 'impl_euler' and constant step size instead:
-|                 | |       | | | Choose integration method 'gbode' in Simulation Setup->General and additional simulation flags '-gbm=impl_euler -gbctrl=const' in Simulation Setup->Simulation Flags.
-|                 | |       | | | or
-|                 | |       | | | Simulation flags '-s=gbode -gbm=impl_euler -gbctrl=const'.
-|                 | |       | | See OpenModelica User's Guide section on GBODE for more details: https://www.openmodelica.org/doc/OpenModelicaUsersGuide/latest/solving.html#gbode
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-4310.037646344885
-708.6928679495327
-1154.916262002063
-572.1366944401556
-118.7562132961125
-63.26222998849814
-record SimulationResult
-resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=5 -csvInput=LotkaVolterra_res.csv'",
-messages = "LOG_STDOUT        | warning | Integration method 'imprungekutta' is deprecated and will be removed in a future version of OpenModelica.
-|                 | info    | | Use integration method GBODE with method 'radauIA2' and constant step size instead:
-|                 | |       | | | Choose integration method 'gbode' in Simulation Setup->General and additional simulation flags '-gbm=radauIA2 -gbctrl=const' in Simulation Setup->Simulation Flags.
-|                 | |       | | | or
-|                 | |       | | | Simulation flags '-s=gbode -gbm=radauIA2 -gbctrl=const'.
-|                 | |       | | See OpenModelica User's Guide section on GBODE for more details: https://www.openmodelica.org/doc/OpenModelicaUsersGuide/latest/solving.html#gbode
-LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
-end SimulationResult;
-4310.037646344885
-312.1425595557779
-1154.916262002063
-43.72963386374561
-120.0665739251407
-76.4126067599769
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'dassl', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
+messages = "Failed to build model: LotkaVolterraWithInput"
+end SimulationResult;
+NaN
+NaN
+NaN
+NaN
+NaN
+NaN
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'euler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
+messages = "Failed to build model: LotkaVolterraWithInput"
+end SimulationResult;
+NaN
+NaN
+NaN
+NaN
+NaN
+NaN
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'rungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
+messages = "Failed to build model: LotkaVolterraWithInput"
+end SimulationResult;
+NaN
+NaN
+NaN
+NaN
+NaN
+NaN
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'impeuler', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-csvInput=LotkaVolterra_res.csv'",
+messages = "Failed to build model: LotkaVolterraWithInput"
+end SimulationResult;
+NaN
+NaN
+NaN
+NaN
+NaN
+NaN
+record SimulationResult
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=5 -csvInput=LotkaVolterra_res.csv'",
+messages = "Failed to build model: LotkaVolterraWithInput"
+end SimulationResult;
+NaN
+NaN
+NaN
+NaN
+NaN
+NaN
 record SimulationResult
 resultFile = "LotkaVolterraWithInput_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-08, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=6 -csvInput=LotkaVolterra_res.csv'",
+simulationOptions = "startTime = 0.0, stopTime = 760.0, numberOfIntervals = 760, tolerance = 1e-8, method = 'imprungekutta', fileNamePrefix = 'LotkaVolterraWithInput', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-impRKOrder=6 -csvInput=LotkaVolterra_res.csv'",
 messages = "LOG_STDOUT        | warning | Integration method 'imprungekutta' is deprecated and will be removed in a future version of OpenModelica.
 |                 | info    | | Use integration method GBODE with method 'radauIA2' and constant step size instead:
 |                 | |       | | | Choose integration method 'gbode' in Simulation Setup->General and additional simulation flags '-gbm=radauIA2 -gbctrl=const' in Simulation Setup->Simulation Flags.
 |                 | |       | | | or
 |                 | |       | | | Simulation flags '-s=gbode -gbm=radauIA2 -gbctrl=const'.
@@ -108,10 +84,10 @@
 LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 4310.037646344885
-312.1425514441204
+312.14255142609915
 1154.916262002063
-43.72962960061532
-120.0665739034563
-76.41260698034162
+43.729629592035934
+120.0665739033309
+76.41260698075324
'' 
Equation mismatch: omc-diff says: 
Failed 'L' '"'
Line 3: Text differs:
expected: resultFile = "LotkaVolterra_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/modelica/solver/LotkaVolterraWithInput.mos_temp3983, time: 82]