Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadModel(ModelicaTest): time 2.132/2.132, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.122e-05/3.136e-05, allocations: 4 kB / 309.7 MB, free: 1.324 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 54.86 MB / 364.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.4816, allocations: 82.16 MB / 446.7 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.4819, allocations: 72.61 kB / 446.8 MB, free: 14.15 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.5015, allocations: 4.419 MB / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.94e-06/0.5015, allocations: 0 / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.186e-05/0.5016, allocations: 0 / 451.2 MB, free: 9.758 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005874/0.5022, allocations: 457.5 kB / 451.6 MB, free: 9.254 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.5022, allocations: 12.03 kB / 451.7 MB, free: 9.242 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.5023, allocations: 7.906 kB / 451.7 MB, free: 9.234 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.5026, allocations: 195 kB / 451.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.5027, allocations: 3.984 kB / 451.9 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.5027, allocations: 4.844 kB / 451.9 MB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5029, allocations: 75.39 kB / 451.9 MB, free: 8.91 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.5029, allocations: 3.938 kB / 451.9 MB, free: 8.906 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.5029, allocations: 7.953 kB / 451.9 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.503, allocations: 0 / 451.9 MB, free: 8.898 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.5031, allocations: 31.97 kB / 452 MB, free: 8.867 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004814/0.5036, allocations: 300.8 kB / 452.3 MB, free: 8.523 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001668/0.5038, allocations: 50.58 kB / 452.3 MB, free: 8.465 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.113e-05/0.5038, allocations: 28.91 kB / 452.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/0.5039, allocations: 8.984 kB / 452.4 MB, free: 8.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.5041, allocations: 67.48 kB / 452.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.672e-06/0.5041, allocations: 0 / 452.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005999/0.5047, allocations: 169.4 kB / 452.6 MB, free: 8.176 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.5048, allocations: 77.11 kB / 452.7 MB, free: 8.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001804/0.505, allocations: 144.2 kB / 452.8 MB, free: 7.934 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.084e-05/0.505, allocations: 29.7 kB / 452.8 MB, free: 7.898 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.83e-05/0.5051, allocations: 160 kB / 453 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.028e-05/0.5052, allocations: 31.58 kB / 453 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.102e-05/0.5052, allocations: 8 kB / 453 MB, free: 7.703 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5053, allocations: 314.8 kB / 453.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.394e-05/0.5054, allocations: 32 kB / 453.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5056, allocations: 54.52 kB / 453.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5057, allocations: 69.67 kB / 453.5 MB, free: 7.219 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.297e-06/0.5057, allocations: 7.984 kB / 453.5 MB, free: 7.211 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003458/0.5061, allocations: 159.2 kB / 453.7 MB, free: 7.043 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/0.5062, allocations: 33.7 kB / 453.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.378e-06/0.5062, allocations: 0 / 453.7 MB, free: 7.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.5062, allocations: 4 kB / 453.7 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001371/0.5063, allocations: 15.98 kB / 453.7 MB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.5064, allocations: 4 kB / 453.7 MB, free: 6.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.612e-05/0.5065, allocations: 4.188 kB / 453.7 MB, free: 6.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.5065, allocations: 11.98 kB / 453.7 MB, free: 6.965 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001021/0.5066, allocations: 114.8 kB / 453.8 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.5067, allocations: 11.86 kB / 453.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003479/0.5071, allocations: 130.4 kB / 454 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-06/0.5071, allocations: 0 / 454 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-06/0.5071, allocations: 0 / 454 MB, free: 6.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.56e-06/0.5071, allocations: 4 kB / 454 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.5078, allocations: 419.1 kB / 454.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.664e-06/0.5078, allocations: 0 / 454.4 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.971e-05/0.5079, allocations: 12 kB / 454.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.036e-06/0.5079, allocations: 0 / 454.4 MB, free: 6.223 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.941e-05/0.5079, allocations: 7.984 kB / 454.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.565e-06/0.5079, allocations: 0 / 454.4 MB, free: 6.215 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.036e-06/0.5079, allocations: 4 kB / 454.4 MB, free: 6.211 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.5083, allocations: 229.9 kB / 454.6 MB, free: 5.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.633e-05/0.5084, allocations: 93 kB / 454.7 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.41e-05/0.5084, allocations: 4 kB / 454.7 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.5086, allocations: 11.98 kB / 454.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.5086, allocations: 11.88 kB / 454.8 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.5087, allocations: 3.984 kB / 454.8 MB, free: 5.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001251/0.5088, allocations: 119.2 kB / 454.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5088, allocations: 0 / 454.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.5092, allocations: 43.94 kB / 454.9 MB, free: 5.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001718/0.511, allocations: 0.5018 MB / 455.4 MB, free: 5.234 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.5113, allocations: 151.3 kB / 455.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.182e-06/0.5113, allocations: 0 / 455.6 MB, free: 5.074 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5115, allocations: 39.92 kB / 455.6 MB, free: 5.035 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.5118, allocations: 15.98 kB / 455.6 MB, free: 5.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004253/0.5122, allocations: 172.2 kB / 455.8 MB, free: 4.816 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/0.5126, allocations: 0.7004 MB / 456.5 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/0.5127, allocations: 19.42 kB / 456.5 MB, free: 4.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.507e-06/0.5127, allocations: 0 / 456.5 MB, free: 4.07 MB / 378.7 MB Notification: Performance of Templates: time 0.005133/0.5178, allocations: 2.222 MB / 458.7 MB, free: 1.852 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile b'clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\nIn file included from ./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:5:\nIn file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}}\n ^\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to \'char *\' [-Wwritable-strings]\n ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}}\n ^\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:28:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:364:18: error: no matching function for call to \'mydummyfunc\'\n dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData());\n ^~~~~~~~~~~\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument (\'const double *\') would lose const qualifier\ndouble mydummyfunc(double* dummy_in) {\n ^\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:29:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabInitialize.cpp:301:39: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) {\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabInitialize.cpp:304:13: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n tmp19 = 1.797693134862316e+308;\n ^\nIn file included from OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp:33:\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.cpp:208:41: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) {\n ^\n./OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.cpp:211:14: warning: magnitude of floating-point constant too large for type \'double\'; maximum is 1.7976931348623157E+308 [-Wliteral-range]\n tmp1 = 1.797693134862316e+308;\n ^\n8 warnings and 1 error generated.\n: recipe for target \'OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o\' failed\nmake: *** [OMCppModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1\n'