Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") translateModel(ModelicaTest.Tables.CombiTimeTable.Test66_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.001209, allocations: 90.34 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.001558/0.001559, 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.905/1.905, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2739/0.2739, allocations: 43.59 MB / 315.6 MB, free: 416 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.0005745/0.0005745, allocations: 19.75 kB / 385.2 MB, free: 56.7 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1786, allocations: 58.87 MB / 444.1 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test66_usertab): time 0.003012/0.1817, allocations: 1.428 MB / 445.5 MB, free: 3.707 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1833, allocations: 0.7886 MB / 446.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1836, allocations: 3.938 kB / 446.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.184, allocations: 27.91 kB / 446.4 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.1844, allocations: 43.83 kB / 446.4 MB, free: 2.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.1848, allocations: 83.84 kB / 446.5 MB, free: 2.754 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.185, allocations: 87.69 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.1852, allocations: 12.23 kB / 446.6 MB, free: 2.656 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000102/0.1853, allocations: 43.72 kB / 446.6 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001654/0.1855, allocations: 31.84 kB / 446.6 MB, free: 2.582 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.435e-05/0.1855, allocations: 3.938 kB / 446.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002284/0.1858, allocations: 59.97 kB / 446.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1858, allocations: 15.92 kB / 446.7 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.331e-05/0.1859, allocations: 65.42 kB / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002394/0.1862, allocations: 99.8 kB / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.1862, allocations: 0 / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.457e-06/0.1862, allocations: 0 / 446.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1862, allocations: 0 / 446.9 MB, free: 2.336 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006687/0.1869, allocations: 387.2 kB / 447.3 MB, free: 1.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.187, allocations: 12.03 kB / 447.3 MB, free: 1.898 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.73e-05/0.187, allocations: 8.844 kB / 447.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002597/0.1873, allocations: 208.1 kB / 447.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/0.1873, allocations: 384 / 447.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.944e-05/0.1874, allocations: 12.12 kB / 447.5 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002594/0.1876, allocations: 75.31 kB / 447.6 MB, free: 1.551 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.1877, allocations: 3.938 kB / 447.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.132e-05/0.1877, allocations: 4 kB / 447.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1877, allocations: 0 / 447.6 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.71e-05/0.1878, allocations: 23.98 kB / 447.6 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005561/0.1884, allocations: 296.8 kB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.1886, allocations: 58.5 kB / 448 MB, free: 1.113 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.703e-05/0.1886, allocations: 24.97 kB / 448 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.724e-05/0.1887, allocations: 0 / 448 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.1889, allocations: 75.39 kB / 448.1 MB, free: 1 MB / 318.1 MB Notification: Performance of pre-optimization done (n=7): time 2.345e-06/0.1889, allocations: 3.984 kB / 448.1 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007225/0.1896, allocations: 185.2 kB / 448.2 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.324e-05/0.1897, allocations: 81.05 kB / 448.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1899, allocations: 149.8 kB / 448.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.132e-05/0.1899, allocations: 25.7 kB / 448.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.956e-05/0.19, allocations: 100.1 kB / 448.6 MB, free: 432 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.1901, allocations: 23.66 kB / 448.6 MB, free: 408 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.1901, allocations: 21.7 kB / 448.6 MB, free: 380 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.1903, allocations: 330.8 kB / 449 MB, free: 40 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.831e-05/0.1903, allocations: 16 kB / 449 MB, free: 24 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.1905, allocations: 43.06 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.1906, allocations: 69.67 kB / 449.1 MB, free: 15.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.1906, allocations: 4 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002252/0.1909, allocations: 105.5 kB / 449.2 MB, free: 15.79 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/0.1909, allocations: 6.031 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.1909, allocations: 0 / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.1909, allocations: 0 / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001071/0.1911, allocations: 23.98 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1911, allocations: 0 / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.464e-05/0.1911, allocations: 7.938 kB / 449.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.1912, allocations: 4 kB / 449.2 MB, free: 15.75 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 (11): * Single equations (assignments): 11 * 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.0001399/0.1913, allocations: 139.9 kB / 449.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.1914, allocations: 19.8 kB / 449.4 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002877/0.1916, allocations: 114.8 kB / 449.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1917, allocations: 0 / 449.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1917, allocations: 0 / 449.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1917, allocations: 3.938 kB / 449.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.1922, allocations: 399.3 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1922, allocations: 4.031 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.325e-05/0.1923, allocations: 12 kB / 449.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1923, allocations: 0 / 449.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1923, allocations: 3.938 kB / 449.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1923, allocations: 4 kB / 449.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1923, allocations: 0 / 449.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.1926, allocations: 212.3 kB / 450.1 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.729e-05/0.1927, allocations: 89.02 kB / 450.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1927, allocations: 11.92 kB / 450.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.1928, allocations: 0 / 450.2 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.1929, allocations: 8 kB / 450.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.1929, allocations: 7.984 kB / 450.2 MB, free: 14.62 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001056/0.193, allocations: 112.5 kB / 450.3 MB, free: 14.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.193, allocations: 4 kB / 450.3 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002955/0.1933, allocations: 31.98 kB / 450.4 MB, free: 14.47 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 (9): * Single equations (assignments): 7 * 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.001462/0.1948, allocations: 0.5191 MB / 450.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002289/0.195, allocations: 51.98 kB / 450.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.195, allocations: 0 / 450.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.1951, allocations: 39.91 kB / 451 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003715/0.1955, allocations: 35.02 kB / 451 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005593/0.1961, allocations: 247.8 kB / 451.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1965, allocations: 0.7004 MB / 452 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.037e-05/0.1966, allocations: 23.36 kB / 452 MB, free: 12.9 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1966, allocations: 4 kB / 452 MB, free: 12.89 MB / 334.1 MB Notification: Performance of Templates: time 0.005251/0.2019, allocations: 2.134 MB / 454.1 MB, free: 10.76 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertab.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test66_usertabCalcHelperMain.o] Error 1