Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001034/0.001034, allocations: 202.2 kB / 15.8 MB, free: 6.332 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 226.5 MB / 243.1 MB, free: 12.56 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000781/0.0007811, allocations: 100.3 kB / 295.1 MB, free: 4.441 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1993/0.1993, allocations: 44.84 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.000308, allocations: 11.98 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1009, allocations: 62.95 MB / 0.5153 GB, free: 5.121 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001391/0.1023, allocations: 1.299 MB / 0.5166 GB, free: 3.805 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006613/0.103, allocations: 0.4914 MB / 0.5171 GB, free: 3.309 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.699e-05/0.103, allocations: 7.938 kB / 0.5171 GB, free: 3.301 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001748/0.1032, allocations: 19.92 kB / 0.5171 GB, free: 3.281 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1034, allocations: 63.81 kB / 0.5172 GB, free: 3.219 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001971/0.1036, allocations: 66.98 kB / 0.5172 GB, free: 3.156 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.1037, allocations: 75.7 kB / 0.5173 GB, free: 3.082 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.26e-05/0.1038, allocations: 11.97 kB / 0.5173 GB, free: 3.07 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.997e-05/0.1039, allocations: 23.92 kB / 0.5173 GB, free: 3.047 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.381e-05/0.1039, allocations: 27.84 kB / 0.5174 GB, free: 3.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.1039, allocations: 0 / 0.5174 GB, free: 3.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.1041, allocations: 87.89 kB / 0.5174 GB, free: 2.934 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.862e-05/0.1041, allocations: 19.91 kB / 0.5175 GB, free: 2.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.057e-05/0.1041, allocations: 33.7 kB / 0.5175 GB, free: 2.875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001334/0.1043, allocations: 103.8 kB / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1043, allocations: 0 / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1043, allocations: 0 / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.573e-06/0.1043, allocations: 0 / 0.5176 GB, free: 2.773 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003476/0.1046, allocations: 399.3 kB / 0.518 GB, free: 2.336 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.052e-05/0.1047, allocations: 8.031 kB / 0.518 GB, free: 2.328 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1047, allocations: 7.906 kB / 0.518 GB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001495/0.1049, allocations: 202.8 kB / 0.5182 GB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.073e-06/0.1049, allocations: 0 / 0.5182 GB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.1049, allocations: 11.98 kB / 0.5182 GB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.105, allocations: 67.39 kB / 0.5183 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.1051, allocations: 0 / 0.5183 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.1051, allocations: 0 / 0.5183 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.1051, allocations: 0 / 0.5183 GB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.852e-05/0.1052, allocations: 39.91 kB / 0.5183 GB, free: 1.953 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1055, allocations: 292.9 kB / 0.5186 GB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.1056, allocations: 58.55 kB / 0.5186 GB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.1057, allocations: 32.91 kB / 0.5187 GB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1057, allocations: 4 kB / 0.5187 GB, free: 1.512 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.722e-05/0.1057, allocations: 34.56 kB / 0.5187 GB, free: 1.469 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1057, allocations: 3.938 kB / 0.5187 GB, free: 1.465 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000548/0.1063, allocations: 205.1 kB / 0.5189 GB, free: 1.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.505e-05/0.1063, allocations: 77.11 kB / 0.519 GB, free: 1.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.1064, allocations: 158.1 kB / 0.5191 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/0.1064, allocations: 25.7 kB / 0.5191 GB, free: 0.9648 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.174e-05/0.1065, allocations: 96.12 kB / 0.5192 GB, free: 0.8672 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1065, allocations: 27.64 kB / 0.5193 GB, free: 0.8398 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/0.1065, allocations: 4 kB / 0.5193 GB, free: 0.8359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.177e-05/0.1066, allocations: 322.8 kB / 0.5196 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/0.1067, allocations: 31.98 kB / 0.5196 GB, free: 492 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.837e-05/0.1067, allocations: 53.62 kB / 0.5197 GB, free: 432 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.159e-05/0.1068, allocations: 43.95 kB / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.1068, allocations: 0 / 0.5197 GB, free: 388 kB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001888/0.107, allocations: 113.6 kB / 0.5198 GB, free: 268 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1071, allocations: 7.984 kB / 0.5198 GB, free: 260 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1071, allocations: 4 kB / 0.5198 GB, free: 256 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1071, allocations: 4 kB / 0.5198 GB, free: 252 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.662e-05/0.1072, allocations: 23.92 kB / 0.5198 GB, free: 228 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.1072, allocations: 3.953 kB / 0.5198 GB, free: 224 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.726e-05/0.1072, allocations: 8 kB / 0.5199 GB, free: 216 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.1073, allocations: 4 kB / 0.5199 GB, free: 212 kB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.591e-05/0.1073, allocations: 113.8 kB / 0.52 GB, free: 88 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.1074, allocations: 15.8 kB / 0.52 GB, free: 72 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.1076, allocations: 134.4 kB / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.1076, allocations: 0 / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.1077, allocations: 0 / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.1077, allocations: 3.953 kB / 0.5201 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004732/0.1081, allocations: 402.8 kB / 0.5205 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1082, allocations: 4 kB / 0.5205 GB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.1082, allocations: 19.98 kB / 0.5205 GB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1082, allocations: 4 kB / 0.5205 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.1083, allocations: 7.953 kB / 0.5205 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1083, allocations: 0 / 0.5205 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1083, allocations: 0 / 0.5205 GB, free: 15.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002464/0.1085, allocations: 203.4 kB / 0.5207 GB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.26e-05/0.1086, allocations: 88.95 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.1086, allocations: 8 kB / 0.5208 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.459e-05/0.1087, allocations: 11.94 kB / 0.5208 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.1087, allocations: 12.22 kB / 0.5208 GB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1087, allocations: 3.984 kB / 0.5208 GB, free: 15.09 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.62e-05/0.1088, allocations: 118 kB / 0.521 GB, free: 14.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1088, allocations: 3.938 kB / 0.521 GB, free: 14.97 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.1091, allocations: 51.89 kB / 0.521 GB, free: 14.92 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009364/0.11, allocations: 497.4 kB / 0.5215 GB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002275/0.1103, allocations: 75.95 kB / 0.5216 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1103, allocations: 0 / 0.5216 GB, free: 14.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.909e-05/0.1104, allocations: 43.92 kB / 0.5216 GB, free: 14.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.1107, allocations: 21.39 kB / 0.5216 GB, free: 14.46 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003912/0.1111, allocations: 230.8 kB / 0.5218 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1114, allocations: 0.6973 MB / 0.5225 GB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.157e-05/0.1114, allocations: 23.42 kB / 0.5225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1114, allocations: 3.938 kB / 0.5225 GB, free: 13.45 MB / 362.7 MB Notification: Performance of Templates: time 0.003491/0.1149, allocations: 2.136 MB / 0.5246 GB, free: 11.31 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:5: In file included from /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.c:14: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:420:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ 4 warnings and 1 error generated. make: *** [: OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test25_usertabCalcHelperMain.o] Error 1