Regression
openmodelica_cppruntime.mathFunctionsTest.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ mathFunctionsTest ... equation mismatch [time: 10] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/mathFunctionsTest.mos_temp4547/log-mathFunctionsTest.mos true true true "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'MathFunctions.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: MathFunctions.Test" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/MATHFU~2.MOS' clang++ -fopenmp=libomp -Winvalid-pch -O3 -DNDEBUG -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I. -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppMathFunctions.TestCalcHelperMain.o OMCppMathFunctions.TestCalcHelperMain.cpp clang++ -fopenmp=libomp -shared -o OMCppMathFunctions.Test.dll OMCppMathFunctions.TestCalcHelperMain.o -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt -LC:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin -lopenblas -lz -lhdf5 clang++ -fopenmp=libomp -Winvalid-pch -O3 -DNDEBUG -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I. -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -I. -o MathFunctions.Test.exe OMCppMathFunctions.TestMain.cpp -lOMCppOMCFactory -lOMCppModelicaUtilities -lOMCppExtensionUtilities -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -lwsock32 -lws2_32 Mingw-w64 runtime failure: VirtualProtect failed with code 0x5afclang++: error: clang frontend command failed due to signal (use -v to see invocation) clang version 17.0.6 Target: x86_64-w64-windows-gnu Thread model: posix InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin clang++: note: diagnostic msg: ******************** PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: Preprocessed source(s) and associated run script(s) are located at: clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppMathFunctions-4e858b.cpp clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppMathFunctions-4e858b.sh clang++: note: diagnostic msg: ******************** make: *** [MathFunctions.Test.makefile:84: MathFunctions.Test] Error 1 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/MATHFU~2.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/mathFunctionsTest.mos_temp4547/equations-expected"2024-05-08 15:14:25.479971500 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/openmodelica/cppruntime/mathFunctionsTest.mos_temp4547/equations-got"2024-05-08 15:14:35.045116300 +0200 @@ -1,19 +1,42 @@ true true true "" record SimulationResult -resultFile = "MathFunctions.Test_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'MathFunctions.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", -messages = "" +resultFile = "", +simulationOptions = "startTime = 0.0, stopTime = 0.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'MathFunctions.Test', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: MathFunctions.Test" end SimulationResult; -1.0 -1.0 -1.0 -1.0 -1.0 -0.0 -2.0 -2.0 -0.0 -"" + + + + + + + + + +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/MATHFU~2.MOS' +clang++ -fopenmp=libomp -Winvalid-pch -O3 -DNDEBUG -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I. -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppMathFunctions.TestCalcHelperMain.o OMCppMathFunctions.TestCalcHelperMain.cpp +clang++ -fopenmp=libomp -shared -o OMCppMathFunctions.Test.dll OMCppMathFunctions.TestCalcHelperMain.o -lOMCppSystem -lOMCppModelicaUtilities -lOMCppDataExchange -lOMCppMath -lOMCppExtensionUtilities -lOMCppOMCFactory -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt -LC:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin -lopenblas -lz -lhdf5 +clang++ -fopenmp=libomp -Winvalid-pch -O3 -DNDEBUG -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_PUGI_XML -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/\" -I. -I\"C:/OMDevUCRT/tools/msys/ucrt64/include/\" -I\".\" -I\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/include/omc/cpp/sundials\" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -I. -o MathFunctions.Test.exe OMCppMathFunctions.TestMain.cpp -lOMCppOMCFactory -lOMCppModelicaUtilities -lOMCppExtensionUtilities -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -L\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/bin\" -lboost_filesystem-mt -lboost_system-mt -lboost_serialization-mt -lboost_program_options-mt -Wl,-rpath,\"C:\\dev\\jenkins\\ws\\Windows\\OM_Win\\build/lib//omc/cpp\" -lwsock32 -lws2_32 +Mingw-w64 runtime failure: +VirtualProtect failed with code 0x5afclang++: error: clang frontend command failed due to signal (use -v to see invocation) +clang version 17.0.6 +Target: x86_64-w64-windows-gnu +Thread model: posix +InstalledDir: C:/OMDevUCRT/tools/msys/ucrt64/bin +clang++: note: diagnostic msg: +******************** + +PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT: +Preprocessed source(s) and associated run script(s) are located at: +clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppMathFunctions-4e858b.cpp +clang++: note: diagnostic msg: C:/Windows/TEMP/OMCppMathFunctions-4e858b.sh +clang++: note: diagnostic msg: + +******************** +make: *** [MathFunctions.Test.makefile:84: MathFunctions.Test] Error 1 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/OPENMO~1/CPPRUN~1/MATHFU~2.MOS' +RESULT: 2 +" '' Equation mismatch: omc-diff says: Failed 'M' '"' Line 6: Text differs: expected: resultFile = "MathFunctions.Test_res.mat", got: resultFile = "", == 1 out of 1 tests failed [openmodelica/cppruntime/mathFunctionsTest.mos_temp4547, time: 18]