Skip to content

Regression

simulation_libraries_3rdParty_MathematicalAspects.17_TestSwitch.mos (from (result.xml))

Failing for the past 1 build (Since #3809 )
Took 24 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + 17_TestSwitch                                                                     ... equation mismatch [time: 22]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/MathematicalAspects/17_TestSwitch.mos_temp7997/log-17_TestSwitch.mos
true
""
true
""
true
""
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestSwitch1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: TestSwitch1"
end SimulationResult;
"[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:284:5-284:68:writable] Warning: Parameter U.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:282:5-282:61:writable] Warning: Parameter U.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
[Modelica 3.2.2+maint.om/Electrical/Analog/Basic.mo:304:5-304:52:writable] Warning: Parameter I.L has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
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\").
Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/MATHEM~1/17_TES~2.MOS'
clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=TestSwitch1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o TestSwitch1.o TestSwitch1.c
      0 [main] sh (3461388) child_copy: cygheap read copy failed, 0x0..0x80000CBF8, done 0, windows pid 3461388, Win32 error 299
make: *** [<builtin>: TestSwitch1.o] Error 127
make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/MATHEM~1/17_TES~2.MOS'
RESULT: 2
"
"Error in compareSimulationResults"
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Error: Failed to open simulation result TestSwitch1_res.mat: No such file or directory
Error: Error opening file: TestSwitch1_res.mat
"
record SimulationResult
    resultFile = "TestSwitch2_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestSwitch2', 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;
"[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:284:5-284:68:writable] Warning: Parameter U.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:282:5-282:61:writable] Warning: Parameter U.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
[Modelica 3.2.2+maint.om/Electrical/Analog/Basic.mo:304:5-304:52:writable] Warning: Parameter I.L has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
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\").
"
{"Files Equal!"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/MathematicalAspects/17_TestSwitch.mos_temp7997/equations-expected"2024-06-13 12:56:13.696508900 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/libraries/3rdParty/MathematicalAspects/17_TestSwitch.mos_temp7997/equations-got"2024-06-13 12:56:35.056112100 +0200
@@ -7,27 +7,33 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "TestSwitch1_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestSwitch1', 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 = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestSwitch1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: TestSwitch1"
 end SimulationResult;
 "[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:284:5-284:68:writable] Warning: Parameter U.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
 [Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:282:5-282:61:writable] Warning: Parameter U.V has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
 [Modelica 3.2.2+maint.om/Electrical/Analog/Basic.mo:304:5-304:52:writable] Warning: Parameter I.L has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
 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\").
+Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/MATHEM~1/17_TES~2.MOS'
+clang -municode  -O0 -DOM_HAVE_PTHREADS -Wno-parentheses-equality -falign-functions -mstackrealign -msse2 -mfpmath=sse     -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c\" -I\"C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc\" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=TestSwitch1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=2 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0  -c -o TestSwitch1.o TestSwitch1.c
+0 [main] sh (3461388) child_copy: cygheap read copy failed, 0x0..0x80000CBF8, done 0, windows pid 3461388, Win32 error 299
+make: *** [<builtin>: TestSwitch1.o] Error 127
+make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/LIBRAR~1/3rdParty/MATHEM~1/17_TES~2.MOS'
+RESULT: 2
 "
-{"Files Equal!"}
+"Error in compareSimulationResults"
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Error: Failed to open simulation result TestSwitch1_res.mat: No such file or directory
+Error: Error opening file: TestSwitch1_res.mat
 "
 record SimulationResult
 resultFile = "TestSwitch2_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'TestSwitch2', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+simulationOptions = "startTime = 0.0, stopTime = 2.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'TestSwitch2', 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;
 "[Modelica 3.2.2+maint.om/Electrical/Analog/Sources.mo:284:5-284:68:writable] Warning: Parameter U.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value.
'' 
Equation mismatch: omc-diff says: 
Failed 'T' '"'
Line 12: Text differs:
expected: resultFile = "TestSwitch
got:      resultFile = "",

== 1 out of 1 tests failed [simulation/libraries/3rdParty/MathematicalAspects/17_TestSwitch.mos_temp7997, time: 24]