Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.CombiTable1Dv.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.000855, allocations: 87.53 kB / 17.63 MB, free: 6.293 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.001113/0.001114, allocations: 180.5 kB / 18.52 MB, free: 5.445 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.453/1.453, allocations: 223.2 MB / 242.5 MB, free: 304 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.2292/0.2292, allocations: 44.22 MB / 337.9 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.0003441, allocations: 11.98 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1627, allocations: 61.92 MB / 472.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.002306/0.1651, allocations: 1.27 MB / 473.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007919/0.1659, allocations: 387.5 kB / 473.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.924e-05/0.166, allocations: 0 / 473.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003115/0.1663, allocations: 107.8 kB / 473.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.1665, allocations: 63.86 kB / 474 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.1668, allocations: 103.3 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.1669, allocations: 67.81 kB / 474.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001216/0.1671, allocations: 12.17 kB / 474.2 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.436e-05/0.1671, allocations: 35.84 kB / 474.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000124/0.1673, allocations: 55.81 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.1673, allocations: 0 / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1674, allocations: 39.98 kB / 474.3 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.1675, allocations: 23.91 kB / 474.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.936e-05/0.1675, allocations: 37.64 kB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.1677, allocations: 75.89 kB / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.1677, allocations: 0 / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.1677, allocations: 0 / 474.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.1677, allocations: 0 / 474.4 MB, free: 11.45 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.0009477/0.1687, allocations: 413.3 kB / 474.8 MB, free: 11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.1687, allocations: 12.56 kB / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.163e-05/0.1688, allocations: 11.91 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000253/0.169, allocations: 210.7 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.169, allocations: 0 / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.1691, allocations: 4 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.1693, allocations: 57.62 kB / 475.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1693, allocations: 3.938 kB / 475.1 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/0.1694, allocations: 7.984 kB / 475.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1694, allocations: 0 / 475.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.1695, allocations: 35.97 kB / 475.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.17, allocations: 312.8 kB / 475.5 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1701, allocations: 50.56 kB / 475.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.1702, allocations: 24.94 kB / 475.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.1703, allocations: 0 / 475.6 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.1703, allocations: 30.56 kB / 475.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1703, allocations: 0 / 475.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001043/0.1714, allocations: 273 kB / 475.9 MB, free: 9.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.025e-05/0.1714, allocations: 55.34 kB / 475.9 MB, free: 9.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.1717, allocations: 230.7 kB / 476.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.1717, allocations: 33.7 kB / 476.2 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.137e-05/0.1718, allocations: 108 kB / 476.3 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.1718, allocations: 27.64 kB / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.1718, allocations: 0 / 476.3 MB, free: 9.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.172, allocations: 330.8 kB / 476.6 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.594e-05/0.1721, allocations: 31.98 kB / 476.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.461e-05/0.1722, allocations: 35.97 kB / 476.7 MB, free: 8.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.318e-05/0.1723, allocations: 39.92 kB / 476.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.1723, allocations: 4 kB / 476.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002143/0.1725, allocations: 121.5 kB / 476.9 MB, free: 8.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.1725, allocations: 8 kB / 476.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1726, allocations: 0 / 476.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1726, allocations: 0 / 476.9 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1727, allocations: 23.92 kB / 476.9 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.1727, allocations: 4 kB / 476.9 MB, free: 8.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.172e-05/0.1728, allocations: 7.984 kB / 476.9 MB, free: 8.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.227e-06/0.1728, allocations: 4 kB / 476.9 MB, free: 8.766 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.0001197/0.1729, allocations: 133.8 kB / 477 MB, free: 8.625 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.358e-05/0.173, allocations: 11.91 kB / 477 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/0.1734, allocations: 143.3 kB / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.01e-06/0.1734, allocations: 0 / 477.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1734, allocations: 3.938 kB / 477.2 MB, free: 8.469 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1734, allocations: 3.984 kB / 477.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005736/0.174, allocations: 431.3 kB / 477.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.174, allocations: 0 / 477.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.815e-05/0.1741, allocations: 19.98 kB / 477.6 MB, free: 7.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1741, allocations: 4 kB / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.1741, allocations: 0 / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1741, allocations: 0 / 477.6 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.1741, allocations: 7.922 kB / 477.6 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.1744, allocations: 228.1 kB / 477.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.493e-05/0.1745, allocations: 89.02 kB / 478 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.178e-05/0.1745, allocations: 4.422 kB / 478 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.223e-05/0.1746, allocations: 15.98 kB / 478 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.883e-05/0.1746, allocations: 7.984 kB / 478 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.1747, allocations: 7.953 kB / 478 MB, free: 7.57 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001635/0.1748, allocations: 184.3 kB / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1748, allocations: 0 / 478.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1751, allocations: 24 kB / 478.2 MB, free: 7.367 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.001234/0.1763, allocations: 460.5 kB / 478.6 MB, free: 7.094 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.1766, allocations: 83.89 kB / 478.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1766, allocations: 0 / 478.7 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.566e-05/0.1767, allocations: 43.97 kB / 478.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.1771, allocations: 12.19 kB / 478.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006272/0.1777, allocations: 355.7 kB / 479.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.1782, allocations: 0.7121 MB / 479.8 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.1783, allocations: 19.38 kB / 479.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1783, allocations: 0 / 479.9 MB, free: 5.816 MB / 350.1 MB Notification: Performance of Templates: time 0.004004/0.1823, allocations: 1.809 MB / 481.7 MB, free: 4.008 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32.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.CombiTable1Dv.Test32CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test32CalcHelperMain.o] Error 1