Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009898/0.00099, allocations: 91.02 kB / 17.63 MB, free: 6.156 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.001084/0.001084, allocations: 178.8 kB / 18.52 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 242.5 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2288/0.2288, allocations: 44.22 MB / 337.9 MB, free: 2.867 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003663, allocations: 14.59 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002855/0.1719, allocations: 1.278 MB / 473.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008247/0.1728, allocations: 375.6 kB / 473.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1729, allocations: 4 kB / 473.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003047/0.1732, allocations: 71.83 kB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1734, allocations: 43.89 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000335/0.1738, allocations: 79.34 kB / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.174, allocations: 67.81 kB / 474.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.1741, allocations: 12.17 kB / 474.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.395e-05/0.1742, allocations: 31.86 kB / 474.1 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001205/0.1743, allocations: 43.81 kB / 474.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.658e-05/0.1743, allocations: 0 / 474.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1745, allocations: 39.98 kB / 474.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.059e-05/0.1745, allocations: 19.91 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1746, allocations: 33.7 kB / 474.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.1749, allocations: 71.84 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1749, allocations: 0 / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1749, allocations: 0 / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1749, allocations: 7.938 kB / 474.3 MB, free: 11.56 MB / 350.1 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.0006459/0.1756, allocations: 395.2 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.1756, allocations: 8.562 kB / 474.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.1757, allocations: 11.89 kB / 474.7 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00024/0.1759, allocations: 190.9 kB / 474.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1759, allocations: 0 / 474.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.176, allocations: 8 kB / 474.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1761, allocations: 61.62 kB / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1762, allocations: 7.844 kB / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1762, allocations: 0 / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.1762, allocations: 0 / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.1763, allocations: 35.97 kB / 475 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004598/0.1768, allocations: 280.9 kB / 475.3 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000118/0.1769, allocations: 54.48 kB / 475.4 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.441e-05/0.177, allocations: 20.94 kB / 475.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.815e-05/0.177, allocations: 0 / 475.4 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.177, allocations: 34.56 kB / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.177, allocations: 0 / 475.4 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009555/0.178, allocations: 261.1 kB / 475.7 MB, free: 10.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.947e-05/0.1781, allocations: 51.41 kB / 475.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.1784, allocations: 210.2 kB / 475.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.1784, allocations: 25.7 kB / 476 MB, free: 9.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.386e-05/0.1785, allocations: 108 kB / 476.1 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/0.1785, allocations: 27.64 kB / 476.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.1786, allocations: 0 / 476.1 MB, free: 9.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.1788, allocations: 330.8 kB / 476.4 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-05/0.1788, allocations: 23.98 kB / 476.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.771e-05/0.1789, allocations: 27.98 kB / 476.5 MB, free: 9.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.089e-05/0.179, allocations: 39.86 kB / 476.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.179, allocations: 0 / 476.5 MB, free: 9.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002135/0.1792, allocations: 113.5 kB / 476.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.249e-05/0.1793, allocations: 7.984 kB / 476.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.1793, allocations: 4 kB / 476.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.1793, allocations: 0 / 476.6 MB, free: 9.051 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.1795, allocations: 16 kB / 476.6 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1795, allocations: 3.984 kB / 476.6 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.312e-05/0.1796, allocations: 4 kB / 476.7 MB, free: 9.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.1796, allocations: 4 kB / 476.7 MB, free: 9.023 MB / 350.1 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 (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 prepare postOptimizeDAE: time 0.0001256/0.1797, allocations: 137.7 kB / 476.8 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.833e-05/0.1798, allocations: 11.91 kB / 476.8 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002992/0.1801, allocations: 118.4 kB / 476.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.1801, allocations: 0 / 476.9 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1801, allocations: 3.938 kB / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1801, allocations: 0 / 476.9 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1807, allocations: 419.2 kB / 477.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1807, allocations: 0 / 477.3 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.1808, allocations: 19.98 kB / 477.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.1808, allocations: 0 / 477.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1808, allocations: 7.969 kB / 477.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1808, allocations: 0 / 477.4 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.1808, allocations: 4 kB / 477.4 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002959/0.1811, allocations: 212.7 kB / 477.6 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1812, allocations: 96.91 kB / 477.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1812, allocations: 0 / 477.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.258e-05/0.1813, allocations: 8 kB / 477.7 MB, free: 7.895 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.1813, allocations: 7.984 kB / 477.7 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.1813, allocations: 7.953 kB / 477.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1815, allocations: 151.2 kB / 477.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1815, allocations: 0 / 477.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002614/0.1818, allocations: 20 kB / 477.9 MB, free: 7.711 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.001106/0.1829, allocations: 471.1 kB / 478.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002295/0.1831, allocations: 71.95 kB / 478.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1831, allocations: 0 / 478.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.766e-05/0.1832, allocations: 39.92 kB / 478.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.1836, allocations: 18.17 kB / 478.4 MB, free: 7.305 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.1842, allocations: 292.2 kB / 478.7 MB, free: 6.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1848, allocations: 0.7083 MB / 479.4 MB, free: 6.242 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1848, allocations: 15.38 kB / 479.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1848, allocations: 3.938 kB / 479.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of Templates: time 0.005048/0.1899, allocations: 1.68 MB / 481.1 MB, free: 4.543 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile clang++ NOTFOUND -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15CalcHelperMain.o] Error 1