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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.149/2.149, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.539e-05/2.551e-05, allocations: 8 kB / 303.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2702, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.3922, allocations: 81.49 MB / 439.5 MB, free: 13.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002218/0.3925, allocations: 75.97 kB / 439.6 MB, free: 13.25 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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.01841/0.4109, allocations: 4.375 MB / 444 MB, free: 8.863 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.899e-06/0.4109, allocations: 0 / 444 MB, free: 8.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.411, allocations: 4 kB / 444 MB, free: 8.859 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.0005822/0.4116, allocations: 445.6 kB / 444.4 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4116, allocations: 8.031 kB / 444.4 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.935e-05/0.4117, allocations: 11.91 kB / 444.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.412, allocations: 199.9 kB / 444.6 MB, free: 8.113 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.4121, allocations: 11.98 kB / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.4121, allocations: 0 / 444.7 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.453e-05/0.4122, allocations: 23.98 kB / 444.7 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.4124, allocations: 75.38 kB / 444.8 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4124, allocations: 3.953 kB / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.275e-05/0.4124, allocations: 0 / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.153e-06/0.4125, allocations: 0 / 444.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004483/0.4129, allocations: 289.2 kB / 445 MB, free: 7.668 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.4131, allocations: 58.5 kB / 445.1 MB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.425e-05/0.4131, allocations: 20.98 kB / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.4132, allocations: 0 / 445.1 MB, free: 7.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.4133, allocations: 71.34 kB / 445.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.524e-06/0.4134, allocations: 0 / 445.2 MB, free: 7.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005669/0.4139, allocations: 153.4 kB / 445.3 MB, free: 7.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.526e-05/0.414, allocations: 77.11 kB / 445.4 MB, free: 7.246 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.4142, allocations: 148.1 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.62e-05/0.4142, allocations: 25.7 kB / 445.6 MB, free: 7.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.589e-05/0.4143, allocations: 162.5 kB / 445.7 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.876e-05/0.4144, allocations: 27.64 kB / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.576e-06/0.4144, allocations: 0 / 445.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.4146, allocations: 318.8 kB / 446.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.988e-05/0.4147, allocations: 28.66 kB / 446.1 MB, free: 6.527 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.775e-05/0.4148, allocations: 50.58 kB / 446.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.4149, allocations: 35.97 kB / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.947e-06/0.4149, allocations: 0 / 446.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003023/0.4152, allocations: 129.5 kB / 446.3 MB, free: 6.301 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.544e-05/0.4153, allocations: 33.7 kB / 446.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.188e-06/0.4153, allocations: 0 / 446.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4153, allocations: 0 / 446.3 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.4155, allocations: 23.98 kB / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.893e-06/0.4155, allocations: 0 / 446.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.182e-05/0.4156, allocations: 8.062 kB / 446.4 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4156, allocations: 12.17 kB / 446.4 MB, free: 6.219 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.0001052/0.4157, allocations: 109.9 kB / 446.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.121e-05/0.4158, allocations: 19.84 kB / 446.5 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003069/0.4161, allocations: 114.3 kB / 446.6 MB, free: 5.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-06/0.4161, allocations: 3.938 kB / 446.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.896e-06/0.4162, allocations: 0 / 446.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.624e-06/0.4162, allocations: 0 / 446.6 MB, free: 5.965 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000569/0.4167, allocations: 372.1 kB / 447 MB, free: 5.555 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/0.4168, allocations: 7.953 kB / 447 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.995e-05/0.4169, allocations: 15.98 kB / 447 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.254e-06/0.4169, allocations: 0 / 447 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.4169, allocations: 4 kB / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.708e-06/0.4169, allocations: 0 / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.4169, allocations: 0 / 447 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003088/0.4172, allocations: 225.8 kB / 447.2 MB, free: 5.281 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001013/0.4174, allocations: 97 kB / 447.3 MB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.4174, allocations: 3.984 kB / 447.3 MB, free: 5.164 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.4175, allocations: 4 kB / 447.3 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.4176, allocations: 7.984 kB / 447.4 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.4176, allocations: 4 kB / 447.4 MB, free: 5.148 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001151/0.4177, allocations: 115.2 kB / 447.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4178, allocations: 0 / 447.5 MB, free: 5.035 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.4182, allocations: 43.94 kB / 447.5 MB, free: 4.992 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.001551/0.4198, allocations: 475.5 kB / 448 MB, free: 4.594 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003194/0.4201, allocations: 155.3 kB / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.621e-06/0.4201, allocations: 0 / 448.1 MB, free: 4.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.4202, allocations: 31.94 kB / 448.2 MB, free: 4.398 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.4205, allocations: 16.55 kB / 448.2 MB, free: 4.383 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004222/0.421, allocations: 156.2 kB / 448.3 MB, free: 4.195 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.4214, allocations: 0.7081 MB / 449 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.929e-05/0.4215, allocations: 19.42 kB / 449.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of SimCode: time 1.595e-06/0.4215, allocations: 0 / 449.1 MB, free: 3.445 MB / 378.7 MB Notification: Performance of Templates: time 0.005196/0.4267, allocations: 2.218 MB / 451.3 MB, free: 1.227 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=5 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/cpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -I"." -I"." -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:14:\n/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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/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/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'