Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") translateModel(ModelicaTest.Tables.CombiTimeTable.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 94 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.001242/0.001243, allocations: 179.2 kB / 17.57 MB, free: 6.184 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.005/2.005, allocations: 205.4 MB / 223.7 MB, free: 13.09 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.2593/0.2593, allocations: 43.59 MB / 315.6 MB, free: 428 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.0006172/0.0006172, allocations: 15.2 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1721, allocations: 58.87 MB / 444.1 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002611/0.1748, allocations: 1.42 MB / 445.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001509/0.1764, allocations: 0.773 MB / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001485/0.1766, allocations: 0 / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.177, allocations: 39.89 kB / 446.3 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.1774, allocations: 43.83 kB / 446.4 MB, free: 2.875 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004219/0.1778, allocations: 79.8 kB / 446.5 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002965/0.1781, allocations: 95.67 kB / 446.5 MB, free: 2.703 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001576/0.1783, allocations: 8.234 kB / 446.6 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.1784, allocations: 39.73 kB / 446.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.1785, allocations: 31.84 kB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.1786, allocations: 4 kB / 446.6 MB, free: 2.621 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001489/0.1787, allocations: 39.98 kB / 446.7 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.744e-05/0.1788, allocations: 15.92 kB / 446.7 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.526e-05/0.1789, allocations: 65.42 kB / 446.7 MB, free: 2.496 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.1791, allocations: 79.83 kB / 446.8 MB, free: 2.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1791, allocations: 3.938 kB / 446.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1791, allocations: 0 / 446.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1791, allocations: 0 / 446.8 MB, free: 2.414 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005707/0.1797, allocations: 403 kB / 447.2 MB, free: 1.973 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.1797, allocations: 16.03 kB / 447.2 MB, free: 1.957 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.629e-05/0.1798, allocations: 8.844 kB / 447.2 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.1801, allocations: 216.7 kB / 447.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.1801, allocations: 384 / 447.5 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1801, allocations: 8.125 kB / 447.5 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.1803, allocations: 53.67 kB / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.1803, allocations: 3.938 kB / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1803, allocations: 0 / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.1803, allocations: 0 / 447.5 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.778e-05/0.1804, allocations: 27.97 kB / 447.6 MB, free: 1.602 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1808, allocations: 288.8 kB / 447.8 MB, free: 1.27 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.181, allocations: 58.67 kB / 447.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.695e-05/0.181, allocations: 20.8 kB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.1811, allocations: 8 kB / 447.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.1813, allocations: 63.39 kB / 448 MB, free: 1.098 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.1813, allocations: 0 / 448 MB, free: 1.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005757/0.1819, allocations: 177.2 kB / 448.2 MB, free: 0.918 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.492e-05/0.182, allocations: 55.41 kB / 448.2 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.1822, allocations: 193 kB / 448.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.1822, allocations: 29.7 kB / 448.4 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.467e-05/0.1823, allocations: 104.1 kB / 448.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/0.1823, allocations: 27.64 kB / 448.6 MB, free: 500 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.1823, allocations: 17.72 kB / 448.6 MB, free: 476 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.835e-05/0.1824, allocations: 326.8 kB / 448.9 MB, free: 140 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.1825, allocations: 23.98 kB / 448.9 MB, free: 116 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.457e-05/0.1825, allocations: 33.7 kB / 448.9 MB, free: 76 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.854e-05/0.1827, allocations: 57.66 kB / 449 MB, free: 12 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1827, allocations: 4 kB / 449 MB, free: 8 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002672/0.1829, allocations: 109.4 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.183, allocations: 4 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.183, allocations: 4 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.183, allocations: 192 / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.1831, allocations: 12 kB / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.1832, allocations: 7.922 kB / 449.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.987e-05/0.1832, allocations: 7.938 kB / 449.1 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.1832, allocations: 8.031 kB / 449.2 MB, free: 15.85 MB / 334.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0001407/0.1834, allocations: 129.8 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.1834, allocations: 11.91 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.918e-05/0.1835, allocations: 13.41 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1835, allocations: 3.938 kB / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1835, allocations: 0 / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1835, allocations: 3.938 kB / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005298/0.1841, allocations: 403.4 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1841, allocations: 3.938 kB / 449.7 MB, free: 15.22 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.1841, allocations: 8 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.1841, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.1841, allocations: 7.938 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.1842, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1842, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1844, allocations: 204.7 kB / 449.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.231e-05/0.1845, allocations: 96.91 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1846, allocations: 7.938 kB / 450 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.411e-05/0.1847, allocations: 4 kB / 450 MB, free: 14.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.1847, allocations: 11.92 kB / 450 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.24e-05/0.1847, allocations: 8 kB / 450.1 MB, free: 14.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001576/0.1849, allocations: 152.9 kB / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1849, allocations: 0 / 450.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002841/0.1852, allocations: 24 kB / 450.2 MB, free: 14.67 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001393/0.1866, allocations: 474.5 kB / 450.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002157/0.1868, allocations: 59.86 kB / 450.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1869, allocations: 0 / 450.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.031e-05/0.1869, allocations: 31.98 kB / 450.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.1873, allocations: 19.98 kB / 450.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005912/0.1879, allocations: 288.2 kB / 451.1 MB, free: 13.86 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.1883, allocations: 0.7043 MB / 451.8 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.725e-05/0.1884, allocations: 23.42 kB / 451.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1884, allocations: 0 / 451.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Templates: time 0.004877/0.1933, allocations: 1.897 MB / 453.7 MB, free: 11.22 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26.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.Test26CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test26CalcHelperMain.o] Error 1