Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.267/2.267, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004401, allocations: 12 kB / 314.9 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.346/0.3464, allocations: 54.87 MB / 369.8 MB, free: 10.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.5011, allocations: 82.23 MB / 452 MB, free: 8.363 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.5014, allocations: 79.97 kB / 452.1 MB, free: 8.285 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02171/0.5232, allocations: 4.438 MB / 456.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.5232, allocations: 0 / 456.6 MB, free: 3.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.741e-05/0.5232, allocations: 4 kB / 456.6 MB, free: 3.832 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.0007304/0.524, allocations: 462.2 kB / 457 MB, free: 3.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.524, allocations: 8.031 kB / 457 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.5241, allocations: 11.91 kB / 457 MB, free: 3.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003874/0.5245, allocations: 208.9 kB / 457.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.292e-05/0.5246, allocations: 0 / 457.2 MB, free: 3.059 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.5246, allocations: 7.984 kB / 457.2 MB, free: 3.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.5249, allocations: 83.31 kB / 457.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.5249, allocations: 0 / 457.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.5249, allocations: 7.891 kB / 457.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.5249, allocations: 0 / 457.3 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001319/0.5251, allocations: 31.97 kB / 457.4 MB, free: 2.918 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/0.5256, allocations: 300.9 kB / 457.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.5259, allocations: 62.5 kB / 457.7 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.5259, allocations: 3.938 kB / 457.7 MB, free: 2.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002292/0.5262, allocations: 80.17 kB / 457.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.525e-06/0.5262, allocations: 4 kB / 457.8 MB, free: 2.406 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009269/0.5271, allocations: 185.3 kB / 458 MB, free: 2.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.62e-05/0.5272, allocations: 81.05 kB / 458.1 MB, free: 2.121 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002311/0.5275, allocations: 150.7 kB / 458.2 MB, free: 1.961 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.015e-05/0.5275, allocations: 33.7 kB / 458.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/0.5276, allocations: 158.6 kB / 458.4 MB, free: 1.766 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.243e-05/0.5277, allocations: 27.64 kB / 458.4 MB, free: 1.738 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.518e-06/0.5277, allocations: 4 kB / 458.4 MB, free: 1.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5278, allocations: 318.8 kB / 458.7 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.528, allocations: 35.98 kB / 458.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/0.5282, allocations: 50.56 kB / 458.8 MB, free: 1.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.5284, allocations: 69.69 kB / 458.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5284, allocations: 4 kB / 458.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004509/0.5288, allocations: 167.2 kB / 459.1 MB, free: 1.066 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.911e-05/0.5289, allocations: 41.69 kB / 459.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5289, allocations: 0 / 459.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.529, allocations: 0 / 459.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.5291, allocations: 19.98 kB / 459.1 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.5292, allocations: 0 / 459.1 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.5293, allocations: 4 kB / 459.1 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.98e-05/0.5293, allocations: 8 kB / 459.1 MB, free: 0.9883 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 () * Number of clocked 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.0001609/0.5295, allocations: 133.8 kB / 459.3 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.877e-05/0.5295, allocations: 15.84 kB / 459.3 MB, free: 0.832 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004461/0.53, allocations: 122.3 kB / 459.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.333e-06/0.53, allocations: 0 / 459.4 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.53, allocations: 3.938 kB / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.53, allocations: 0 / 459.4 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007868/0.5308, allocations: 423.4 kB / 459.8 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5309, allocations: 4.031 kB / 459.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.811e-05/0.531, allocations: 19.92 kB / 459.8 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.531, allocations: 0 / 459.8 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.531, allocations: 0 / 459.8 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.531, allocations: 4 kB / 459.8 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.5311, allocations: 0 / 459.8 MB, free: 208 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.5315, allocations: 220.2 kB / 460.1 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001084/0.5316, allocations: 97 kB / 460.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.5317, allocations: 4 kB / 460.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001193/0.5318, allocations: 4 kB / 460.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.5319, allocations: 7.984 kB / 460.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.5319, allocations: 4 kB / 460.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000152/0.5321, allocations: 118.5 kB / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5321, allocations: 0 / 460.3 MB, free: 15.72 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004577/0.5325, allocations: 51.92 kB / 460.3 MB, free: 15.67 MB / 394.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) * Number of clocked states: 0 () * 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.001677/0.5342, allocations: 0.5549 MB / 460.9 MB, free: 15.19 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005262/0.5348, allocations: 155.3 kB / 461 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5348, allocations: 3.938 kB / 461.1 MB, free: 15.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.535, allocations: 39.98 kB / 461.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003589/0.5353, allocations: 19.94 kB / 461.1 MB, free: 14.96 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.536, allocations: 248.1 kB / 461.4 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.5363, allocations: 0.7004 MB / 462.1 MB, free: 13.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.821e-05/0.5365, allocations: 23.42 kB / 462.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5365, allocations: 0 / 462.1 MB, free: 13.93 MB / 394.7 MB Notification: Performance of Templates: time 0.006738/0.5432, allocations: 2.209 MB / 464.3 MB, free: 11.72 MB / 394.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=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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'