Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 87.53 kB / 17.63 MB, free: 5.719 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.001194/0.001194, allocations: 182.4 kB / 18.52 MB, free: 5.168 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.47/1.47, allocations: 223.2 MB / 242.5 MB, free: 344 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.2459/0.2459, allocations: 44.22 MB / 337.9 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004299/0.0004299, allocations: 16 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1655, allocations: 61.93 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.002136/0.1677, allocations: 1.39 MB / 473.6 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.169, allocations: 0.8114 MB / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.051e-05/0.1691, allocations: 0 / 474.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003345/0.1695, allocations: 47.88 kB / 474.4 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002115/0.1697, allocations: 51.81 kB / 474.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002833/0.17, allocations: 95.77 kB / 474.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1702, allocations: 83.69 kB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.1703, allocations: 8.234 kB / 474.7 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.1704, allocations: 39.84 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.949e-05/0.1705, allocations: 31.78 kB / 474.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1705, allocations: 0 / 474.8 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-05/0.1706, allocations: 35.98 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.241e-05/0.1706, allocations: 27.91 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.415e-05/0.1707, allocations: 41.64 kB / 474.9 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001764/0.1709, allocations: 96.09 kB / 474.9 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.807e-06/0.1709, allocations: 4 kB / 475 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1709, allocations: 0 / 475 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1709, allocations: 3.938 kB / 475 MB, free: 10.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005453/0.1715, allocations: 422.6 kB / 475.4 MB, free: 10.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1715, allocations: 15.97 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.1716, allocations: 11.91 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.1718, allocations: 206.8 kB / 475.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.1718, allocations: 4 kB / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.1719, allocations: 4 kB / 475.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.172, allocations: 61.61 kB / 475.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.1721, allocations: 0 / 475.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.1721, allocations: 0 / 475.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1721, allocations: 0 / 475.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.747e-05/0.1722, allocations: 19.98 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004002/0.1726, allocations: 300.8 kB / 476 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.1727, allocations: 58.67 kB / 476 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.192e-05/0.1728, allocations: 20.86 kB / 476.1 MB, free: 9.699 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.61e-05/0.1728, allocations: 3.984 kB / 476.1 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001867/0.173, allocations: 71.33 kB / 476.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.173, allocations: 0 / 476.1 MB, free: 9.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005566/0.1736, allocations: 181 kB / 476.3 MB, free: 9.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.1737, allocations: 59.39 kB / 476.4 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.1739, allocations: 258.3 kB / 476.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1739, allocations: 29.7 kB / 476.6 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.422e-05/0.174, allocations: 112.1 kB / 476.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.174, allocations: 15.72 kB / 476.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.1741, allocations: 12 kB / 476.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1742, allocations: 330.8 kB / 477.1 MB, free: 8.586 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.1742, allocations: 16 kB / 477.1 MB, free: 8.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.1743, allocations: 37.7 kB / 477.2 MB, free: 8.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.1744, allocations: 20 kB / 477.2 MB, free: 8.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1744, allocations: 3.938 kB / 477.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001786/0.1746, allocations: 117.4 kB / 477.3 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.1746, allocations: 4 kB / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1746, allocations: 0 / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.1746, allocations: 0 / 477.3 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.1747, allocations: 19.98 kB / 477.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1747, allocations: 0 / 477.3 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.509e-05/0.1748, allocations: 4.188 kB / 477.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.1748, allocations: 4.375 kB / 477.3 MB, free: 8.352 MB / 350.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 ($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 (10): * Single equations (assignments): 10 * 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.0001259/0.1749, allocations: 149 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.457e-05/0.175, allocations: 19.81 kB / 477.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.096e-05/0.175, allocations: 29.38 kB / 477.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.175, allocations: 0 / 477.5 MB, free: 8.152 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1751, allocations: 4 kB / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.1751, allocations: 0 / 477.5 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.1755, allocations: 403.4 kB / 477.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1755, allocations: 0 / 477.9 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.237e-05/0.1756, allocations: 8.031 kB / 477.9 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1756, allocations: 4 kB / 477.9 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1756, allocations: 8 kB / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1756, allocations: 0 / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1756, allocations: 80 / 477.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1758, allocations: 208.1 kB / 478.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.4e-05/0.1759, allocations: 100.9 kB / 478.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.281e-05/0.1759, allocations: 4 kB / 478.2 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.85e-05/0.176, allocations: 4 kB / 478.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.176, allocations: 3.984 kB / 478.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1761, allocations: 8 kB / 478.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1763, allocations: 196.5 kB / 478.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1763, allocations: 0 / 478.5 MB, free: 7.125 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002567/0.1765, allocations: 24 kB / 478.5 MB, free: 7.102 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: 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 (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.001187/0.1777, allocations: 469 kB / 478.9 MB, free: 6.82 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001752/0.1779, allocations: 55.91 kB / 479 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1779, allocations: 0 / 479 MB, free: 6.766 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.207e-05/0.178, allocations: 35.92 kB / 479 MB, free: 6.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.1783, allocations: 36 kB / 479.1 MB, free: 6.695 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005519/0.1789, allocations: 320.6 kB / 479.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003784/0.1793, allocations: 0.716 MB / 480.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.313e-05/0.1794, allocations: 19.42 kB / 480.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of SimCode: time 7.364e-06/0.1794, allocations: 0 / 480.1 MB, free: 5.586 MB / 350.1 MB Notification: Performance of Templates: time 0.004118/0.1835, allocations: 2.041 MB / 482.1 MB, free: 3.551 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47.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.CombiTimeTable.Test47CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test47CalcHelperMain.o] Error 1