Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 96.28 kB / 16.67 MB, free: 6.105 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.001199/0.001199, allocations: 184.3 kB / 17.58 MB, free: 5.816 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.035/2.035, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2569/0.2569, allocations: 43.59 MB / 315.6 MB, free: 496 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.00079/0.0007903, allocations: 18.39 kB / 385.2 MB, free: 56.81 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1592, allocations: 58.87 MB / 444.1 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.002079/0.1613, allocations: 1.319 MB / 445.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.163, allocations: 0.9338 MB / 446.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1631, allocations: 4 kB / 446.4 MB, free: 3.078 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003382/0.1635, allocations: 19.91 kB / 446.4 MB, free: 3.059 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002376/0.1637, allocations: 39.84 kB / 446.4 MB, free: 3.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.1642, allocations: 148.7 kB / 446.6 MB, free: 2.879 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1644, allocations: 59.83 kB / 446.6 MB, free: 2.82 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.1645, allocations: 23.94 kB / 446.6 MB, free: 2.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.021e-05/0.1646, allocations: 23.86 kB / 446.7 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1647, allocations: 27.84 kB / 446.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.708e-05/0.1648, allocations: 0 / 446.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1649, allocations: 51.97 kB / 446.7 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.142e-05/0.165, allocations: 11.94 kB / 446.8 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.087e-05/0.165, allocations: 53.55 kB / 446.8 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.1652, allocations: 71.83 kB / 446.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1652, allocations: 0 / 446.9 MB, free: 2.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.1652, allocations: 4 kB / 446.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1652, allocations: 0 / 446.9 MB, free: 2.551 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.0004885/0.1657, allocations: 379.3 kB / 447.3 MB, free: 2.133 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1658, allocations: 8.031 kB / 447.3 MB, free: 2.125 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.342e-05/0.1658, allocations: 12.84 kB / 447.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.166, allocations: 188.2 kB / 447.5 MB, free: 1.891 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.166, allocations: 4.375 kB / 447.5 MB, free: 1.887 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.166, allocations: 4.375 kB / 447.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.1663, allocations: 79.52 kB / 447.5 MB, free: 1.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.1663, allocations: 3.906 kB / 447.5 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1663, allocations: 4 kB / 447.6 MB, free: 1.785 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1663, allocations: 7.938 kB / 447.6 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001408/0.1665, allocations: 47.95 kB / 447.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1669, allocations: 304.8 kB / 447.9 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001159/0.167, allocations: 50.56 kB / 448 MB, free: 1.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.205e-05/0.1671, allocations: 32.88 kB / 448 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.9e-05/0.1671, allocations: 7.938 kB / 448 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.045e-05/0.1671, allocations: 30.56 kB / 448 MB, free: 1.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 9.92e-07/0.1671, allocations: 4 kB / 448 MB, free: 1.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008011/0.168, allocations: 261.4 kB / 448.3 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.168, allocations: 77.11 kB / 448.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.1681, allocations: 140.1 kB / 448.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.1682, allocations: 25.7 kB / 448.5 MB, free: 0.707 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.1682, allocations: 100.1 kB / 448.6 MB, free: 0.6055 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.394e-05/0.1682, allocations: 19.72 kB / 448.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.1683, allocations: 13.7 kB / 448.6 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.923e-05/0.1683, allocations: 322.8 kB / 449 MB, free: 248 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.1685, allocations: 47.97 kB / 449 MB, free: 200 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.1686, allocations: 61.67 kB / 449.1 MB, free: 132 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002151/0.1688, allocations: 109 kB / 449.2 MB, free: 20 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1688, allocations: 0 / 449.2 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003505/0.1692, allocations: 141.5 kB / 449.3 MB, free: 15.87 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.1692, allocations: 10.03 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1692, allocations: 3.938 kB / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.1692, allocations: 0 / 449.3 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.1694, allocations: 23.98 kB / 449.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.1694, allocations: 4 kB / 449.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.824e-05/0.1695, allocations: 15.92 kB / 449.4 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.1695, allocations: 8 kB / 449.4 MB, free: 15.81 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.1696, allocations: 125.8 kB / 449.5 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1696, allocations: 7.906 kB / 449.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.1701, allocations: 161.8 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.1701, allocations: 4 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1701, allocations: 4 kB / 449.7 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.1701, allocations: 3.938 kB / 449.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006205/0.1707, allocations: 426.3 kB / 450.1 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.1707, allocations: 3.984 kB / 450.1 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.247e-05/0.1708, allocations: 23.98 kB / 450.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.1708, allocations: 0 / 450.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.1709, allocations: 3.938 kB / 450.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1709, allocations: 0 / 450.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1709, allocations: 3.938 kB / 450.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004389/0.1713, allocations: 231.5 kB / 450.4 MB, free: 14.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.566e-05/0.1714, allocations: 85.02 kB / 450.4 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.1714, allocations: 7.938 kB / 450.4 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.1715, allocations: 15.98 kB / 450.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.507e-05/0.1716, allocations: 7.984 kB / 450.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.1716, allocations: 7.938 kB / 450.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.066e-05/0.1717, allocations: 100.8 kB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1717, allocations: 4 kB / 450.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.172, allocations: 23.98 kB / 450.6 MB, free: 14.47 MB / 334.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 (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.001216/0.1732, allocations: 436.8 kB / 451 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003475/0.1736, allocations: 107.9 kB / 451.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1736, allocations: 0 / 451.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002212/0.1738, allocations: 67.83 kB / 451.2 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.00037/0.1742, allocations: 19.44 kB / 451.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005201/0.1748, allocations: 242.9 kB / 451.5 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.1752, allocations: 0.7005 MB / 452.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.696e-05/0.1753, allocations: 19.42 kB / 452.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1753, allocations: 0 / 452.2 MB, free: 12.91 MB / 334.1 MB Notification: Performance of Templates: time 0.004694/0.18, allocations: 1.774 MB / 454 MB, free: 11.14 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10.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.CombiTable2Dv.Test10CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test10CalcHelperMain.o] Error 1