OpenModelica


Forgot password? | Forgot username? | Register

Gentoo build from source DASSL problems

Gentoo build from source DASSL problems

I'm compiling OpenModelica from source code using Funtoo/Gentoo Linux distribution. When I run 'make test', almost every case fails with an errors such as:

Equation mismatch: diff says:
--- /tmp/omc-rtest-jrwebb/simulation/libraries/msl32/equations-expected    2013-04-21 13:21:25.643129817 -0700
+++ /tmp/omc-rtest-jrwebb/simulation/libraries/msl32/equations-got    2013-04-21 13:21:29.303129749 -0700
@@ -1,10 +1,18 @@
true
true
true
record SimulationResult
-resultFile = "Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat",
+resultFile = "",
simulationOptions = "startTime = 0.0, stopTime = 7200.0, numberOfIntervals = 720000, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'Modelica.Thermal.HeatTransfer.Examples.Motor', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
-messages = ""
+messages = "Simulation execution failed for model: Modelica.Thermal.HeatTransfer.Examples.Motor
+DASSL-- SOME ELEMENT OF INFO VECTOR IS NOT ZERO OR ONE
+stdout | warning | The code has encountered trouble from which it cannot recover.
+stdout | warning | can't continue. time = 0.010000
+stdout | info    | model terminate | Integrator failed. | Simulation terminated at time 0.01
+"
end SimulationResult;
""
-{"Files Equal!"}
+{"Files Equal!","File[2]=0.010000
+","Reffile[541]=7200.000000
+","Warning: Resultfile and Reference have different end time points!
+"}

Equation mismatch: omc-diff says:
Line 5: Text differs:
expected: resultFile = "Modelica.Thermal.HeatTransfer.Examples.Motor_res.mat",
got:      resultFile = "",
+ Modelica.Thermal.HeatTransfer.Examples.TwoMasses                                  ... equation mismatch [time:3]

==== Log /tmp/omc-rtest-jrwebb/simulation/libraries/msl32/log-Modelica.Thermal.HeatTransfer.Examples.TwoMasses.mos
true
true
true
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'Modelica.Thermal.HeatTransfer.Examples.TwoMasses', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: Modelica.Thermal.HeatTransfer.Examples.TwoMasses
DASSL--  SOME ELEMENT OF INFO VECTOR IS NOT ZERO OR ONE
stdout            | warning | The code has encountered trouble from which it cannot recover.
stdout            | warning | can't continue. time = 0.001000
stdout            | info    | model terminate | Integrator failed. | Simulation terminated at time 0.001
"
end SimulationResult;
""
{"Files Equal!","File[2]=0.001000
","Reffile[502]=1.000000
","Warning: Resultfile and Reference have different end time points!
"}

Equation mismatch: diff says:
--- /tmp/omc-rtest-jrwebb/simulation/libraries/msl32/equations-expected    2013-04-21 13:21:29.313129749 -0700
+++ /tmp/omc-rtest-jrwebb/simulation/libraries/msl32/equations-got    2013-04-21 13:21:32.893129683 -0700
@@ -1,10 +1,18 @@
true
true
true
record SimulationResult
-resultFile = "Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat",
+resultFile = "",
simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 1000, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'Modelica.Thermal.HeatTransfer.Examples.TwoMasses', storeInTemp = false, noClean = false, options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
-messages = ""
+messages = "Simulation execution failed for model: Modelica.Thermal.HeatTransfer.Examples.TwoMasses
+DASSL-- SOME ELEMENT OF INFO VECTOR IS NOT ZERO OR ONE
+stdout | warning | The code has encountered trouble from which it cannot recover.
+stdout | warning | can't continue. time = 0.001000
+stdout | info    | model terminate | Integrator failed. | Simulation terminated at time 0.001
+"
end SimulationResult;
""
-{"Files Equal!"}
+{"Files Equal!","File[2]=0.001000
+","Reffile[502]=1.000000
+","Warning: Resultfile and Reference have different end time points!
+"}

Equation mismatch: omc-diff says:
Line 5: Text differs:
expected: resultFile = "Modelica.Thermal.HeatTransfer.Examples.TwoMasses_res.mat",
got:      resultFile = "",

== 237 out of 257 tests failed [simulation/libraries/msl32, time: 2493]

Can anyone suggest where I should look for the problem or possible solution?

Administrator has disabled public posting. Please login or register in order to proceed.
There are 0 guests and 0 other users also viewing this topic
You are here: