Failed
omsimulator.testDirectionalDerivatives.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ testDirectionalDerivatives ... equation mismatch [time: 15] ==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/omsimulator/testDirectionalDerivatives.mos_temp4647/log-testDirectionalDerivatives.mos true "" true "" "" "[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error Failed to move Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_JacA.bin file Error: Error building simulator. Build log: cmd: cd \"Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel --target install && cd .. && rm -rf build_cmake_dynamic -- The C compiler identification is Clang 17.0.6 -- Detecting C compiler ABI info CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-26vj3l/CMakeLists.txt: The object file directory C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-26vj3l/CMakeFiles/cmTC_4c783.dir/ has 253 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file CMakeCCompilerABI.c.obj cannot be safely placed under this directory. The build may not work correctly. -- Detecting C compiler ABI info - failed -- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-ksah9m/CMakeLists.txt: The object file directory C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-ksah9m/CMakeFiles/cmTC_f62b5.dir/ has 253 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file testCCompiler.c.obj cannot be safely placed under this directory. The build may not work correctly. -- 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 CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-obszqh/CMakeLists.txt: The object file directory C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp4647/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-obszqh/CMakeFiles/cmTC_8131d.dir/ has 253 characters. The maximum full path to an object file is 250 characters (see CMAKE_OBJECT_PATH_MAX). Object file src.c.obj cannot be safely placed under this directory. The build may not work correctly. -- 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! " true "" 1 "error: [addSubModel] file does not exist: \"Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu\" error: [oms_RunFile] directionalDerivatives.lua:7: oms_addSubModel(test.root.system1,Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu) failed info: 0 warnings info: 2 errors " '' Equation mismatch: diff says: --- "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/omsimulator/testDirectionalDerivatives.mos_temp4647/equations-expected"2024-05-29 13:27:58.196242900 +0200 +++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/omsimulator/testDirectionalDerivatives.mos_temp4647/equations-got"2024-05-29 13:28:13.297551200 +0200 @@ -1,19 +1,78 @@ true "" true "" -"Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu" "" +"[SimCode/SimCodeMain.mo:0:0-0:0:writable] Error: Internal error Failed to move Modelica_Electrical_Analog_Examples_CauerLowPassAnalog_JacA.bin file +Error: Error building simulator. Build log: cmd: cd \"Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/\" && mkdir build_cmake_dynamic && cd build_cmake_dynamic && cmake -G \"MSYS Makefiles\" -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=\"clang\" -DCMAKE_CXX_COMPILER=\"clang++\" .. && cmake --build . --parallel --target install && cd .. && rm -rf build_cmake_dynamic +-- The C compiler identification is Clang 17.0.6 +-- Detecting C compiler ABI info +CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-26vj3l/CMakeLists.txt: +The object file directory + +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-26vj3l/CMakeFiles/cmTC_4c783.dir/ + +has 253 characters. The maximum full path to an object file is 250 +characters (see CMAKE_OBJECT_PATH_MAX). Object file + +CMakeCCompilerABI.c.obj + +cannot be safely placed under this directory. The build may not work +correctly. + + +-- Detecting C compiler ABI info - failed +-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe +CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-ksah9m/CMakeLists.txt: +The object file directory + +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-ksah9m/CMakeFiles/cmTC_f62b5.dir/ + +has 253 characters. The maximum full path to an object file is 250 +characters (see CMAKE_OBJECT_PATH_MAX). Object file + +testCCompiler.c.obj + +cannot be safely placed under this directory. The build may not work +correctly. + + +-- 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 +CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-obszqh/CMakeLists.txt: +The object file directory + +C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_dynamic/CMakeFiles/CMakeScratch/TryCompile-obszqh/CMakeFiles/cmTC_8131d.dir/ + +has 253 characters. The maximum full path to an object file is 250 +characters (see CMAKE_OBJECT_PATH_MAX). Object file + +src.c.obj + +cannot be safely placed under this directory. The build may not work +correctly. + + +-- 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! +" true "" -0 -"info: maximum step size for 'test.root': 0.001000 -info: Result file: directionalDerivatives.csv (bufferSize=1) -info: Initialization -info: system1.C1.v: 0.0 -info: Simulation -info: system1.C1.v: 0.0 -info: Final Statistics for 'test.root': -NumSteps = 1001 NumRhsEvals = 1002 NumLinSolvSetups = 51 -NumNonlinSolvIters = 1001 NumNonlinSolvConvFails = 0 NumErrTestFails = 0 +1 +"error: [addSubModel] file does not exist: \"Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu\" +error: [oms_RunFile] directionalDerivatives.lua:7: oms_addSubModel(test.root.system1,Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu) failed +info: 0 warnings +info: 2 errors " '' Equation mismatch: omc-diff says: Failed 'M' '"' Line 5: Text differs: expected: "Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu" got: "" == 1 out of 1 tests failed [omsimulator/testDirectionalDerivatives.mos_temp4647, time: 32]