Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.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.002078/0.002078, allocations: 111.2 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.002127/0.002127, allocations: 210 kB / 23.73 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.585/1.585, allocations: 230.2 MB / 257 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2523/0.2523, allocations: 46.89 MB / 360.1 MB, free: 4.918 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-beta.om/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.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") translateModel(ModelicaTest.Utilities.TestStrings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.228e-05/2.228e-05, allocations: 2.281 kB / 0.4952 GB, free: 8.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStrings): time 0.001999/0.002022, allocations: 484.5 kB / 0.4957 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002964/0.004986, allocations: 1.335 MB / 0.497 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.327e-05/0.005009, allocations: 0 / 0.497 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 1.739e-05/0.005026, allocations: 0 / 0.497 GB, free: 6.801 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 8.435e-06/0.005035, allocations: 0 / 0.497 GB, free: 6.801 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/Utilities.mo:4:3-219:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Strings' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.006836, allocations: 0.5765 MB / 0.4976 GB, free: 6.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 5.71e-05/0.006893, allocations: 7.984 kB / 0.4976 GB, free: 6.215 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.182e-05/0.006935, allocations: 4 kB / 0.4976 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.62e-05/0.006951, allocations: 0 / 0.4976 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.072e-05/0.006971, allocations: 4 kB / 0.4976 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.544e-06/0.006979, allocations: 0 / 0.4976 GB, free: 6.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01778/0.02476, allocations: 2.538 MB / 0.5001 GB, free: 4.184 MB / 366.1 MB Notification: Performance of combineBinaries: time 3.864e-05/0.0248, allocations: 3.938 kB / 0.5001 GB, free: 4.18 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 5.21e-06/0.0248, allocations: 7.906 kB / 0.5001 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.02483, allocations: 0 / 0.5001 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.384e-05/0.02488, allocations: 0 / 0.5001 GB, free: 4.172 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.000362/0.02524, allocations: 170.3 kB / 0.5002 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FunctionAlias: time 2.23e-05/0.02527, allocations: 6.812 kB / 0.5002 GB, free: 3.883 MB / 366.1 MB Notification: Performance of Early Inline: time 8.373e-05/0.02535, allocations: 56.73 kB / 0.5003 GB, free: 3.801 MB / 366.1 MB Notification: Performance of Simplify 1: time 5.107e-05/0.0254, allocations: 36.44 kB / 0.5003 GB, free: 3.738 MB / 366.1 MB Notification: Performance of Alias: time 8.457e-05/0.02548, allocations: 72.86 kB / 0.5004 GB, free: 3.617 MB / 366.1 MB Notification: Performance of Simplify 2: time 4.148e-05/0.02553, allocations: 36.38 kB / 0.5004 GB, free: 3.555 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.835e-05/0.02556, allocations: 40.42 kB / 0.5005 GB, free: 3.488 MB / 366.1 MB Notification: Performance of Detect States: time 0.0001487/0.02571, allocations: 71.2 kB / 0.5005 GB, free: 3.379 MB / 366.1 MB Notification: Performance of Events: time 2.178e-05/0.02574, allocations: 3.984 kB / 0.5005 GB, free: 3.375 MB / 366.1 MB Notification: Performance of Partitioning: time 6.605e-05/0.0258, allocations: 20.12 kB / 0.5006 GB, free: 3.348 MB / 366.1 MB Notification: Performance of Causalize: time 0.000132/0.02593, allocations: 20.12 kB / 0.5006 GB, free: 3.32 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 2.246e-05/0.02596, allocations: 15.92 kB / 0.5006 GB, free: 3.305 MB / 366.1 MB Notification: Performance of Simplify: time 9.235e-05/0.02605, allocations: 68.81 kB / 0.5007 GB, free: 3.188 MB / 366.1 MB Notification: Performance of Inline: time 2.409e-05/0.02607, allocations: 16.05 kB / 0.5007 GB, free: 3.168 MB / 366.1 MB Notification: Performance of Partitioning: time 1.31e-05/0.02609, allocations: 12.12 kB / 0.5007 GB, free: 3.148 MB / 366.1 MB Notification: Performance of Cleanup: time 1.487e-05/0.0261, allocations: 4.188 kB / 0.5007 GB, free: 3.145 MB / 366.1 MB Notification: Performance of Causalize: time 6.946e-05/0.02617, allocations: 36.05 kB / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Tearing: time 9.198e-06/0.02618, allocations: 0 / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Initialization: time 4.51e-07/0.02618, allocations: 0 / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Remove Dummies: time 4.839e-06/0.02618, allocations: 0 / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Tearing: time 9.11e-07/0.02619, allocations: 0 / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Categorize: time 7.614e-06/0.02619, allocations: 0 / 0.5007 GB, free: 3.102 MB / 366.1 MB Notification: Performance of Solve: time 2.247e-05/0.02622, allocations: 8 kB / 0.5007 GB, free: 3.094 MB / 366.1 MB Notification: Performance of Jacobian: time 3.827e-06/0.02622, allocations: 0 / 0.5007 GB, free: 3.094 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.744e-05/0.02626, allocations: 18.33 kB / 0.5007 GB, free: 3.078 MB / 366.1 MB Notification: Performance of SimCode: time 0.00195/0.02821, allocations: 1.256 MB / 0.502 GB, free: 1.863 MB / 366.1 MB [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"abc\". [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: \"zxy\". Notification: Performance of Templates: time 0.006203/0.03441, allocations: 2.113 MB / 0.504 GB, free: 15.76 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.makefile [Timeout 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.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_4_1_0_beta_om_ModelicaTest_Utilities_TestStrings -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-beta.om_ModelicaTest.Utilities.TestStrings.o ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.c In file included from ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.c:7: In file included from ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_model.h:103: ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_literals.h:91:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "abc"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "abc"" ^ ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_literals.h:92:1: error: expected expression , ^ ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings_literals.h:93:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "zxy"" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: "zxy"" ^ 3 errors generated. make: *** [: ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestStrings.o] Error 1 [Calling os._exit(0), Time elapsed: 3.1328804194927216]