Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") translateModel(ModelicaTest.Math.TestScalarFunctions,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|result",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001315/0.001315, allocations: 115.6 kB / 18.47 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008691/0.0008691, allocations: 206.3 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.131/1.131, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1795/0.1795, allocations: 46.1 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.677e-05/1.679e-05, allocations: 2.281 kB / 481.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Math.TestScalarFunctions): time 0.001091/0.001115, allocations: 0.4965 MB / 482.4 MB, free: 3.629 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.002985, allocations: 1.641 MB / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.854e-05/0.003014, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.548e-06/0.003031, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-06/0.003039, allocations: 0 / 484 MB, free: 1.969 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/Math.mo:4:3-36:22:writable] Warning: Pure function 'ModelicaTest.Math.ScalarFunctions' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0005936/0.003645, allocations: 162.8 kB / 484.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.407e-05/0.003696, allocations: 11.98 kB / 484.2 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.837e-05/0.003732, allocations: 4 kB / 484.2 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.003751, allocations: 3.984 kB / 484.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.803e-05/0.003773, allocations: 3.938 kB / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-06/0.003783, allocations: 0 / 484.2 MB, free: 1.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.004106, allocations: 115.9 kB / 484.3 MB, free: 1.676 MB / 350.1 MB Notification: Performance of combineBinaries: time 1.754e-05/0.004133, allocations: 4 kB / 484.3 MB, free: 1.672 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 1.753e-06/0.004139, allocations: 3.906 kB / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.117e-06/0.004153, allocations: 0 / 484.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.091e-06/0.004164, allocations: 4 kB / 484.3 MB, free: 1.664 MB / 350.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.0002086/0.004377, allocations: 157.4 kB / 484.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of FunctionAlias: time 1.049e-05/0.004394, allocations: 7.891 kB / 484.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of Early Inline: time 5.344e-05/0.004452, allocations: 56.36 kB / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simplify1: time 1.332e-06/0.004459, allocations: 0 / 484.6 MB, free: 1.32 MB / 350.1 MB Notification: Performance of Alias: time 4.087e-05/0.004504, allocations: 48.61 kB / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of simplify2: time 5.31e-07/0.004509, allocations: 0 / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Events: time 1.06e-05/0.004524, allocations: 0 / 484.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of Detect States: time 5.678e-05/0.004586, allocations: 36.19 kB / 484.6 MB, free: 1.184 MB / 350.1 MB Notification: Performance of Partitioning: time 3.83e-05/0.004631, allocations: 12.12 kB / 484.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of Causalize: time 8.614e-05/0.004724, allocations: 28.05 kB / 484.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 3.52e-05/0.004765, allocations: 52.36 kB / 484.7 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Inline: time 6.258e-05/0.004833, allocations: 60.5 kB / 484.8 MB, free: 0.957 MB / 350.1 MB Notification: Performance of Partitioning: time 7.835e-06/0.004848, allocations: 12.31 kB / 484.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Cleanup: time 5.52e-06/0.004858, allocations: 0 / 484.8 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of Causalize: time 4.416e-05/0.004909, allocations: 32.05 kB / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Tearing: time 5.921e-06/0.004922, allocations: 0 / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Initialization: time 5.71e-07/0.004926, allocations: 0 / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Tearing: time 9.32e-07/0.004931, allocations: 0 / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Categorize: time 5.04e-06/0.00494, allocations: 0 / 484.8 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of Solve: time 1.286e-05/0.004957, allocations: 7.984 kB / 484.8 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of Jacobian: time 2.044e-06/0.004964, allocations: 0 / 484.8 MB, free: 0.8906 MB / 350.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.518e-05/0.004994, allocations: 17.8 kB / 484.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of SimCode: time 0.00055/0.005549, allocations: 0.8151 MB / 485.7 MB, free: 44 kB / 350.1 MB Notification: Performance of Templates: time 0.002221/0.007788, allocations: 0.5863 MB / 486.3 MB, free: 15.46 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.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_TestScalarFunctions -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.TestScalarFunctions.o ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions.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_TestScalarFunctions -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.TestScalarFunctions_functions.o ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:75: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.TestScalarFunctions_functions.c:110:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:110:63: error: use of undeclared identifier '_OMC_LIT3' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _OMC_LIT3); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:112:52: error: use of undeclared identifier '_OMC_LIT5' omc_Modelica_Utilities_Streams_print(threadData, _OMC_LIT5, _logFile); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:119:53: error: use of undeclared identifier '_OMC_LIT6' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT6)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:131:53: error: use of undeclared identifier '_OMC_LIT7' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT7)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:143:53: error: use of undeclared identifier '_OMC_LIT8' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT8)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:155:53: error: use of undeclared identifier '_OMC_LIT9' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT9)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:165:53: error: use of undeclared identifier '_OMC_LIT10' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT10)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:177:53: error: use of undeclared identifier '_OMC_LIT11' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT11)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:189:53: error: use of undeclared identifier '_OMC_LIT12' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT12)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:199:53: error: use of undeclared identifier '_OMC_LIT13' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT13)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:209:53: error: use of undeclared identifier '_OMC_LIT14' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT14)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:219:53: error: use of undeclared identifier '_OMC_LIT15' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT15)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:229:53: error: use of undeclared identifier '_OMC_LIT16' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT16)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:239:53: error: use of undeclared identifier '_OMC_LIT17' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT17)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:249:53: error: use of undeclared identifier '_OMC_LIT18' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT18)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:259:53: error: use of undeclared identifier '_OMC_LIT19' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT19)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:269:53: error: use of undeclared identifier '_OMC_LIT20' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT20)); ^ ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.c:279:53: error: use of undeclared identifier '_OMC_LIT21' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT21)); ^ 1 warning and 19 errors generated. make: *** [: ModelicaTest_trunk_ModelicaTest.Math.TestScalarFunctions_functions.o] Error 1