Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008552/0.0008555, allocations: 93.19 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.001033/0.001033, allocations: 183.1 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.557/1.557, allocations: 223.2 MB / 242.5 MB, free: 216 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.2245/0.2245, allocations: 44.23 MB / 337.9 MB, free: 2.773 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003224, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1538, allocations: 61.93 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002679/0.1566, allocations: 1.313 MB / 473.5 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002124/0.1587, allocations: 0.9883 MB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1589, allocations: 4 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003074/0.1592, allocations: 27.84 kB / 474.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002675/0.1595, allocations: 31.91 kB / 474.5 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000534/0.16, allocations: 158.1 kB / 474.7 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001864/0.1602, allocations: 59.83 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001249/0.1603, allocations: 15.94 kB / 474.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.496e-05/0.1604, allocations: 19.92 kB / 474.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000184/0.1606, allocations: 27.84 kB / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.1607, allocations: 0 / 474.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.1608, allocations: 43.98 kB / 474.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.465e-05/0.1609, allocations: 19.91 kB / 474.9 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.653e-05/0.161, allocations: 33.7 kB / 474.9 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002041/0.1612, allocations: 68.11 kB / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.1612, allocations: 0 / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1612, allocations: 0 / 475 MB, free: 10.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.1612, allocations: 0 / 475 MB, free: 10.91 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006538/0.1619, allocations: 387.1 kB / 475.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.096e-05/0.162, allocations: 12.56 kB / 475.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.32e-05/0.162, allocations: 3.906 kB / 475.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.1623, allocations: 191 kB / 475.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.1623, allocations: 0 / 475.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.1623, allocations: 0 / 475.6 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.1626, allocations: 87.33 kB / 475.6 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.1626, allocations: 7.938 kB / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.727e-05/0.1627, allocations: 3.984 kB / 475.7 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.1627, allocations: 4 kB / 475.7 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001664/0.1628, allocations: 47.89 kB / 475.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005559/0.1634, allocations: 312.7 kB / 476 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/0.1636, allocations: 42.56 kB / 476.1 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.263e-05/0.1636, allocations: 32.94 kB / 476.1 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.1637, allocations: 7.938 kB / 476.1 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1637, allocations: 38.55 kB / 476.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.1637, allocations: 0 / 476.1 MB, free: 9.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008641/0.1646, allocations: 257.2 kB / 476.4 MB, free: 9.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.162e-05/0.1647, allocations: 81.09 kB / 476.5 MB, free: 9.234 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1648, allocations: 136.6 kB / 476.6 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1648, allocations: 33.64 kB / 476.6 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.1649, allocations: 92.12 kB / 476.7 MB, free: 8.961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.1649, allocations: 19.66 kB / 476.7 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.1649, allocations: 4 kB / 476.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1651, allocations: 326.8 kB / 477.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1653, allocations: 43.97 kB / 477.1 MB, free: 8.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1654, allocations: 65.67 kB / 477.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.1655, allocations: 47.97 kB / 477.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1655, allocations: 0 / 477.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002944/0.1658, allocations: 141.5 kB / 477.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1659, allocations: 7.984 kB / 477.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1659, allocations: 0 / 477.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.1659, allocations: 0 / 477.4 MB, free: 8.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.166, allocations: 27.98 kB / 477.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.166, allocations: 0 / 477.4 MB, free: 8.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.168e-05/0.1661, allocations: 15.98 kB / 477.4 MB, free: 8.254 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.1661, allocations: 0 / 477.4 MB, free: 8.254 MB / 350.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 (7): * Single equations (assignments): 7 * 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.000106/0.1662, allocations: 121.8 kB / 477.5 MB, free: 8.125 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1663, allocations: 3.906 kB / 477.5 MB, free: 8.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003615/0.1666, allocations: 161.9 kB / 477.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1667, allocations: 0 / 477.7 MB, free: 7.957 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/0.1667, allocations: 8 kB / 477.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.551e-06/0.1667, allocations: 0 / 477.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005955/0.1673, allocations: 426.4 kB / 478.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1673, allocations: 0 / 478.1 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.283e-05/0.1674, allocations: 31.91 kB / 478.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1674, allocations: 0 / 478.1 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1674, allocations: 4 kB / 478.1 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1674, allocations: 4.469 kB / 478.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.1674, allocations: 0 / 478.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000337/0.1678, allocations: 239.3 kB / 478.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.655e-05/0.1678, allocations: 85.02 kB / 478.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.1679, allocations: 4 kB / 478.5 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.571e-05/0.168, allocations: 15.98 kB / 478.5 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.168, allocations: 7.984 kB / 478.5 MB, free: 7.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-06/0.168, allocations: 4 kB / 478.5 MB, free: 7.055 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.264e-05/0.1681, allocations: 99.27 kB / 478.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1681, allocations: 4 kB / 478.6 MB, free: 6.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002715/0.1684, allocations: 27.98 kB / 478.6 MB, free: 6.926 MB / 350.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 (7): * Single equations (assignments): 7 * 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 Backend phase and start with SimCode phase: time 0.001082/0.1695, allocations: 464 kB / 479.1 MB, free: 6.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003131/0.1698, allocations: 103.9 kB / 479.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1698, allocations: 0 / 479.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001463/0.17, allocations: 63.89 kB / 479.2 MB, free: 6.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003276/0.1703, allocations: 15.95 kB / 479.3 MB, free: 6.465 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004773/0.1708, allocations: 238.9 kB / 479.5 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.1711, allocations: 0.6965 MB / 480.2 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.303e-05/0.1712, allocations: 11.44 kB / 480.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1712, allocations: 0 / 480.2 MB, free: 5.461 MB / 350.1 MB Notification: Performance of Templates: time 0.004375/0.1756, allocations: 1.78 MB / 482 MB, free: 3.684 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12.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.CombiTable2Dv.Test12CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test12CalcHelperMain.o] Error 1