Skip to content

Failed

omsimulator.testDirectionalDerivatives.mos (from (result.xml))

Failing for the past 421 builds (Since #3430 )
Took 24 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + testDirectionalDerivatives                                                        ... equation mismatch [time: 11]

==== Log C:\Users\OPENMO~1\AppData\Local\Temp/omc-rtest-OpenModelica/omsimulator/testDirectionalDerivatives.mos_temp7507/log-testDirectionalDerivatives.mos
true
""
true
""
""
"Error: Error building simulator. Build log: cmd: cd \"Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.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
CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-cwztwy/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-cwztwy/CMakeFiles/cmTC_39798.dir/

  has 252 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 - done
-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
-- 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_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-zrwgye/CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-zrwgye/CMakeFiles/cmTC_19820.dir/

  has 252 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  
-- Building for FMI platform win64
-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/../binaries/win64
-- CVODE: Not linked
-- Not using FMI2_FUNCTION_PREFIX
-- Installing dynamic dependencies from list: 
-- Configuring done (3.5s)
CMake Warning in CMakeLists.txt:
  The object file directory

    C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/

  has 254 characters.  The maximum full path to an object file is 250
  characters (see CMAKE_OBJECT_PATH_MAX).  Object file

    external_solvers/idamax.c.obj

  cannot be safely placed under this directory.  The build may not work
  correctly.


-- Generating done (0.1s)
-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/testDirectionalDerivatives.mos_temp7507/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static
[  1%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgemm.c.obj
[  2%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dger.c.obj
[  3%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgesv.c.obj
[  4%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetf2.c.obj
[  5%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetrf.c.obj
[  6%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dlamch.c.obj
[  7%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetrs.c.obj
"
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_temp7507/equations-expected"2024-07-01 14:45:48.248825500 +0200
+++ "C:\\Users\\OPENMO~1\\AppData\\Local\\Temp/omc-rtest-OpenModelica/omsimulator/testDirectionalDerivatives.mos_temp7507/equations-got"2024-07-01 14:45:59.033390600 +0200
@@ -1,19 +1,82 @@
 true
 ""
 true
 ""
-"Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.fmu"
 ""
+"Error: Error building simulator. Build log: cmd: cd \"Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.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
+CMake Warning in C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-cwztwy/CMakeLists.txt:
+The object file directory
+
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-cwztwy/CMakeFiles/cmTC_39798.dir/
+
+has 252 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 - done
+-- Check for working C compiler: C:/OMDevUCRT/tools/msys/ucrt64/bin/clang.exe - skipped
+-- 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_static/CMakeFiles/CMakeScratch/TryCompile-zrwgye/CMakeLists.txt:
+The object file directory
+
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/CMakeScratch/TryCompile-zrwgye/CMakeFiles/cmTC_19820.dir/
+
+has 252 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  
+-- Building for FMI platform win64
+-- Install directory: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/../binaries/win64
+-- CVODE: Not linked
+-- Not using FMI2_FUNCTION_PREFIX
+-- Installing dynamic dependencies from list: 
+-- Configuring done (3.5s)
+CMake Warning in CMakeLists.txt:
+The object file directory
+
+C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static/CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/
+
+has 254 characters.  The maximum full path to an object file is 250
+characters (see CMAKE_OBJECT_PATH_MAX).  Object file
+
+external_solvers/idamax.c.obj
+
+cannot be safely placed under this directory.  The build may not work
+correctly.
+
+
+-- Generating done (0.1s)
+-- Build files have been written to: C:/dev/jenkins/ws/Windows/OM_Win/testsuite/omsimulator/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.fmutmp/sources/build_cmake_static
+[ 1%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgemm.c.obj
+[ 2%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dger.c.obj
+[ 3%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgesv.c.obj
+[ 4%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetf2.c.obj
+[ 5%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetrf.c.obj
+[ 6%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dlamch.c.obj
+[ 7%] Building C object CMakeFiles/Modelica_Electrical_Analog_Examples_CauerLowPassAnalog.dir/external_solvers/dgetrs.c.obj
+"
 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_temp7507, time: 24]