Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001895/0.001895, allocations: 111.9 kB / 20.54 MB, free: 1.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002281/0.002281, allocations: 213.3 kB / 23.74 MB, free: 5.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.2 MB / 257 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2668/0.2668, allocations: 46.91 MB / 360.1 MB, free: 4.879 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") translateModel(ModelicaTest.Math.TestMatrices2b,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 4.93e-05/4.93e-05, allocations: 2.281 kB / 0.4953 GB, free: 8.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2b): time 0.002211/0.00226, allocations: 0.4892 MB / 0.4957 GB, free: 8.078 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004988/0.007248, allocations: 2.173 MB / 0.4979 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.007276, allocations: 0 / 0.4979 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.121e-05/0.007298, allocations: 0 / 0.4979 GB, free: 5.883 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-06/0.007306, allocations: 0 / 0.4979 GB, free: 5.883 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:485:3-574:17:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2b' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.003188/0.01049, allocations: 0.738 MB / 0.4986 GB, free: 5.152 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 8.391e-05/0.01058, allocations: 4 kB / 0.4986 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.474e-05/0.01065, allocations: 0 / 0.4986 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.508e-05/0.01068, allocations: 0 / 0.4986 GB, free: 5.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.669e-05/0.01071, allocations: 4 kB / 0.4986 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.127e-06/0.01072, allocations: 0 / 0.4986 GB, free: 5.145 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003754/0.01448, allocations: 1.552 MB / 0.5001 GB, free: 3.59 MB / 366.1 MB Notification: Performance of combineBinaries: time 4.895e-05/0.01453, allocations: 15.83 kB / 0.5001 GB, free: 3.574 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 1.893e-06/0.01453, allocations: 4 kB / 0.5001 GB, free: 3.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.01455, allocations: 0 / 0.5001 GB, free: 3.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.2e-05/0.01456, allocations: 0 / 0.5001 GB, free: 3.57 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.0004976/0.01506, allocations: 192.6 kB / 0.5003 GB, free: 3.27 MB / 366.1 MB Notification: Performance of FunctionAlias: time 2.934e-05/0.01509, allocations: 2.812 kB / 0.5003 GB, free: 3.27 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0001109/0.0152, allocations: 52.44 kB / 0.5004 GB, free: 3.191 MB / 366.1 MB Notification: Performance of Simplify 1: time 6.943e-05/0.01527, allocations: 40.42 kB / 0.5004 GB, free: 3.125 MB / 366.1 MB Notification: Performance of Alias: time 0.0001212/0.01539, allocations: 68.73 kB / 0.5005 GB, free: 3.008 MB / 366.1 MB Notification: Performance of Simplify 2: time 5.49e-05/0.01544, allocations: 36.44 kB / 0.5005 GB, free: 2.945 MB / 366.1 MB Notification: Performance of Remove Stream: time 5.294e-05/0.0155, allocations: 32.44 kB / 0.5005 GB, free: 2.887 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002204/0.01572, allocations: 76.77 kB / 0.5006 GB, free: 2.773 MB / 366.1 MB Notification: Performance of Events: time 3.092e-05/0.01575, allocations: 4 kB / 0.5006 GB, free: 2.77 MB / 366.1 MB Notification: Performance of Partitioning: time 9.012e-05/0.01584, allocations: 16.12 kB / 0.5006 GB, free: 2.746 MB / 366.1 MB Notification: Performance of Causalize: time 0.0001722/0.01601, allocations: 16.11 kB / 0.5006 GB, free: 2.723 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 2.819e-05/0.01604, allocations: 15.94 kB / 0.5007 GB, free: 2.707 MB / 366.1 MB Notification: Performance of Simplify: time 0.0001532/0.01619, allocations: 76.97 kB / 0.5007 GB, free: 2.582 MB / 366.1 MB Notification: Performance of Inline: time 3.75e-05/0.01623, allocations: 16.06 kB / 0.5007 GB, free: 2.562 MB / 366.1 MB Notification: Performance of Partitioning: time 1.908e-05/0.01625, allocations: 12.12 kB / 0.5008 GB, free: 2.543 MB / 366.1 MB Notification: Performance of Cleanup: time 2.255e-05/0.01627, allocations: 7.922 kB / 0.5008 GB, free: 2.535 MB / 366.1 MB Notification: Performance of Causalize: time 9.031e-05/0.01636, allocations: 24.12 kB / 0.5008 GB, free: 2.504 MB / 366.1 MB Notification: Performance of Tearing: time 1.473e-05/0.01637, allocations: 0 / 0.5008 GB, free: 2.504 MB / 366.1 MB Notification: Performance of Initialization: time 6.01e-07/0.01638, allocations: 0 / 0.5008 GB, free: 2.504 MB / 366.1 MB Notification: Performance of Remove Dummies: time 9.988e-06/0.01639, allocations: 4 kB / 0.5008 GB, free: 2.5 MB / 366.1 MB Notification: Performance of Tearing: time 1.453e-06/0.01639, allocations: 4.188 kB / 0.5008 GB, free: 2.496 MB / 366.1 MB Notification: Performance of Categorize: time 1.494e-05/0.0164, allocations: 3.984 kB / 0.5008 GB, free: 2.492 MB / 366.1 MB Notification: Performance of Solve: time 2.92e-05/0.01643, allocations: 4 kB / 0.5008 GB, free: 2.488 MB / 366.1 MB Notification: Performance of Jacobian: time 8.135e-06/0.01644, allocations: 0 / 0.5008 GB, free: 2.488 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 5.976e-05/0.0165, allocations: 16.02 kB / 0.5008 GB, free: 2.473 MB / 366.1 MB Notification: Performance of SimCode: time 0.006744/0.02324, allocations: 2.689 MB / 0.5034 GB, free: 15.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02169/0.04493, allocations: 7.299 MB / 0.5106 GB, free: 8.465 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.makefile [Timeout 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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 trunk/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_trunk_ModelicaTest_Math_TestMatrices2b -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_trunk_ModelicaTest.Math.TestMatrices2b.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b.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 trunk/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_trunk_ModelicaTest_Math_TestMatrices2b -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_trunk_ModelicaTest.Math.TestMatrices2b_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1339:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1348:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1489:24: error: passing 'void *' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') real_array_copy_data(_OMC_LIT0, _A); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_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); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1492:24: error: passing 'void *' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') real_array_copy_data(_OMC_LIT1, _B); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_literals.h:10:19: note: expanded from macro '_OMC_LIT1' #define _OMC_LIT1 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT1) ^ /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); ^ ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.c:1495:24: error: passing 'void *' to parameter of incompatible type 'base_array_t' (aka 'struct base_array_s') real_array_copy_data(_OMC_LIT2, _C); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ ./ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_literals.h:13:19: note: expanded from macro '_OMC_LIT2' #define _OMC_LIT2 MMC_REFSTRINGLIT(_OMC_LIT_STRUCT2) ^ /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); ^ 2 warnings and 3 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestMatrices2b_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 3.7084846114739776]