Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.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.001366/0.001366, allocations: 112.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 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.00141/0.00141, allocations: 185.8 kB / 23.71 MB, free: 5.402 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.236/1.236, 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.1888/0.1888, allocations: 44.91 MB / 352.3 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.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1") translateModel(ModelicaTest.Blocks.PadeDelay1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|padeDelay1.y|padeDelayOld1.y|padeDelay2.y|padeDelayOld2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.205e-05/1.205e-05, allocations: 2.281 kB / 495.9 MB, free: 1.934 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.PadeDelay1): time 0.002546/0.002558, allocations: 1.837 MB / 497.7 MB, free: 84 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.004284, allocations: 1.146 MB / 498.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.294e-05/0.004337, allocations: 0 / 498.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.004472, allocations: 35.66 kB / 498.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.954e-05/0.004542, allocations: 27.78 kB / 499 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.005627, allocations: 0.4949 MB / 499.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000419/0.006046, allocations: 447.1 kB / 499.9 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.44e-05/0.00614, allocations: 25.67 kB / 499.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.006354, allocations: 199.5 kB / 0.4884 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002343/0.006588, allocations: 223.3 kB / 0.4886 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.372e-05/0.006632, allocations: 28 kB / 0.4886 GB, free: 13.47 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.007418, allocations: 0.6551 MB / 0.4893 GB, free: 12.81 MB / 366.1 MB Notification: Performance of combineBinaries: time 0.0003256/0.007743, allocations: 420.4 kB / 0.4897 GB, free: 12.4 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001165/0.00786, allocations: 185.2 kB / 0.4898 GB, free: 12.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.007901, allocations: 27.88 kB / 0.4899 GB, free: 12.19 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.121e-05/0.007922, allocations: 11.92 kB / 0.4899 GB, free: 12.18 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: 104 (26) * Number of variables: 104 (28) Notification: Performance of Bindings: time 0.0009261/0.008848, allocations: 0.909 MB / 0.4908 GB, free: 11.14 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002319/0.00908, allocations: 218.2 kB / 0.491 GB, free: 10.93 MB / 366.1 MB Notification: Performance of Early Inline: time 0.000722/0.009802, allocations: 0.7064 MB / 0.4917 GB, free: 10.2 MB / 366.1 MB Notification: Performance of Simplify 1: time 0.0001908/0.009993, allocations: 158.2 kB / 0.4918 GB, free: 10.02 MB / 366.1 MB Notification: Performance of Alias: time 0.001066/0.01106, allocations: 0.8494 MB / 0.4926 GB, free: 9.043 MB / 366.1 MB Notification: Performance of Simplify 2: time 0.0001614/0.01122, allocations: 147.5 kB / 0.4928 GB, free: 8.871 MB / 366.1 MB Notification: Performance of Remove Stream: time 0.0001279/0.01135, allocations: 139.6 kB / 0.4929 GB, free: 8.711 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002909/0.01164, allocations: 229.1 kB / 0.4931 GB, free: 8.449 MB / 366.1 MB Notification: Performance of Events: time 0.0001416/0.01178, allocations: 95.83 kB / 0.4932 GB, free: 8.355 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0003374/0.01212, allocations: 296 kB / 0.4935 GB, free: 8.051 MB / 366.1 MB Notification: Performance of Causalize: time 0.001656/0.01377, allocations: 1.295 MB / 0.4948 GB, free: 6.746 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005283/0.0143, allocations: 0.5229 MB / 0.4953 GB, free: 6.223 MB / 366.1 MB Notification: Performance of Simplify: time 0.0004278/0.01473, allocations: 344.4 kB / 0.4956 GB, free: 5.836 MB / 366.1 MB Notification: Performance of Inline: time 0.0007888/0.01552, allocations: 0.7621 MB / 0.4964 GB, free: 5.066 MB / 366.1 MB Notification: Performance of Partitioning: time 3.384e-05/0.01555, allocations: 22.38 kB / 0.4964 GB, free: 5.039 MB / 366.1 MB Notification: Performance of Cleanup: time 0.000174/0.01573, allocations: 203.7 kB / 0.4966 GB, free: 4.84 MB / 366.1 MB Notification: Performance of Causalize: time 0.007227/0.02295, allocations: 5.97 MB / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Tearing: time 8.075e-06/0.02296, allocations: 0 / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Initialization: time 4.11e-07/0.02296, allocations: 0 / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Remove Dummies: time 4.058e-06/0.02297, allocations: 0 / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Tearing: time 1.933e-06/0.02297, allocations: 0 / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Categorize: time 1.038e-05/0.02298, allocations: 7.938 kB / 0.5024 GB, free: 14.75 MB / 382.1 MB Notification: Performance of Solve: time 0.0009469/0.02393, allocations: 1.056 MB / 0.5034 GB, free: 13.59 MB / 382.1 MB Notification: Performance of Jacobian: time 0.0009966/0.02492, allocations: 0.9881 MB / 0.5044 GB, free: 12.53 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: ............... 2 * Number of algebraic event partitions: ......... 0 * 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: ............................. 40 (4) {padeDelayOld2.x, padeDelayOld1.x, padeDelay1.x, padeDelay2.x} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $TEV_0} * 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: ........... 39 (scalar:35, array:4, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 57 (scalar:47, array:10, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:4) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 0, nonlinear:2) Notification: Performance of backend: time 4.348e-05/0.02497, allocations: 36.39 kB / 0.5044 GB, free: 12.49 MB / 382.1 MB Notification: Performance of SimCode: time 0.004024/0.02899, allocations: 4.32 MB / 0.5087 GB, free: 8.035 MB / 382.1 MB Notification: Performance of Templates: time 0.01209/0.04108, allocations: 7.782 MB / 0.5163 GB, free: 252 kB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_Blocks_PadeDelay1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.c ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1.c:511:1: warning: 'optnone' attribute only applies to functions and Objective-C methods [-Wignored-attributes] OMC_DISABLE_OPT ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../meta/../openmodelica.h:187:40: note: expanded from macro 'OMC_DISABLE_OPT' #define OMC_DISABLE_OPT __attribute__((optnone)) ^ 1 warning generated. clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_Blocks_PadeDelay1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_functions.o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_functions.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_Blocks_PadeDelay1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_records.o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_Blocks_PadeDelay1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_01exo.o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_Blocks_PadeDelay1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_02nls.o ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_02nls.c ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_02nls.c:66:10: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[0] = sub_alloc_real_array(mul_alloc_real_matrix_product_smart(tmp0, tmp2), tmp14); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_02nls.c:172:10: error: assigning to 'double' from incompatible type 'real_array' (aka 'struct base_array_s') res[0] = sub_alloc_real_array(mul_alloc_real_matrix_product_smart(tmp0, tmp2), tmp14); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Blocks.PadeDelay1_02nls.o] Error 1 [Calling os._exit(0), Time elapsed: 2.9716683672741055]