Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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.001404/0.001404, allocations: 112 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.001466/0.001466, 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.302/1.302, allocations: 225.6 MB / 252.3 MB, free: 13.32 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.198/0.198, allocations: 44.92 MB / 352.4 MB, free: 12.19 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.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") translateModel(ModelicaTest.Math.TestVectors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.944e-05/1.944e-05, allocations: 4.531 kB / 495.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestVectors): time 0.001254/0.001274, allocations: 0.4893 MB / 496.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.002511, allocations: 0.7784 MB / 497.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.191e-05/0.002523, allocations: 0 / 497.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.215e-05/0.002535, allocations: 3.938 kB / 497.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.138e-06/0.002539, allocations: 0 / 497.2 MB, free: 0.6484 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Math.mo:612:3-661:14:writable] Warning: Pure function 'ModelicaTest.Math.Vectors' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001415/0.003954, allocations: 0.594 MB / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 3.513e-05/0.003989, allocations: 0 / 497.8 MB, free: 56 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.244e-05/0.004022, allocations: 8 kB / 497.8 MB, free: 48 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.15e-05/0.004033, allocations: 0 / 497.8 MB, free: 48 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.222e-05/0.004045, allocations: 4 kB / 497.8 MB, free: 44 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.649e-06/0.00405, allocations: 0 / 497.8 MB, free: 44 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005896/0.00464, allocations: 403.2 kB / 498.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of combineBinaries: time 2.007e-05/0.00466, allocations: 7.922 kB / 498.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of replaceArrayConstructors: time 3.897e-06/0.004664, allocations: 7.906 kB / 498.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.297e-06/0.004673, allocations: 0 / 498.2 MB, free: 15.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.33e-06/0.004678, allocations: 0 / 498.2 MB, free: 15.63 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.0002602/0.004938, allocations: 162.3 kB / 498.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FunctionAlias: time 1.456e-05/0.004953, allocations: 14.81 kB / 498.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of Early Inline: time 6.453e-05/0.005018, allocations: 56.72 kB / 498.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of Simplify 1: time 3.553e-05/0.005053, allocations: 32.38 kB / 498.4 MB, free: 15.2 MB / 366.1 MB Notification: Performance of Alias: time 6.43e-05/0.005117, allocations: 76.86 kB / 498.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of Simplify 2: time 3.308e-05/0.00515, allocations: 36.44 kB / 498.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of Remove Stream: time 3.803e-05/0.005188, allocations: 40.42 kB / 498.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of Detect States: time 0.0002417/0.00543, allocations: 66.73 kB / 498.7 MB, free: 14.84 MB / 366.1 MB Notification: Performance of Events: time 1.686e-05/0.005447, allocations: 11.98 kB / 498.7 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Partitioning: time 4.432e-05/0.005491, allocations: 12.12 kB / 498.7 MB, free: 14.81 MB / 366.1 MB Notification: Performance of Causalize: time 8.955e-05/0.005581, allocations: 28.06 kB / 498.7 MB, free: 14.78 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 1.508e-05/0.005596, allocations: 11.98 kB / 498.7 MB, free: 14.77 MB / 366.1 MB Notification: Performance of Simplify: time 7.568e-05/0.005672, allocations: 68.8 kB / 498.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of Inline: time 3.017e-05/0.005702, allocations: 31.98 kB / 498.8 MB, free: 14.61 MB / 366.1 MB Notification: Performance of Partitioning: time 8.566e-06/0.00571, allocations: 8.125 kB / 498.8 MB, free: 14.6 MB / 366.1 MB Notification: Performance of Cleanup: time 1.112e-05/0.005722, allocations: 8.188 kB / 498.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of Causalize: time 5.245e-05/0.005774, allocations: 32.11 kB / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Tearing: time 6.673e-06/0.005781, allocations: 0 / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Initialization: time 2.6e-07/0.005781, allocations: 0 / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Remove Dummies: time 3.617e-06/0.005785, allocations: 0 / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Tearing: time 2.425e-06/0.005787, allocations: 4 kB / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Categorize: time 4.458e-06/0.005791, allocations: 0 / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Solve: time 1.394e-05/0.005805, allocations: 0 / 498.9 MB, free: 14.55 MB / 366.1 MB Notification: Performance of Jacobian: time 2.756e-06/0.005808, allocations: 0 / 498.9 MB, free: 14.55 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.495e-05/0.005843, allocations: 24.64 kB / 498.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of SimCode: time 0.001217/0.00706, allocations: 1.239 MB / 0.4884 GB, free: 13.28 MB / 366.1 MB [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Complex(1.0, 0.0). [CodegenCFunctions.tpl:3991:16-3991:16:writable] Error: Template error: literalExpConstArrayVal failed: Complex(0.0, 1.0). Notification: Performance of Templates: time 0.004533/0.01159, allocations: 1.811 MB / 0.4902 GB, free: 11.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.makefile [Timeout 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.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_TestVectors -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.TestVectors.o ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.c In file included from ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_model.h:102: ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_literals.h:42:14: error: unknown type name 'modelica_Complex'; did you mean 'modelica_complex'? static const modelica_Complex _OMC_LIT10_data[] = { ^~~~~~~~~~~~~~~~ modelica_complex /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/gc/../openmodelica_types.h:99:15: note: 'modelica_complex' declared here typedef void* modelica_complex; /* currently only External objects are represented using modelica_complex.*/ ^ In file included from ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.c:7: In file included from ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_model.h:102: ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_literals.h:43:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Complex(1.0, 0.0)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Complex(1.0, 0.0)" ^ ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_literals.h:44:1: error: expected expression , ^ ./ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors_literals.h:45:2: error: "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Complex(0.0, 1.0)" #error "[CodegenCFunctions.tpl:3991:16-3991:16] literalExpConstArrayVal failed: Complex(0.0, 1.0)" ^ 4 errors generated. make: *** [: ModelicaTest_4.0.0_ModelicaTest.Math.TestVectors.o] Error 1 [Calling os._exit(0), Time elapsed: 2.4707554671913385]