Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 110.4 kB / 20.54 MB, free: 1.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 186.2 kB / 23.72 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.29/1.29, allocations: 225.6 MB / 252.3 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1943/0.1943, allocations: 44.92 MB / 352.4 MB, free: 12.23 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") translateModel(ModelicaTest.Math.TestMatrices3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.666e-05/1.666e-05, allocations: 4.953 kB / 495.9 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices3): time 0.001228/0.001245, allocations: 0.4893 MB / 496.4 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.003219, allocations: 1.54 MB / 497.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.863e-05/0.003237, allocations: 4 kB / 497.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.31e-05/0.003251, allocations: 0 / 497.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 3.717e-06/0.003254, allocations: 0 / 497.9 MB, free: 15.91 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:576:3-610:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices3' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0006906/0.003945, allocations: 225.2 kB / 498.2 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 3.245e-05/0.003977, allocations: 3.984 kB / 498.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.632e-05/0.004004, allocations: 0 / 498.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.387e-06/0.004013, allocations: 4 kB / 498.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.243e-05/0.004025, allocations: 4 kB / 498.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.837e-06/0.004029, allocations: 0 / 498.2 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005153/0.004545, allocations: 407.6 kB / 498.6 MB, free: 15.28 MB / 366.1 MB Notification: Performance of combineBinaries: time 1.871e-05/0.004563, allocations: 3.984 kB / 498.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 2.354e-06/0.004566, allocations: 7.906 kB / 498.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-06/0.004574, allocations: 0 / 498.6 MB, free: 15.27 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.169e-06/0.004579, allocations: 0 / 498.6 MB, free: 15.27 MB / 366.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 Bindings: time 0.0002599/0.004839, allocations: 170.2 kB / 498.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.794e-05/0.004857, allocations: 14.75 kB / 498.8 MB, free: 14.97 MB / 366.1 MB Notification: Performance of Early Inline: time 5.738e-05/0.004914, allocations: 44.55 kB / 498.8 MB, free: 14.9 MB / 366.1 MB Notification: Performance of Simplify 1: time 4.352e-05/0.004958, allocations: 44.38 kB / 498.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Alias: time 6.35e-05/0.005021, allocations: 68.73 kB / 498.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.972e-05/0.005061, allocations: 40.42 kB / 498.9 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.383e-05/0.005095, allocations: 36.44 kB / 499 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Detect States: time 0.000112/0.005207, allocations: 66.8 kB / 499 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Events: time 1.395e-05/0.005221, allocations: 4 kB / 499.1 MB, free: 14.48 MB / 366.1 MB Notification: Performance of Partitioning: time 4.602e-05/0.005267, allocations: 16.12 kB / 499.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001051/0.005372, allocations: 28.05 kB / 499.1 MB, free: 14.42 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.446e-05/0.005386, allocations: 11.98 kB / 499.1 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Simplify: time 7.58e-05/0.005462, allocations: 68.8 kB / 499.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of Inline: time 1.894e-05/0.005481, allocations: 20 kB / 499.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Partitioning: time 1.031e-05/0.005491, allocations: 8.125 kB / 499.2 MB, free: 14.25 MB / 366.1 MB Notification: Performance of Cleanup: time 1.446e-05/0.005506, allocations: 15.94 kB / 499.2 MB, free: 14.23 MB / 366.1 MB Notification: Performance of Causalize: time 5.344e-05/0.005559, allocations: 24.3 kB / 499.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Tearing: time 5.821e-06/0.005565, allocations: 3.938 kB / 499.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Initialization: time 2.6e-07/0.005565, allocations: 0 / 499.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.066e-06/0.005568, allocations: 0 / 499.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Tearing: time 2.746e-06/0.005571, allocations: 4 kB / 499.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of Categorize: time 6.512e-06/0.005578, allocations: 4 kB / 499.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Solve: time 1.299e-05/0.005591, allocations: 0 / 499.3 MB, free: 14.19 MB / 366.1 MB Notification: Performance of Jacobian: time 2.885e-06/0.005593, allocations: 0 / 499.3 MB, free: 14.19 MB / 366.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: ............ 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: [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 3.49e-05/0.005628, allocations: 31.62 kB / 499.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.001174/0.006802, allocations: 1.148 MB / 0.4887 GB, free: 13.01 MB / 366.1 MB Notification: Performance of Templates: time 0.003902/0.0107, allocations: 1.535 MB / 0.4902 GB, free: 11.47 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.0.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_0_0_ModelicaTest_Math_TestMatrices3 -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.0.0_ModelicaTest.Math.TestMatrices3.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3.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.0.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_0_0_ModelicaTest_Math_TestMatrices3 -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.0.0_ModelicaTest.Math.TestMatrices3_functions.o ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_functions.c ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_functions.c:505: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.0.0_ModelicaTest.Math.TestMatrices3_functions.c:539:24: error: passing 'void *' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') real_array_copy_data(_OMC_LIT0, _A1); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ ./ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_literals.h:7:19: note: expanded from macro '_OMC_LIT0' #define _OMC_LIT0 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT0) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:188:32: note: expanded from macro 'MMC_REFSTRINGLIT' #define MMC_REFSTRINGLIT(NAME) MMC_TAGPTR(&(NAME).header) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/../meta/meta_modelica_data.h:106:35: note: expanded from macro 'MMC_TAGPTR' #define MMC_TAGPTR(p) ((void*)((char*)(p) + 3)) ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:48:76: note: expanded from macro 'real_array_copy_data' #define real_array_copy_data(src,dst) simple_array_copy_data(src, &dst, sizeof(modelica_real)); ^~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/util/generic_array.h:46:48: note: passing argument to parameter 'src' here void simple_array_copy_data(const base_array_t src, base_array_t* dst, size_t sze); ^ 1 warning and 1 error generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices3_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 2.595634911209345]