Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001705/0.001706, allocations: 106.9 kB / 16.52 MB, free: 6.672 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.002257/0.002257, allocations: 198.5 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 2.007/2.007, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.3052/0.3052, allocations: 43.52 MB / 314.1 MB, free: 0.7539 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.001953/0.001953, allocations: 72.73 kB / 382.7 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1782, allocations: 57.79 MB / 440.5 MB, free: 7.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.00339/0.1817, allocations: 1.612 MB / 442.1 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006797/0.1823, allocations: 312.1 kB / 442.4 MB, free: 5.594 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.1824, allocations: 4 kB / 442.4 MB, free: 5.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003592/0.1828, allocations: 103.7 kB / 442.5 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.183, allocations: 71.84 kB / 442.6 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002171/0.1832, allocations: 63.67 kB / 442.6 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001604/0.1834, allocations: 75.81 kB / 442.7 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.1835, allocations: 15.92 kB / 442.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.03e-05/0.1836, allocations: 31.92 kB / 442.7 MB, free: 5.238 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.1837, allocations: 63.8 kB / 442.8 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1837, allocations: 4 kB / 442.8 MB, free: 5.172 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.309e-05/0.1838, allocations: 24 kB / 442.8 MB, free: 5.148 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.302e-05/0.1839, allocations: 27.91 kB / 442.9 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.122e-05/0.184, allocations: 35.67 kB / 442.9 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001522/0.1841, allocations: 67.86 kB / 443 MB, free: 5.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1841, allocations: 4 kB / 443 MB, free: 5.016 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1841, allocations: 0 / 443 MB, free: 5.016 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.1842, allocations: 0 / 443 MB, free: 5.016 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005112/0.1847, allocations: 410.9 kB / 443.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.849e-05/0.1847, allocations: 8.031 kB / 443.4 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1848, allocations: 12.84 kB / 443.4 MB, free: 4.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001946/0.185, allocations: 204 kB / 443.6 MB, free: 4.309 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.185, allocations: 4.375 kB / 443.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.185, allocations: 384 / 443.6 MB, free: 4.305 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.1852, allocations: 61.75 kB / 443.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1852, allocations: 0 / 443.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1852, allocations: 0 / 443.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.1852, allocations: 0 / 443.6 MB, free: 4.238 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.828e-05/0.1853, allocations: 19.98 kB / 443.7 MB, free: 4.219 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003711/0.1857, allocations: 288.8 kB / 444 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.1859, allocations: 50.5 kB / 444 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.799e-05/0.186, allocations: 16.95 kB / 444 MB, free: 3.809 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.186, allocations: 3.984 kB / 444 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.1861, allocations: 38.56 kB / 444.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1861, allocations: 0 / 444.1 MB, free: 3.758 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005645/0.1866, allocations: 149.1 kB / 444.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.1867, allocations: 51.41 kB / 444.3 MB, free: 3.543 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1869, allocations: 250.5 kB / 444.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.1869, allocations: 25.7 kB / 444.5 MB, free: 3.258 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.228e-05/0.187, allocations: 108.1 kB / 444.6 MB, free: 3.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.297e-05/0.187, allocations: 11.81 kB / 444.6 MB, free: 3.137 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.187, allocations: 17.7 kB / 444.7 MB, free: 3.113 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.402e-05/0.1871, allocations: 334.8 kB / 445 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.048e-05/0.1872, allocations: 15.98 kB / 445 MB, free: 2.762 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.1872, allocations: 19.98 kB / 445 MB, free: 2.742 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.1873, allocations: 40.84 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1873, allocations: 192 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001501/0.1875, allocations: 93.41 kB / 445.2 MB, free: 2.602 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1875, allocations: 12 kB / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1875, allocations: 0 / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1876, allocations: 0 / 445.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.211e-05/0.1876, allocations: 8 kB / 445.2 MB, free: 2.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.365e-06/0.1876, allocations: 4 kB / 445.2 MB, free: 2.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.459e-05/0.1877, allocations: 3.984 kB / 445.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.1877, allocations: 4 kB / 445.2 MB, free: 2.57 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.457e-05/0.1878, allocations: 137.7 kB / 445.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.1878, allocations: 12.19 kB / 445.3 MB, free: 2.414 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.188, allocations: 102.6 kB / 445.4 MB, free: 2.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.188, allocations: 3.984 kB / 445.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.188, allocations: 0 / 445.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.188, allocations: 0 / 445.4 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003243/0.1884, allocations: 354.5 kB / 445.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1884, allocations: 4 kB / 445.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.687e-05/0.1884, allocations: 15.92 kB / 445.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1884, allocations: 0 / 445.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.1885, allocations: 4 kB / 445.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1885, allocations: 3.938 kB / 445.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.1885, allocations: 0 / 445.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1887, allocations: 187.5 kB / 446 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.1887, allocations: 85.02 kB / 446.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.1887, allocations: 0 / 446.1 MB, free: 1.578 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.1888, allocations: 11.88 kB / 446.1 MB, free: 1.566 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.1888, allocations: 15.92 kB / 446.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-06/0.1889, allocations: 0 / 446.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.189, allocations: 184.3 kB / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.189, allocations: 0 / 446.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.1892, allocations: 20 kB / 446.3 MB, free: 1.352 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.001025/0.1902, allocations: 400.6 kB / 446.7 MB, free: 1.035 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001863/0.1904, allocations: 47.97 kB / 446.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1904, allocations: 0 / 446.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.078e-05/0.1905, allocations: 23.98 kB / 446.8 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.1909, allocations: 11.98 kB / 446.8 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004967/0.1914, allocations: 313.6 kB / 447.1 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000319/0.1917, allocations: 0.7082 MB / 447.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.1918, allocations: 15.44 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of SimCode: time 1.282e-06/0.1918, allocations: 4 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of Templates: time 0.004143/0.1959, allocations: 1.542 MB / 449.3 MB, free: 14.32 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.o] Error 1