Regression
simulation_modelica_algorithms_functions.AlgorithmForInClass.mos (from (result.xml))
Stacktrace
Output mismatch (see stdout for details)
Standard Output
+ AlgorithmForInClass ... equation mismatch [time: 3] ==== Log C:\Windows\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/AlgorithmForInClass.mos_temp326/log-AlgorithmForInClass.mos true "" "class AlgorithmForInClass Real accum_sum[1]; Real accum_sum[2]; Real accum_sum[3]; Real accum_sum[4]; Real accum_sum[5]; parameter Real N = 3.0; Real S[1]; Real S[2]; Real S[3]; Real sum2[1]; Real sum2[2]; Real sum2[3]; Real sum2[4]; Real sum2[5]; Real sum2[6]; Real sum3[1,1]; Real sum3[1,2]; Real sum3[1,3]; Real sum3[2,1]; Real sum3[2,2]; Real sum3[2,3]; Real sum3[3,1]; Real sum3[3,2]; Real sum3[3,3]; parameter Real v1[1] = 3.0; parameter Real v1[2] = 9.0; parameter Real v1[3] = 4.0; parameter Real v2[1] = 2.0; parameter Real v2[2] = 4.0; parameter Real v2[3] = 1.0; algorithm accum_sum[1] := 1.0; for i in 2:5 loop accum_sum[i] := accum_sum[-1 + i] + /*Real*/(i); end for; for i in 1:3 loop S[i] := v1[i] + v2[i]; end for; sum2[1] := 3.0; for i in 1:3 loop for j in 1:3 loop sum2[i + j] := v1[i] + v2[j]; sum3[i,j] := v2[i] + v1[j]; end for; end for; end AlgorithmForInClass; " "" record SimulationResult resultFile = "", simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'AlgorithmForInClass', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", messages = "Failed to build model: AlgorithmForInClass" end SimulationResult; "Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL8465~1.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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass.o AlgorithmForInClass.c 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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass_functions.o AlgorithmForInClass_functions.c 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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass_records.o AlgorithmForInClass_records.c 0 [main] make (5390044) child_copy: cygheap read copy failed, 0x0..0x800009748, done 0, windows pid 5390044, Win32 error 299 0 [main] make 25108 dofork: child -1 - forked process 5390044 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 make: *** [<builtin>: AlgorithmForInClass_records.o] Error 127 make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL8465~1.MOS' RESULT: 2 " '' Equation mismatch: diff says: --- "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/AlgorithmForInClass.mos_temp326/equations-expected"2024-06-13 15:30:52.764569000 +0200 +++ "C:\\Windows\\TEMP/omc-rtest-OpenModelica/simulation/modelica/algorithms_functions/AlgorithmForInClass.mos_temp326/equations-got"2024-06-13 15:30:55.804170800 +0200 @@ -48,24 +48,31 @@ end for; end AlgorithmForInClass; " "" record SimulationResult -resultFile = "AlgorithmForInClass_res.mat", -simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 2, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'AlgorithmForInClass', 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 = 1.0, numberOfIntervals = 2, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'AlgorithmForInClass', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = ''", +messages = "Failed to build model: AlgorithmForInClass" end SimulationResult; -"" -15.0 -15.0 -15.0 -13.0 -13.0 -13.0 -5.0 -5.0 -5.0 -13.0 -13.0 -13.0 +"Error: Error building simulator. Build log: make: Entering directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL8465~1.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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass.o AlgorithmForInClass.c +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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass_functions.o AlgorithmForInClass_functions.c +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=AlgorithmForInClass -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o AlgorithmForInClass_records.o AlgorithmForInClass_records.c +0 [main] make (5390044) child_copy: cygheap read copy failed, 0x0..0x800009748, done 0, windows pid 5390044, Win32 error 299 +0 [main] make 25108 dofork: child -1 - forked process 5390044 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 +make: *** [<builtin>: AlgorithmForInClass_records.o] Error 127 +make: Leaving directory '/c/dev/jenkins/ws/Windows/OM_Win/TESTSU~1/SIMULA~1/modelica/ALGORI~1/AL8465~1.MOS' +RESULT: 2 +" + + + + + + + + + + + + '' Equation mismatch: omc-diff says: Failed 'A' '"' Line 53: Text differs: expected: resultFile = "AlgorithmForInClass_res.mat", got: resultFile = "", == 1 out of 1 tests failed [simulation/modelica/algorithms_functions/AlgorithmForInClass.mos_temp326, time: 28]