Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008616, allocations: 90 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.001002/0.001003, allocations: 186.7 kB / 18.52 MB, free: 5.164 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.461/1.461, allocations: 223.2 MB / 242.5 MB, free: 360 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.2308/0.2308, allocations: 44.23 MB / 337.9 MB, free: 2.809 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003223/0.0003223, allocations: 8 kB / 410.3 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1603, allocations: 61.92 MB / 472.2 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002267/0.1627, allocations: 1.263 MB / 473.4 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008219/0.1635, allocations: 399.6 kB / 473.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.1636, allocations: 4 kB / 473.8 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.1642, allocations: 447.2 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.1646, allocations: 231.6 kB / 474.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003745/0.165, allocations: 154.4 kB / 474.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000191/0.1652, allocations: 123.7 kB / 474.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.988e-05/0.1653, allocations: 11.98 kB / 474.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.1654, allocations: 99.73 kB / 474.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002231/0.1656, allocations: 167.8 kB / 475 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1656, allocations: 0 / 475 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.1657, allocations: 19.94 kB / 475.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.46e-05/0.1658, allocations: 83.73 kB / 475.1 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.1659, allocations: 65.52 kB / 475.2 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.1661, allocations: 175.7 kB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1661, allocations: 3.938 kB / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1661, allocations: 0 / 475.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1661, allocations: 4 kB / 475.4 MB, free: 10.51 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006413/0.1668, allocations: 0.5834 MB / 476 MB, free: 9.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1668, allocations: 8.031 kB / 476 MB, free: 9.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.783e-05/0.1669, allocations: 39.53 kB / 476 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002834/0.1672, allocations: 275.3 kB / 476.3 MB, free: 9.523 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.1672, allocations: 4 kB / 476.3 MB, free: 9.52 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.735e-05/0.1672, allocations: 11.95 kB / 476.3 MB, free: 9.508 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001731/0.1674, allocations: 53.67 kB / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1674, allocations: 0 / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.1674, allocations: 0 / 476.4 MB, free: 9.449 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.717e-06/0.1674, allocations: 4 kB / 476.4 MB, free: 9.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.1675, allocations: 31.91 kB / 476.4 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.1681, allocations: 384.8 kB / 476.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.6e-05/0.1682, allocations: 30.58 kB / 476.8 MB, free: 8.949 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.276e-05/0.1683, allocations: 16.91 kB / 476.8 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.1683, allocations: 7.938 kB / 476.8 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.83e-05/0.1684, allocations: 34.56 kB / 476.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 3.267e-06/0.1684, allocations: 4 kB / 476.9 MB, free: 8.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002888/0.1687, allocations: 109 kB / 477 MB, free: 8.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.1687, allocations: 51.41 kB / 477 MB, free: 8.699 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008685/0.1696, allocations: 0.8574 MB / 477.9 MB, free: 7.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.1696, allocations: 29.7 kB / 477.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1698, allocations: 220.2 kB / 478.1 MB, free: 7.578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.1698, allocations: 11.91 kB / 478.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.1699, allocations: 0 / 478.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.17, allocations: 358.8 kB / 478.5 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.443e-05/0.1701, allocations: 15.98 kB / 478.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.542e-05/0.1701, allocations: 11.94 kB / 478.5 MB, free: 7.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.054e-05/0.1702, allocations: 20.05 kB / 478.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1702, allocations: 0 / 478.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000146/0.1703, allocations: 93.12 kB / 478.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.1704, allocations: 8 kB / 478.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.1704, allocations: 0 / 478.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1704, allocations: 0 / 478.6 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.1705, allocations: 7.984 kB / 478.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1705, allocations: 0 / 478.6 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.1705, allocations: 8.031 kB / 478.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1705, allocations: 0 / 478.6 MB, free: 7.039 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 (2): * Single equations (assignments): 2 * 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.0001979/0.1708, allocations: 218.2 kB / 478.9 MB, free: 6.816 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.1708, allocations: 39.53 kB / 478.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.171, allocations: 112.5 kB / 479 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.171, allocations: 0 / 479 MB, free: 6.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.1711, allocations: 4.031 kB / 479 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1711, allocations: 3.938 kB / 479 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.1714, allocations: 285.5 kB / 479.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.1714, allocations: 0 / 479.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.1715, allocations: 11.98 kB / 479.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1715, allocations: 0 / 479.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.1715, allocations: 0 / 479.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.1715, allocations: 0 / 479.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1715, allocations: 0 / 479.3 MB, free: 6.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.1717, allocations: 194.9 kB / 479.5 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.359e-05/0.1718, allocations: 124.4 kB / 479.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.1719, allocations: 0 / 479.6 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.812e-05/0.1719, allocations: 11.94 kB / 479.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.172, allocations: 0 / 479.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.172, allocations: 0 / 479.6 MB, free: 5.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006346/0.1726, allocations: 0.655 MB / 480.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1726, allocations: 0 / 480.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.1729, allocations: 16 kB / 480.3 MB, free: 5.281 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 (2): * Single equations (assignments): 2 * 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.0009188/0.1738, allocations: 355.5 kB / 480.6 MB, free: 5.059 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001403/0.1739, allocations: 27.98 kB / 480.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.174, allocations: 0 / 480.7 MB, free: 5.031 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.851e-05/0.174, allocations: 19.92 kB / 480.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.1744, allocations: 25.95 kB / 480.7 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1756, allocations: 0.8384 MB / 481.6 MB, free: 4.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.176, allocations: 0.8145 MB / 482.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.28e-05/0.1761, allocations: 15.44 kB / 482.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1761, allocations: 0 / 482.4 MB, free: 3.258 MB / 350.1 MB Notification: Performance of Templates: time 0.006753/0.1828, allocations: 3.402 MB / 485.8 MB, free: 15.85 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7.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.CombiTable2Dv.Test7CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test7CalcHelperMain.o] Error 1