Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") translateModel(ModelicaTest.Tables.CombiTimeTable.Test14,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y|trapezoid1.T_start|trapezoid1.count",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 90.12 kB / 16.67 MB, free: 6.59 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.001651/0.001651, allocations: 179.2 kB / 17.57 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.977/1.977, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2506/0.2506, allocations: 43.6 MB / 315.6 MB, free: 420 kB / 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.0006511/0.0006511, allocations: 18.45 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1636, allocations: 58.86 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002396/0.1661, allocations: 1.721 MB / 445.8 MB, free: 3.426 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1675, allocations: 0.8509 MB / 446.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1677, allocations: 3.938 kB / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003868/0.1681, allocations: 47.81 kB / 446.7 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001908/0.1683, allocations: 55.69 kB / 446.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002939/0.1686, allocations: 107.8 kB / 446.9 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002415/0.1688, allocations: 187.3 kB / 447.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.169, allocations: 29.67 kB / 447.1 MB, free: 2.141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.1691, allocations: 67.7 kB / 447.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.1692, allocations: 79.55 kB / 447.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1693, allocations: 4 kB / 447.2 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.639e-05/0.1694, allocations: 39.98 kB / 447.3 MB, free: 1.953 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.562e-05/0.1695, allocations: 31.84 kB / 447.3 MB, free: 1.922 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.003e-05/0.1696, allocations: 97.28 kB / 447.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1698, allocations: 139.6 kB / 447.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.1698, allocations: 0 / 447.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.1698, allocations: 0 / 447.5 MB, free: 1.684 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.1698, allocations: 0 / 447.5 MB, free: 1.684 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0009536/0.1707, allocations: 0.5371 MB / 448.1 MB, free: 1.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.1708, allocations: 12.03 kB / 448.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.743e-05/0.1709, allocations: 16.75 kB / 448.1 MB, free: 1.059 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000324/0.1712, allocations: 248.7 kB / 448.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1713, allocations: 8.375 kB / 448.4 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.142e-05/0.1713, allocations: 12.12 kB / 448.4 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.1718, allocations: 166.3 kB / 448.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1718, allocations: 0 / 448.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.1718, allocations: 4 kB / 448.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1718, allocations: 4 kB / 448.5 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004716/0.1723, allocations: 135.8 kB / 448.7 MB, free: 448 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009921/0.1733, allocations: 0.5437 MB / 449.2 MB, free: 15.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008631/0.1742, allocations: 198.5 kB / 449.4 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/0.1745, allocations: 80.8 kB / 449.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.89e-05/0.1745, allocations: 4 kB / 449.5 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005692/0.1751, allocations: 159.2 kB / 449.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.543e-06/0.1751, allocations: 4 kB / 449.7 MB, free: 15.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00101/0.1761, allocations: 281.3 kB / 449.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/0.1762, allocations: 55.34 kB / 450 MB, free: 15.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002902/0.1765, allocations: 231.2 kB / 450.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.627e-05/0.1766, allocations: 29.7 kB / 450.2 MB, free: 14.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001296/0.1767, allocations: 128.3 kB / 450.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.643e-05/0.1768, allocations: 39.45 kB / 450.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.484e-05/0.1768, allocations: 21.7 kB / 450.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0004124/0.1773, allocations: 330.8 kB / 450.7 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/0.1776, allocations: 79.94 kB / 450.8 MB, free: 14.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003907/0.178, allocations: 124.2 kB / 450.9 MB, free: 14.01 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006332/0.1786, allocations: 220.2 kB / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1786, allocations: 0 / 451.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006774/0.1793, allocations: 271.1 kB / 451.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.1794, allocations: 33.69 kB / 451.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/0.1794, allocations: 4 kB / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1794, allocations: 0 / 451.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.1796, allocations: 51.84 kB / 451.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.1797, allocations: 64 / 451.5 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.1799, allocations: 35.88 kB / 451.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.861e-05/0.1799, allocations: 12 kB / 451.6 MB, free: 13.36 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001794/0.1801, allocations: 142.9 kB / 451.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.1802, allocations: 15.81 kB / 451.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.495e-05/0.1802, allocations: 17.41 kB / 451.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.1803, allocations: 15.88 kB / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.1803, allocations: 0 / 451.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.954e-06/0.1803, allocations: 3.984 kB / 451.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.1806, allocations: 229.5 kB / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1806, allocations: 0 / 452 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.1808, allocations: 31.97 kB / 452 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1808, allocations: 4 kB / 452 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.1808, allocations: 4 kB / 452 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.1808, allocations: 11.94 kB / 452 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.1809, allocations: 0 / 452 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/0.182, allocations: 344.6 kB / 452.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.1822, allocations: 96.94 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1822, allocations: 4 kB / 452.5 MB, free: 12.36 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001787/0.1824, allocations: 27.91 kB / 452.5 MB, free: 12.33 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.873e-05/0.1825, allocations: 19.97 kB / 452.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.904e-05/0.1825, allocations: 4 kB / 452.5 MB, free: 12.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002303/0.1827, allocations: 172.7 kB / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1827, allocations: 0 / 452.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.183, allocations: 40 kB / 452.7 MB, free: 12.1 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001161/0.1842, allocations: 424.1 kB / 453.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007105/0.1849, allocations: 247.1 kB / 453.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1849, allocations: 0 / 453.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003044/0.1852, allocations: 88.19 kB / 453.5 MB, free: 11.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.1857, allocations: 43.95 kB / 453.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008677/0.1866, allocations: 395.6 kB / 453.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.187, allocations: 0.7283 MB / 454.6 MB, free: 10.21 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.145e-05/0.187, allocations: 19.42 kB / 454.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.187, allocations: 0 / 454.6 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.005899/0.193, allocations: 2.767 MB / 457.4 MB, free: 7.434 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.CombiTimeTable.Test14CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14CalcHelperMain.o] Error 1