Skip to content

Failed

tests / 06 testsuite-clang 3/3 / openmodelica_interactive-API.Bug4248.mos (from (result.xml))

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

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Bug4248.mos                                                                       ... equation mismatch [time: 2]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/interactive-API/Bug4248.mos_temp9798/log-Bug4248.mos
true
""
true
""
{{},{},{},{Evaluate=true},{Dialog("General","Parameters",false,false,false,-,-,-,-,"",false)},{Evaluate=true},{},{},{Dialog("General","Operational temperatures",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{Placement(true,-,-,90.0,-10.0,110.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,80.0,0.0,10.0,10.0,-10.0,-10.0,180.0,-,-,-,-,-,-,)},{Placement(true,-,-,90.0,-110.0,110.0,-90.0,-,-,-,-,-,-,-,)},{Placement(true,80.0,-100.0,10.0,10.0,-10.0,-10.0,180.0,-,-,-,-,-,-,)},{Placement(true,70.0,-90.0,-10.0,-10.0,10.0,10.0,180.0,-,-,-,-,-,-,)},{Placement(true,-,-,50.0,90.0,70.0,110.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-70.0,90.0,-50.0,110.0,-,-,-,-,-,-,-,)},{Placement(true,0.0,40.0,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-70.0,-90.0,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-10.0,-110.0,10.0,-90.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-40.0,30.0,-20.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-40.0,-30.0,-20.0,-10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,60.0,60.0,40.0,80.0,-,-,-,-,-,-,-,)},{Placement(true,90.0,-30.0,-10.0,-10.0,10.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-44.0,-94.0,-36.0,-86.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,56.0,-104.0,64.0,-96.0,-,-,-,-,-,-,-,)}}
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 10000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'IMCNominalOperation.NominalOperation', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: IMCNominalOperation.NominalOperation"
end SimulationResult;
"[NFFrontEnd/NFEvalFunction.mo:800:9-801:93:writable] Error: Internal error NFEvalFunction.assignVariable failed on n := 1
"



Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/interactive-API/Bug4248.mos_temp9798/equations-expected2024-06-15 01:31:08.048550795 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/interactive-API/Bug4248.mos_temp9798/equations-got2024-06-15 01:31:10.148537174 +0000
@@ -3,15 +3,13 @@
 true
 ""
 {{},{},{},{Evaluate=true},{Dialog("General","Parameters",false,false,false,-,-,-,-,"",false)},{Evaluate=true},{},{},{Dialog("General","Operational temperatures",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Nominal resistances and inductances","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{Dialog("Losses","Parameters",true,false,false,-,-,-,-,"",false)},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{},{Placement(true,-,-,90.0,-10.0,110.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,80.0,0.0,10.0,10.0,-10.0,-10.0,180.0,-,-,-,-,-,-,)},{Placement(true,-,-,90.0,-110.0,110.0,-90.0,-,-,-,-,-,-,-,)},{Placement(true,80.0,-100.0,10.0,10.0,-10.0,-10.0,180.0,-,-,-,-,-,-,)},{Placement(true,70.0,-90.0,-10.0,-10.0,10.0,10.0,180.0,-,-,-,-,-,-,)},{Placement(true,-,-,50.0,90.0,70.0,110.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-70.0,90.0,-50.0,110.0,-,-,-,-,-,-,-,)},{Placement(true,0.0,40.0,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-70.0,-90.0,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-10.0,-110.0,10.0,-90.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-40.0,30.0,-20.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-10.0,-10.0,10.0,10.0,270.0,-,-,-,-,-,-,)},{Placement(true,-,-,-40.0,-30.0,-20.0,-10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,60.0,60.0,40.0,80.0,-,-,-,-,-,-,-,)},{Placement(true,90.0,-30.0,-10.0,-10.0,10.0,10.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,-44.0,-94.0,-36.0,-86.0,-,-,-,-,-,-,-,)},{Placement(true,-,-,56.0,-104.0,64.0,-96.0,-,-,-,-,-,-,-,)}}
 ""
 record SimulationResult
-resultFile = "IMCNominalOperation.NominalOperation_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 10000, tolerance = 1e-05, method = 'dassl', fileNamePrefix = 'IMCNominalOperation.NominalOperation', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
-LOG_SUCCESS       | info    | The simulation finished successfully.
-"
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 10.0, numberOfIntervals = 10000, tolerance = 1e-5, method = 'dassl', fileNamePrefix = 'IMCNominalOperation.NominalOperation', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: IMCNominalOperation.NominalOperation"
 end SimulationResult;
-"Warning: The initial conditions are not fully specified. For more information set -d=initialization. In OMEdit Tools->Options->Simulation->Show additional information from the initialization process, in OMNotebook call setCommandLineOptions(\"-d=initialization\").
+"[NFFrontEnd/NFEvalFunction.mo:800:9-801:93:writable] Error: Internal error NFEvalFunction.assignVariable failed on n := 1
 "
-25149.45842709183
-25149.45842709183
+
+

Equation mismatch: omc-diff says:
Failed 'I' '"'
Line 8: Text differs:
expected: resultFile = "IMCNominalOperation.NominalOperation_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/interactive-API/Bug4248.mos_temp9798, time: 2]