Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001638/0.001637, allocations: 104.1 kB / 16.52 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001994/0.001994, allocations: 195.5 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.393/2.393, allocations: 205.1 MB / 223.3 MB, free: 12.47 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3231/0.3231, allocations: 43.51 MB / 314.1 MB, free: 0.7617 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002216/0.002216, allocations: 65.44 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2142/0.2164, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.004209/0.2207, allocations: 1.624 MB / 442.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008361/0.2216, allocations: 323.6 kB / 442.4 MB, free: 5.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.875e-05/0.2217, allocations: 3.938 kB / 442.4 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004245/0.2221, allocations: 91.8 kB / 442.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001966/0.2223, allocations: 67.8 kB / 442.6 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000304/0.2226, allocations: 83.52 kB / 442.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002266/0.2229, allocations: 79.75 kB / 442.7 MB, free: 5.246 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.223, allocations: 24.12 kB / 442.8 MB, free: 5.223 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.753e-05/0.2231, allocations: 35.89 kB / 442.8 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001423/0.2233, allocations: 51.83 kB / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.376e-05/0.2233, allocations: 0 / 442.8 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.2234, allocations: 35.97 kB / 442.9 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.771e-05/0.2235, allocations: 23.86 kB / 442.9 MB, free: 5.078 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.311e-05/0.2236, allocations: 31.75 kB / 442.9 MB, free: 5.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.2238, allocations: 87.81 kB / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.2238, allocations: 0 / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2238, allocations: 0 / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.154e-06/0.2238, allocations: 0 / 443 MB, free: 4.961 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007958/0.2246, allocations: 411 kB / 443.4 MB, free: 4.512 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.143e-05/0.2247, allocations: 8.031 kB / 443.4 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.2247, allocations: 16.75 kB / 443.4 MB, free: 4.488 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003022/0.2251, allocations: 205.3 kB / 443.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.2251, allocations: 384 / 443.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.2251, allocations: 16.31 kB / 443.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.2254, allocations: 87.31 kB / 443.7 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.15e-05/0.2254, allocations: 3.906 kB / 443.7 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2254, allocations: 4 kB / 443.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.2254, allocations: 0 / 443.8 MB, free: 4.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001228/0.2256, allocations: 35.91 kB / 443.8 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006388/0.2262, allocations: 401 kB / 444.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003597/0.2266, allocations: 85.25 kB / 444.3 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.2267, allocations: 33.7 kB / 444.3 MB, free: 3.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.2267, allocations: 3.984 kB / 444.3 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.2268, allocations: 34.56 kB / 444.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.2268, allocations: 0 / 444.3 MB, free: 3.461 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008637/0.2276, allocations: 240.6 kB / 444.6 MB, free: 3.219 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.55e-05/0.2277, allocations: 85.11 kB / 444.7 MB, free: 3.117 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002598/0.228, allocations: 238.2 kB / 444.9 MB, free: 2.875 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.228, allocations: 29.64 kB / 444.9 MB, free: 2.84 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.06e-05/0.2281, allocations: 104.1 kB / 445 MB, free: 2.734 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.375e-05/0.2282, allocations: 31.56 kB / 445 MB, free: 2.703 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.958e-05/0.2282, allocations: 21.7 kB / 445.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.2285, allocations: 326.8 kB / 445.4 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.917e-05/0.2286, allocations: 35.92 kB / 445.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001036/0.2287, allocations: 49.69 kB / 445.5 MB, free: 2.258 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001919/0.2289, allocations: 81.67 kB / 445.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.2289, allocations: 0 / 445.5 MB, free: 2.172 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002511/0.2291, allocations: 129.6 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2292, allocations: 11.98 kB / 445.7 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2292, allocations: 4.062 kB / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.2292, allocations: 0 / 445.7 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.59e-05/0.2293, allocations: 23.98 kB / 445.7 MB, free: 2 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2293, allocations: 7.922 kB / 445.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.2294, allocations: 4 kB / 445.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.132e-05/0.2294, allocations: 0 / 445.7 MB, free: 1.988 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.2295, allocations: 145.7 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.2296, allocations: 11.81 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.2299, allocations: 154.5 kB / 446 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.23, allocations: 0 / 446 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.23, allocations: 8.5 kB / 446 MB, free: 1.664 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.23, allocations: 3.984 kB / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006578/0.2306, allocations: 0.4947 MB / 446.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2307, allocations: 0 / 446.5 MB, free: 1.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.151e-05/0.2307, allocations: 27.91 kB / 446.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.2308, allocations: 7.984 kB / 446.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.2308, allocations: 4 kB / 446.6 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2308, allocations: 7.984 kB / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.2308, allocations: 192 / 446.6 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.2311, allocations: 299.6 kB / 446.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.2312, allocations: 92.94 kB / 447 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.2312, allocations: 8.094 kB / 447 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.2313, allocations: 7.938 kB / 447 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.2314, allocations: 7.984 kB / 447 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.2314, allocations: 7.938 kB / 447 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001364/0.2316, allocations: 176.2 kB / 447.2 MB, free: 444 kB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2316, allocations: 0 / 447.2 MB, free: 444 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002939/0.2319, allocations: 19.98 kB / 447.2 MB, free: 424 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001122/0.233, allocations: 395.5 kB / 447.6 MB, free: 100 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002592/0.2333, allocations: 76.08 kB / 447.7 MB, free: 24 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2333, allocations: 4 kB / 447.7 MB, free: 20 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.2334, allocations: 52.03 kB / 447.7 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/0.234, allocations: 27.86 kB / 447.7 MB, free: 15.94 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009024/0.2349, allocations: 363.6 kB / 448.1 MB, free: 15.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.2356, allocations: 0.7082 MB / 448.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.634e-05/0.2357, allocations: 23.42 kB / 448.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2357, allocations: 0 / 448.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of Templates: time 0.005124/0.2409, allocations: 1.78 MB / 450.6 MB, free: 13 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6CalcHelperMain.o] Error 1