Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 107.6 kB / 21.2 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 211.5 kB / 24.49 MB, free: 3.973 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.587/1.587, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2616/0.2616, allocations: 46.96 MB / 361.6 MB, free: 4.031 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.53e-05/2.53e-05, allocations: 2.281 kB / 0.4973 GB, free: 7.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.001753/0.001779, allocations: 493 kB / 0.4977 GB, free: 6.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008461/0.01024, allocations: 4.571 MB / 0.5022 GB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.01026, allocations: 0 / 0.5022 GB, free: 2.207 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.064e-05/0.01028, allocations: 4 kB / 0.5022 GB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.342e-06/0.01029, allocations: 0 / 0.5022 GB, free: 2.203 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Math.mo:214:3-483:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.009653/0.01994, allocations: 3.285 MB / 0.5054 GB, free: 14.93 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.917e-05/0.02, allocations: 4 kB / 0.5054 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.434e-05/0.02005, allocations: 3.984 kB / 0.5054 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.02007, allocations: 0 / 0.5054 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.027e-05/0.02009, allocations: 3.938 kB / 0.5054 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.043e-06/0.0201, allocations: 0 / 0.5054 GB, free: 14.91 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01079/0.03089, allocations: 5.718 MB / 0.511 GB, free: 9.188 MB / 382.1 MB Notification: Performance of combineBinaries: time 4.083e-05/0.03093, allocations: 11.83 kB / 0.511 GB, free: 9.176 MB / 382.1 MB Notification: Performance of replaceArrayConstructors: time 3.136e-06/0.03093, allocations: 4 kB / 0.511 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.58e-05/0.03096, allocations: 4 kB / 0.511 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.164e-05/0.03097, allocations: 0 / 0.511 GB, free: 9.168 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.000509/0.03148, allocations: 215.6 kB / 0.5112 GB, free: 8.836 MB / 382.1 MB Notification: Performance of [SIM] FunctionAlias: time 5.089e-05/0.03153, allocations: 20.05 kB / 0.5112 GB, free: 8.805 MB / 382.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001208/0.03165, allocations: 60.34 kB / 0.5113 GB, free: 8.719 MB / 382.1 MB Notification: Performance of [SIM] Simplify 1: time 7.324e-05/0.03172, allocations: 52.75 kB / 0.5114 GB, free: 8.621 MB / 382.1 MB Notification: Performance of [SIM] Alias: time 0.0001055/0.03183, allocations: 88.53 kB / 0.5114 GB, free: 8.484 MB / 382.1 MB Notification: Performance of [SIM] Simplify 2: time 6.86e-05/0.0319, allocations: 64.73 kB / 0.5115 GB, free: 8.375 MB / 382.1 MB Notification: Performance of [SIM] Remove Stream: time 5.183e-05/0.03195, allocations: 40.38 kB / 0.5115 GB, free: 8.309 MB / 382.1 MB Notification: Performance of [SIM] Detect States: time 0.0001139/0.03206, allocations: 80.72 kB / 0.5116 GB, free: 8.176 MB / 382.1 MB Notification: Performance of [SIM] Events: time 2.535e-05/0.03209, allocations: 4 kB / 0.5116 GB, free: 8.172 MB / 382.1 MB Notification: Performance of [SIM] Partitioning: time 8.62e-05/0.03217, allocations: 24.09 kB / 0.5116 GB, free: 8.141 MB / 382.1 MB Notification: Performance of [SIM] Causalize: time 0.00015/0.03232, allocations: 20.12 kB / 0.5117 GB, free: 8.113 MB / 382.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 3.228e-05/0.03236, allocations: 16.17 kB / 0.5117 GB, free: 8.098 MB / 382.1 MB Notification: Performance of [INI] Simplify: time 0.0001477/0.0325, allocations: 101 kB / 0.5118 GB, free: 7.93 MB / 382.1 MB Notification: Performance of [INI] Inline: time 5.97e-05/0.03256, allocations: 24.05 kB / 0.5118 GB, free: 7.902 MB / 382.1 MB Notification: Performance of [INI] Partitioning: time 3.144e-05/0.0326, allocations: 8.125 kB / 0.5118 GB, free: 7.887 MB / 382.1 MB Notification: Performance of [INI] Cleanup: time 1.966e-05/0.03262, allocations: 12 kB / 0.5118 GB, free: 7.875 MB / 382.1 MB Notification: Performance of [INI] Causalize: time 8.715e-05/0.0327, allocations: 28.05 kB / 0.5118 GB, free: 7.84 MB / 382.1 MB Notification: Performance of [INI] Tearing: time 1.603e-05/0.03272, allocations: 0 / 0.5118 GB, free: 7.84 MB / 382.1 MB Notification: Performance of [SIM] Initialization: time 2.986e-06/0.03272, allocations: 4 kB / 0.5118 GB, free: 7.836 MB / 382.1 MB Notification: Performance of [SIM] Remove Dummies: time 6.913e-06/0.03273, allocations: 4.188 kB / 0.5119 GB, free: 7.832 MB / 382.1 MB Notification: Performance of [SIM] Tearing: time 9.82e-07/0.03273, allocations: 0 / 0.5119 GB, free: 7.832 MB / 382.1 MB Notification: Performance of [SIM] Categorize: time 6.182e-06/0.03274, allocations: 0 / 0.5119 GB, free: 7.832 MB / 382.1 MB Notification: Performance of [SIM] Solve: time 2.103e-05/0.03276, allocations: 8 kB / 0.5119 GB, free: 7.824 MB / 382.1 MB Notification: Performance of [SIM] Jacobian: time 8.235e-06/0.03276, allocations: 4 kB / 0.5119 GB, free: 7.82 MB / 382.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {result} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.865e-05/0.03281, allocations: 24.23 kB / 0.5119 GB, free: 7.801 MB / 382.1 MB Notification: Performance of SimCode: time 0.2856/0.3184, allocations: 10.19 MB / 0.5218 GB, free: 18.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02698/0.3454, allocations: 13.61 MB / 0.5351 GB, free: 16.25 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2 -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 ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.o ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=ModelicaTest_4_1_0_ModelicaTest_Math_TestMatrices2 -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 ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.o ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:3124:379: warning: incompatible pointer types passing 'modelica_boolean *' (aka 'signed char *') to parameter of type 'int *' [-Wincompatible-pointer-types] dgees_((char*)MMC_STRINGDATA(tmp4), (char*)MMC_STRINGDATA(tmp5), data_of_integer_f77_array(_dummyFunctionPointerNotUsed_ext), (int*) &_n, data_of_real_f77_array(_T_ext), (int*) &_lda, (int*) &_sdim, data_of_real_f77_array(_eval_real_ext), data_of_real_f77_array(_eval_imag_ext), data_of_real_f77_array(_Z_ext), (int*) &_lda, data_of_real_f77_array(_work_ext), (int*) &_lwork, data_of_boolean_f77_array(_bwork_ext), (int*) &_info_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:101:53: note: expanded from macro 'data_of_boolean_f77_array' #define data_of_boolean_f77_array(arr) (modelica_boolean*) ((arr).data) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.h:202:263: note: passing argument to parameter here extern void dgees_(char*, char*, int* /*_dummyFunctionPointerNotUsed*/, int* /*_n*/, double* /*_T*/, int* /*_lda*/, int* /*_sdim*/, double* /*_eval_real*/, double* /*_eval_imag*/, double* /*_Z*/, int* /*_lda*/, double* /*_work*/, int* /*_lwork*/, int* /*_bwork*/, int* /*_info*/); ^ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:4284:71: warning: incompatible pointer types passing 'modelica_boolean *' (aka 'signed char *') to parameter of type 'int *' [-Wincompatible-pointer-types] dtrsen_((char*)MMC_STRINGDATA(_job), (char*)MMC_STRINGDATA(_compq), data_of_boolean_f77_array(_select_ext), (int*) &_n, data_of_real_f77_array(_To_ext), (int*) &_ldt, data_of_real_f77_array(_Qo_ext), (int*) &_ldq, data_of_real_f77_array(_wr_ext), data_of_real_f77_array(_wi_ext), (int*) &_m_ext, &_s_ext, &_sep_ext, data_of_real_f77_array(_work_ext), (int*) &_lwork, data_of_integer_f77_array(_iwork_ext), (int*) &_liwork, (int*) &_info_ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:101:53: note: expanded from macro 'data_of_boolean_f77_array' #define data_of_boolean_f77_array(arr) (modelica_boolean*) ((arr).data) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.h:332:71: note: passing argument to parameter here extern void dtrsen_(char* /*_job*/, char* /*_compq*/, int* /*_select*/, int* /*_n*/, double* /*_To*/, int* /*_ldt*/, double* /*_Qo*/, int* /*_ldq*/, double* /*_wr*/, double* /*_wi*/, int* /*_m*/, double* /*_s*/, double* /*_sep*/, double* /*_work*/, int* /*_lwork*/, int* /*_iwork*/, int* /*_liwork*/, int* /*_info*/); ^ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:5309:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:5318:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:5608:3: warning: implicit declaration of function 'identity_alloc_modelica_integer' is invalid in C99 [-Wimplicit-function-declaration] identity_alloc_modelica_integer(tmp1, &tmp2); ^ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:5609:8: error: assigning to 'real_array' (aka 'struct base_array_s') from incompatible type 'modelica_integer' (aka 'long') tmp4 = tmp2; ^ ~~~~ ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.c:5616:8: error: assigning to 'real_array' (aka 'struct base_array_s') from incompatible type 'modelica_integer' (aka 'long') tmp8 = tmp6; ^ ~~~~ 5 warnings and 2 errors generated. make: *** [: ModelicaTest_4.1.0_ModelicaTest.Math.TestMatrices2_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.796662852168083] Failed to read output from testmodel.py, exit status != 0: ['time', 'result'] 0.3545361920259893 0.36444318600000003 0.33114134300000003 Calling exit ...