Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009707/0.0009706, allocations: 96.16 kB / 18.01 MB, free: 5.734 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.0008312/0.0008312, allocations: 177.7 kB / 18.91 MB, free: 4.871 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.508/1.508, allocations: 223.2 MB / 242.9 MB, free: 14.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2482/0.2482, allocations: 44.23 MB / 338.3 MB, free: 2.414 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003745, allocations: 8 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1488, allocations: 61.93 MB / 472.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.00215/0.151, allocations: 1.322 MB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.1518, allocations: 411.3 kB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.137e-05/0.1519, allocations: 4 kB / 474.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000564/0.1524, allocations: 451.2 kB / 475.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000332/0.1528, allocations: 247.5 kB / 475.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003075/0.1531, allocations: 110.6 kB / 475.4 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.1533, allocations: 151.8 kB / 475.6 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.1535, allocations: 16.12 kB / 475.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1536, allocations: 111.7 kB / 475.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.1538, allocations: 195.6 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1538, allocations: 0 / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.294e-05/0.1539, allocations: 28 kB / 475.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001634/0.1541, allocations: 87.61 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.755e-05/0.1542, allocations: 124.8 kB / 476.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.1545, allocations: 175.8 kB / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1545, allocations: 0 / 476.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1545, allocations: 3.938 kB / 476.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.08e-06/0.1545, allocations: 0 / 476.3 MB, free: 9.895 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.0007683/0.1553, allocations: 0.5899 MB / 476.9 MB, free: 9.258 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.1553, allocations: 11.97 kB / 476.9 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/0.1554, allocations: 40.47 kB / 476.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.1557, allocations: 296.1 kB / 477.2 MB, free: 8.879 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.1557, allocations: 8.359 kB / 477.2 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.442e-05/0.1557, allocations: 4.375 kB / 477.2 MB, free: 8.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.1559, allocations: 53.62 kB / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1559, allocations: 0 / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.1559, allocations: 0 / 477.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.156, allocations: 4 kB / 477.3 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.1561, allocations: 23.98 kB / 477.3 MB, free: 8.781 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.1566, allocations: 388.6 kB / 477.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.1568, allocations: 42.56 kB / 477.7 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/0.1569, allocations: 20.94 kB / 477.8 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1569, allocations: 8.062 kB / 477.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.1569, allocations: 34.56 kB / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.1569, allocations: 0 / 477.8 MB, free: 8.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006644/0.1576, allocations: 247.9 kB / 478 MB, free: 7.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.127e-05/0.1577, allocations: 51.41 kB / 478.1 MB, free: 7.914 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000852/0.1585, allocations: 0.8613 MB / 479 MB, free: 7.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.1585, allocations: 25.7 kB / 479 MB, free: 7.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.1587, allocations: 220 kB / 479.2 MB, free: 6.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.523e-05/0.1588, allocations: 11.81 kB / 479.2 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.958e-05/0.1588, allocations: 17.7 kB / 479.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.159, allocations: 358.8 kB / 479.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.626e-05/0.1591, allocations: 23.98 kB / 479.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.729e-05/0.1591, allocations: 23.98 kB / 479.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001407/0.1593, allocations: 60.95 kB / 479.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.1593, allocations: 0 / 479.7 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002477/0.1596, allocations: 125.1 kB / 479.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.1596, allocations: 4 kB / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1596, allocations: 0 / 479.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1596, allocations: 4 kB / 479.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1597, allocations: 19.92 kB / 479.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1597, allocations: 0 / 479.8 MB, free: 6.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.787e-05/0.1598, allocations: 11.94 kB / 479.8 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1598, allocations: 0 / 479.8 MB, free: 6.121 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 (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 0.0002101/0.16, allocations: 214.3 kB / 480.1 MB, free: 5.902 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.1601, allocations: 43.44 kB / 480.1 MB, free: 5.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003027/0.1604, allocations: 145 kB / 480.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.1604, allocations: 0 / 480.2 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1604, allocations: 3.984 kB / 480.2 MB, free: 5.703 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1604, allocations: 3.938 kB / 480.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005703/0.161, allocations: 466.4 kB / 480.7 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.161, allocations: 3.984 kB / 480.7 MB, free: 5.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.377e-05/0.1611, allocations: 12 kB / 480.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1611, allocations: 0 / 480.7 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.888e-06/0.1611, allocations: 3.938 kB / 480.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1611, allocations: 0 / 480.7 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1611, allocations: 4 kB / 480.7 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.1614, allocations: 219.2 kB / 480.9 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.762e-05/0.1615, allocations: 108.5 kB / 481 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.871e-05/0.1615, allocations: 11.94 kB / 481.1 MB, free: 4.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.417e-05/0.1616, allocations: 15.98 kB / 481.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.1616, allocations: 0 / 481.1 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.732e-06/0.1616, allocations: 4 kB / 481.1 MB, free: 4.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006875/0.1623, allocations: 0.6511 MB / 481.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1623, allocations: 0 / 481.7 MB, free: 4.129 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1626, allocations: 20 kB / 481.7 MB, free: 4.109 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 (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.001031/0.1636, allocations: 404 kB / 482.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002116/0.1639, allocations: 59.91 kB / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1639, allocations: 0 / 482.2 MB, free: 3.805 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.11e-05/0.164, allocations: 27.98 kB / 482.2 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.1644, allocations: 21.95 kB / 482.2 MB, free: 3.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/0.1656, allocations: 0.89 MB / 483.1 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004757/0.1661, allocations: 0.8185 MB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.633e-05/0.1661, allocations: 11.44 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1661, allocations: 0 / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of Templates: time 0.007393/0.1735, allocations: 3.583 MB / 487.5 MB, free: 14.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4CalcHelperMain.o] Error 1