Skip to content

Failed

openmodelica_omsi_omsicpp.helloWorld.mos (from (result.xml))

Failing for the past 383 builds (Since #3430 )
Took 20 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + helloWorldOMSI                                                                    ... equation mismatch [time: 9]

==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsicpp/helloWorld.mos_temp7753/log-helloWorld.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'helloWorldOMSI', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
    messages = "Failed to build model: helloWorldOMSI"
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\").
Error: Error building simulator. Build log: cmd: cd \"helloWorldOMSI.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_static
-- The C compiler identification is Clang 17.0.6
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - works
-- Detecting C compile features
-- Detecting C compile features - done
-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
CMake Error at CMakeLists.txt:95 (if):
  if given arguments:

    \"EQUAL\" \"8\"

  Unknown arguments specified


-- Configuring incomplete, errors occurred!
"
"Error in compareSimulationResults"
'' 
Equation mismatch: diff says: 
--- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsicpp/helloWorld.mos_temp7753/equations-expected"2024-06-13 15:25:39.632057500 +0200
+++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/omsi/omsicpp/helloWorld.mos_temp7753/equations-got"2024-06-13 15:25:48.170635700 +0200
@@ -1,12 +1,33 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "helloWorldOMSI_res.mat",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'helloWorldOMSI', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
-messages = ""
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'helloWorldOMSI', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''",
+messages = "Failed to build model: helloWorldOMSI"
 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\").
+Error: Error building simulator. Build log: cmd: cd \"helloWorldOMSI.fmutmp/sources/\" && mkdir build_cmake_static && cd build_cmake_static && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" .. && cmake --build . --parallel  --target install && cd .. && rm -rf build_cmake_static
+-- The C compiler identification is Clang 17.0.6
+-- Detecting C compiler ABI info
+-- Detecting C compiler ABI info - failed
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - works
+-- Detecting C compile features
+-- Detecting C compile features - done
+-- FMI2 include directory: C:/dev/jenkins/ws/Windows/OM_Win/build/include/omc/c/fmi
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
+-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
+-- Found Threads: TRUE  
+CMake Error at CMakeLists.txt:95 (if):
+if given arguments:
+
+\"EQUAL\" \"8\"
+
+Unknown arguments specified
+
+
+-- Configuring incomplete, errors occurred!
 "
-{"Files Equal!"}
+"Error in compareSimulationResults"
'' 
Equation mismatch: omc-diff says: 
Failed 'h' '"'
Line 6: Text differs:
expected: resultFile = "helloWorldOMSI_res.mat",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/omsi/omsicpp/helloWorld.mos_temp7753, time: 20]