Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6,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.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001619/0.001619, allocations: 105.2 kB / 16.52 MB, free: 6.664 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.001697/0.001697, allocations: 199.7 kB / 17.44 MB, free: 6.059 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.814/1.814, allocations: 205.1 MB / 223.3 MB, free: 12.52 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.2667/0.2667, allocations: 43.52 MB / 314.1 MB, free: 0.7773 MB / 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.001769/0.001769, allocations: 65.55 kB / 382.7 MB, free: 57.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1722, allocations: 57.79 MB / 440.5 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003491/0.1757, allocations: 1.758 MB / 442.2 MB, free: 5.754 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001282/0.177, allocations: 0.785 MB / 443 MB, free: 4.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.063e-05/0.1771, allocations: 3.938 kB / 443 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003889/0.1775, allocations: 47.88 kB / 443.1 MB, free: 4.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.1777, allocations: 51.81 kB / 443.1 MB, free: 4.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002244/0.178, allocations: 79.84 kB / 443.2 MB, free: 4.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1781, allocations: 95.69 kB / 443.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001103/0.1783, allocations: 20.44 kB / 443.3 MB, free: 4.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.058e-05/0.1783, allocations: 43.72 kB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.1784, allocations: 27.86 kB / 443.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.1784, allocations: 4 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.251e-05/0.1785, allocations: 39.97 kB / 443.4 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.323e-05/0.1786, allocations: 27.91 kB / 443.5 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.235e-05/0.1787, allocations: 43.62 kB / 443.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1788, allocations: 103.8 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.1788, allocations: 4 kB / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.1789, allocations: 0 / 443.6 MB, free: 4.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.1789, allocations: 0 / 443.6 MB, free: 4.379 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.000583/0.1795, allocations: 438.7 kB / 444 MB, free: 3.902 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.1795, allocations: 12.03 kB / 444 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.1796, allocations: 12.75 kB / 444.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.1798, allocations: 228.8 kB / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.1798, allocations: 384 / 444.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/0.1798, allocations: 8.125 kB / 444.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001532/0.18, allocations: 65.61 kB / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.18, allocations: 0 / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.18, allocations: 0 / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.18, allocations: 0 / 444.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.205e-05/0.1801, allocations: 19.98 kB / 444.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003771/0.1805, allocations: 300.8 kB / 444.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001677/0.1807, allocations: 62.62 kB / 444.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.889e-05/0.1807, allocations: 20.84 kB / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1808, allocations: 0 / 444.8 MB, free: 3.082 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001888/0.181, allocations: 67.3 kB / 444.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.181, allocations: 0 / 444.8 MB, free: 3.004 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005301/0.1815, allocations: 185.1 kB / 445 MB, free: 2.816 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.1816, allocations: 59.41 kB / 445.1 MB, free: 2.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1818, allocations: 271.8 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.223e-05/0.1818, allocations: 29.69 kB / 445.3 MB, free: 2.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1819, allocations: 112.1 kB / 445.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.747e-05/0.1819, allocations: 23.66 kB / 445.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.1819, allocations: 25.7 kB / 445.5 MB, free: 2.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.182, allocations: 330.8 kB / 445.8 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.347e-05/0.1821, allocations: 20 kB / 445.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.803e-05/0.1821, allocations: 45.58 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.596e-05/0.1822, allocations: 57.7 kB / 446 MB, free: 1.801 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1822, allocations: 0 / 446 MB, free: 1.801 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001541/0.1824, allocations: 109.4 kB / 446.1 MB, free: 1.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1824, allocations: 4 kB / 446.1 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1824, allocations: 8.031 kB / 446.1 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1825, allocations: 3.984 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.876e-05/0.1825, allocations: 12 kB / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1826, allocations: 0 / 446.1 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.501e-05/0.1826, allocations: 15.92 kB / 446.1 MB, free: 1.645 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.1826, allocations: 4 kB / 446.1 MB, free: 1.641 MB / 318.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 8.76e-05/0.1827, allocations: 137.8 kB / 446.2 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1827, allocations: 15.81 kB / 446.3 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.421e-05/0.1828, allocations: 25.33 kB / 446.3 MB, free: 1.457 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1828, allocations: 4.375 kB / 446.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1828, allocations: 0 / 446.3 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1828, allocations: 3.938 kB / 446.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.1832, allocations: 407.2 kB / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1832, allocations: 0 / 446.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.1832, allocations: 8 kB / 446.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1832, allocations: 4 kB / 446.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1833, allocations: 3.938 kB / 446.7 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1833, allocations: 4.031 kB / 446.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1833, allocations: 0 / 446.7 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.1835, allocations: 208.4 kB / 446.9 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.1835, allocations: 89 kB / 447 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1835, allocations: 7.875 kB / 447 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.1836, allocations: 4 kB / 447 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.1837, allocations: 15.98 kB / 447 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.1837, allocations: 4 kB / 447 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.1838, allocations: 200.2 kB / 447.2 MB, free: 428 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1838, allocations: 0 / 447.2 MB, free: 428 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002482/0.1841, allocations: 27.98 kB / 447.2 MB, free: 400 kB / 318.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.001081/0.1852, allocations: 476.8 kB / 447.7 MB, free: 8 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.1854, allocations: 55.91 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1854, allocations: 0 / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.331e-05/0.1855, allocations: 28 kB / 447.8 MB, free: 15.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.1858, allocations: 23.97 kB / 447.8 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006818/0.1865, allocations: 363.2 kB / 448.2 MB, free: 15.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003525/0.1869, allocations: 0.7199 MB / 448.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/0.187, allocations: 15.44 kB / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.51e-07/0.187, allocations: 0 / 448.9 MB, free: 14.75 MB / 334.1 MB Notification: Performance of Templates: time 0.004545/0.1915, allocations: 2.073 MB / 451 MB, free: 12.68 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6.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.Test6CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test6CalcHelperMain.o] Error 1