Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009113/0.0009113, 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.001047/0.001047, 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.449/1.449, allocations: 223.2 MB / 242.5 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2324/0.2324, allocations: 44.22 MB / 337.9 MB, free: 2.551 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006109/0.0006115, allocations: 23.92 kB / 410.3 MB, free: 27.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1584, allocations: 61.92 MB / 472.2 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002647/0.1611, allocations: 1.464 MB / 473.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00293/0.1641, allocations: 1.449 MB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.1642, allocations: 3.938 kB / 475.1 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003634/0.1646, allocations: 47.81 kB / 475.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003185/0.1649, allocations: 71.67 kB / 475.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.1655, allocations: 151.1 kB / 475.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000364/0.1659, allocations: 159.4 kB / 475.5 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.587e-05/0.1659, allocations: 13.55 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1661, allocations: 71.64 kB / 475.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002307/0.1664, allocations: 63.69 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.713e-05/0.1664, allocations: 4 kB / 475.7 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.1666, allocations: 55.97 kB / 475.7 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.532e-05/0.1667, allocations: 23.84 kB / 475.8 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.459e-05/0.1667, allocations: 45.64 kB / 475.8 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002831/0.167, allocations: 131.9 kB / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.167, allocations: 0 / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1671, allocations: 0 / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1671, allocations: 0 / 475.9 MB, free: 9.922 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007607/0.1678, allocations: 446.7 kB / 476.4 MB, free: 9.438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1679, allocations: 8.031 kB / 476.4 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.168, allocations: 15.81 kB / 476.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.1683, allocations: 242.6 kB / 476.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.956e-05/0.1684, allocations: 0 / 476.6 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.1684, allocations: 4 kB / 476.6 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002646/0.1687, allocations: 101 kB / 476.7 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.1687, allocations: 3.938 kB / 476.7 MB, free: 9.012 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.1687, allocations: 4 kB / 476.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-06/0.1687, allocations: 0 / 476.7 MB, free: 9.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001285/0.1689, allocations: 27.98 kB / 476.8 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003093/0.1692, allocations: 214.5 kB / 477 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.1695, allocations: 109.2 kB / 477.1 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001252/0.1697, allocations: 37.7 kB / 477.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.275e-05/0.1697, allocations: 0 / 477.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003307/0.1701, allocations: 117 kB / 477.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.1701, allocations: 0 / 477.2 MB, free: 8.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005702/0.1706, allocations: 165.4 kB / 477.4 MB, free: 8.25 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.839e-05/0.1708, allocations: 132.5 kB / 477.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003139/0.1711, allocations: 207.8 kB / 477.7 MB, free: 7.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.718e-05/0.1711, allocations: 37.7 kB / 477.8 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.1712, allocations: 108.1 kB / 477.9 MB, free: 7.723 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.397e-05/0.1713, allocations: 23.7 kB / 477.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.138e-06/0.1713, allocations: 7.938 kB / 477.9 MB, free: 7.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.1715, allocations: 322.8 kB / 478.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.86e-05/0.1716, allocations: 27.98 kB / 478.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.1717, allocations: 73.12 kB / 478.3 MB, free: 7.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001205/0.1719, allocations: 35.94 kB / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1719, allocations: 0 / 478.4 MB, free: 7.215 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003522/0.1723, allocations: 137.8 kB / 478.5 MB, free: 7.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.1723, allocations: 14.45 kB / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.1723, allocations: 128 / 478.5 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.1723, allocations: 8.094 kB / 478.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.1725, allocations: 23.98 kB / 478.5 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.1725, allocations: 3.938 kB / 478.5 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.1726, allocations: 11.94 kB / 478.6 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.1727, allocations: 15.92 kB / 478.6 MB, free: 7 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001729/0.1729, allocations: 130.3 kB / 478.7 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.1729, allocations: 19.81 kB / 478.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.948e-05/0.173, allocations: 20.94 kB / 478.7 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.173, allocations: 4 kB / 478.7 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.617e-06/0.173, allocations: 4 kB / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.173, allocations: 0 / 478.7 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.1733, allocations: 217.5 kB / 479 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.1733, allocations: 0 / 479 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.732e-05/0.1734, allocations: 11.98 kB / 479 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1734, allocations: 3.938 kB / 479 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1734, allocations: 0 / 479 MB, free: 6.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.1734, allocations: 7.953 kB / 479 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1734, allocations: 0 / 479 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003909/0.1738, allocations: 169.7 kB / 479.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.764e-05/0.1739, allocations: 100.8 kB / 479.2 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.332e-05/0.174, allocations: 7.984 kB / 479.3 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.1741, allocations: 4 kB / 479.3 MB, free: 6.211 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1741, allocations: 15.94 kB / 479.3 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.1742, allocations: 4 kB / 479.3 MB, free: 6.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002071/0.1744, allocations: 160.2 kB / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1744, allocations: 0 / 479.4 MB, free: 6.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003793/0.1748, allocations: 36 kB / 479.5 MB, free: 6 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001456/0.1762, allocations: 461.9 kB / 479.9 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003334/0.1766, allocations: 83.89 kB / 480 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.1766, allocations: 0 / 480 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001368/0.1768, allocations: 39.92 kB / 480 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004882/0.1773, allocations: 48.45 kB / 480.1 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007342/0.178, allocations: 296.9 kB / 480.4 MB, free: 5.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000428/0.1784, allocations: 0.7205 MB / 481.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.363e-05/0.1785, allocations: 31.38 kB / 481.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1786, allocations: 0 / 481.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of Templates: time 0.007024/0.1856, allocations: 2.706 MB / 483.8 MB, free: 1.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o] Error 1