Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2") translateModel(ModelicaTest.Math.TestMatrices2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 103.2 kB / 16.42 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 189.5 kB / 17.35 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.313/1.313, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1798/0.1798, allocations: 39.95 MB / 310.5 MB, free: 4.039 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.978e-05/1.978e-05, allocations: 2.5 kB / 436.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestMatrices2): time 0.00112/0.001148, allocations: 0.493 MB / 436.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007035/0.008194, allocations: 5.067 MB / 441.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.008226, allocations: 0 / 441.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.16e-05/0.008243, allocations: 0 / 441.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.448e-06/0.008253, allocations: 4 kB / 441.9 MB, free: 6.238 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2282:3-2375:16:writable] Warning: Pure function 'Modelica.Math.Matrices.realSchur' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgees'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1184:3-1248:13:writable] Warning: Pure function 'Modelica.Math.Matrices.solve2' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2034:3-2097:21:writable] Warning: Pure function 'Modelica.Math.Matrices.singularValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesvd'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:3690:3-3901:25:writable] Warning: Pure function 'Modelica.Math.Matrices.continuousLyapunov' contains a call to impure function 'Modelica.Math.Matrices.realSchur'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:3903:3-4049:26:writable] Warning: Pure function 'Modelica.Math.Matrices.continuousSylvester' contains a call to impure function 'Modelica.Math.Matrices.realSchur'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:11443:5-11532:19:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.reorderRSF' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dtrsen'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:11372:5-11441:30:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.eigenvaluesHessenberg' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dhseqr'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:10796:5-10961:35:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.continuousRiccatiIterative' contains a call to impure function 'Modelica.Math.Matrices.solve2'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:4051:3-4241:24:writable] Warning: Pure function 'Modelica.Math.Matrices.continuousRiccati' contains a call to impure function 'Modelica.Math.Matrices.solve2'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:4243:3-4418:23:writable] Warning: Pure function 'Modelica.Math.Matrices.discreteLyapunov' contains a call to impure function 'Modelica.Math.Matrices.realSchur'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:11287:5-11370:26:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.toUpperHessenberg' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgehrd'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2202:3-2280:17:writable] Warning: Pure function 'Modelica.Math.Matrices.hessenberg' contains a call to impure function 'Modelica.Math.Matrices.Utilities.toUpperHessenberg'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:4420:3-4624:24:writable] Warning: Pure function 'Modelica.Math.Matrices.discreteSylvester' contains a call to impure function 'Modelica.Math.Matrices.realSchur'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:10963:5-11123:33:writable] Warning: Pure function 'Modelica.Math.Matrices.Utilities.discreteRiccatiIterative' contains a call to impure function 'Modelica.Math.Matrices.solve2'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:4626:3-4842:22:writable] Warning: Pure function 'Modelica.Math.Matrices.discreteRiccati' contains a call to impure function 'Modelica.Math.Matrices.solve2'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2990:3-3051:12:writable] Warning: Pure function 'Modelica.Math.Matrices.rcond' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2377:3-2478:15:writable] Warning: Pure function 'Modelica.Math.Matrices.cholesky' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dpotrf'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/Math.mo:208:3-482:16:writable] Warning: Pure function 'ModelicaTest.Math.Matrices2' contains a call to impure function 'Modelica.Math.Matrices.realSchur'. Notification: Performance of NFTyping.typeClassSections: time 0.005308/0.01357, allocations: 2.961 MB / 444.9 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.761e-05/0.01363, allocations: 7.938 kB / 444.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.01368, allocations: 0 / 444.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.499e-05/0.0137, allocations: 7.922 kB / 444.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.485e-05/0.01372, allocations: 0 / 444.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.35e-06/0.01372, allocations: 0 / 444.9 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004466/0.01819, allocations: 4.592 MB / 449.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of combineBinaries: time 2.585e-05/0.01823, allocations: 0 / 449.5 MB, free: 14.67 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 3.938e-06/0.01824, allocations: 7.906 kB / 449.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.383e-05/0.01826, allocations: 4 kB / 449.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.304e-06/0.01827, allocations: 0 / 449.5 MB, free: 14.66 MB / 334.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.0002475/0.01853, allocations: 141.5 kB / 449.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of FunctionAlias: time 1.92e-05/0.01855, allocations: 0 / 449.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of Early Inline: time 8.845e-05/0.01864, allocations: 60.3 kB / 449.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simplify1: time 3.507e-06/0.01865, allocations: 3.984 kB / 449.7 MB, free: 14.33 MB / 334.1 MB Notification: Performance of Alias: time 5.132e-05/0.01871, allocations: 52.62 kB / 449.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simplify2: time 5.61e-07/0.01871, allocations: 0 / 449.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of Events: time 1.636e-05/0.01874, allocations: 3.938 kB / 449.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of Detect States: time 6.027e-05/0.0188, allocations: 41.84 kB / 449.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of Partitioning: time 5.278e-05/0.01886, allocations: 12.12 kB / 449.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of Causalize: time 0.0001122/0.01898, allocations: 32.05 kB / 449.9 MB, free: 14.12 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 3.753e-05/0.01902, allocations: 48.62 kB / 449.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of Inline: time 7.633e-05/0.01911, allocations: 76.45 kB / 450 MB, free: 13.94 MB / 334.1 MB Notification: Performance of Partitioning: time 9.147e-06/0.01912, allocations: 8.125 kB / 450 MB, free: 13.92 MB / 334.1 MB Notification: Performance of Cleanup: time 8.666e-06/0.01914, allocations: 4 kB / 450 MB, free: 13.92 MB / 334.1 MB Notification: Performance of Causalize: time 5.822e-05/0.0192, allocations: 39.98 kB / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Tearing: time 5.04e-06/0.01921, allocations: 256 / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Initialization: time 2.7e-07/0.01922, allocations: 4 kB / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Tearing: time 8.21e-07/0.01922, allocations: 0 / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Categorize: time 5.831e-06/0.01923, allocations: 0 / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Solve: time 1.317e-05/0.01925, allocations: 0 / 450 MB, free: 13.87 MB / 334.1 MB Notification: Performance of Jacobian: time 6.492e-06/0.01926, allocations: 4 kB / 450 MB, free: 13.86 MB / 334.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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {result} * 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 (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 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.682e-05/0.01929, allocations: 13.75 kB / 450 MB, free: 13.86 MB / 334.1 MB Notification: Performance of SimCode: time 0.009934/0.02923, allocations: 9.425 MB / 459.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of Templates: time 0.0203/0.04956, allocations: 14.17 MB / 473.6 MB, free: 6.227 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.makefile make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_2_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_3.2.2_ModelicaTest.Math.TestMatrices2.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_3_2_2_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_3.2.2_ModelicaTest.Math.TestMatrices2_functions.o ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:110:57: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:188:33: error: use of undeclared identifier '_OMC_LIT2' tmpMeta8 = stringAppend(_OMC_LIT2,tmp7); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:189:42: error: use of undeclared identifier '_OMC_LIT3' tmpMeta9 = stringAppend(tmpMeta8,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:204:55: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:986:57: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:1215:34: error: use of undeclared identifier '_OMC_LIT5' tmpMeta30 = stringAppend(_OMC_LIT5,tmp29); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:1216:44: error: use of undeclared identifier '_OMC_LIT6' tmpMeta31 = stringAppend(tmpMeta30,_OMC_LIT6); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:1401:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta18 = stringAppend(_OMC_LIT7,tmp17); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:1767:55: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:1961:32: error: use of undeclared identifier '_OMC_LIT7' tmpMeta23 = stringAppend(_OMC_LIT7,tmp22); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2314:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2474:40: error: use of undeclared identifier '_OMC_LIT10' tmpMeta27 = stringAppend(_OMC_LIT10,tmp26); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2475:50: error: use of undeclared identifier '_OMC_LIT11' tmpMeta28 = stringAppend(tmpMeta27,_OMC_LIT11); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2519:21: error: use of undeclared identifier '_OMC_LIT12' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2519:32: error: use of undeclared identifier '_OMC_LIT13' _normspec = (_inf?_OMC_LIT12:_OMC_LIT13); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2601:55: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2713:55: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2768:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.c:2805:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.2_ModelicaTest.Math.TestMatrices2_functions.o] Error 1