Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5,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.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test5,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.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 93.55 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.001269/0.00127, allocations: 184 kB / 17.58 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.943/1.943, allocations: 205.4 MB / 223.8 MB, free: 13.09 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.2674/0.2674, allocations: 43.59 MB / 315.6 MB, free: 424 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.0005848/0.0005847, allocations: 13.31 kB / 385.2 MB, free: 56.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1616, allocations: 58.85 MB / 444.1 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.002614/0.1643, allocations: 1.281 MB / 445.4 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007511/0.1651, allocations: 295.8 kB / 445.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.636e-05/0.1652, allocations: 3.938 kB / 445.7 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.1656, allocations: 83.83 kB / 445.8 MB, free: 3.633 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.1658, allocations: 71.78 kB / 445.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003108/0.1662, allocations: 63.67 kB / 445.9 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000209/0.1664, allocations: 63.83 kB / 445.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1665, allocations: 11.98 kB / 446 MB, free: 3.43 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.226e-05/0.1666, allocations: 27.91 kB / 446 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.1667, allocations: 47.83 kB / 446 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.1668, allocations: 0 / 446 MB, free: 3.355 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.1669, allocations: 39.92 kB / 446.1 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.377e-05/0.167, allocations: 23.91 kB / 446.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.591e-05/0.167, allocations: 57.45 kB / 446.1 MB, free: 3.23 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.1672, allocations: 55.91 kB / 446.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1672, allocations: 0 / 446.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.1672, allocations: 0 / 446.2 MB, free: 3.176 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1672, allocations: 0 / 446.2 MB, free: 3.176 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.0005646/0.1678, allocations: 399 kB / 446.6 MB, free: 2.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.1679, allocations: 11.97 kB / 446.6 MB, free: 2.727 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.046e-05/0.1679, allocations: 12.84 kB / 446.6 MB, free: 2.715 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.1681, allocations: 204.7 kB / 446.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1682, allocations: 384 / 446.8 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.1682, allocations: 4.375 kB / 446.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1684, allocations: 57.75 kB / 446.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.1684, allocations: 0 / 446.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.1684, allocations: 0 / 446.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1684, allocations: 3.984 kB / 446.9 MB, free: 2.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.231e-05/0.1685, allocations: 31.97 kB / 446.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004177/0.1689, allocations: 280.9 kB / 447.2 MB, free: 2.051 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002045/0.1692, allocations: 46.5 kB / 447.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.1692, allocations: 20.94 kB / 447.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1692, allocations: 0 / 447.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.667e-05/0.1693, allocations: 38.56 kB / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.1693, allocations: 0 / 447.3 MB, free: 1.926 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005721/0.1698, allocations: 165.2 kB / 447.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.1699, allocations: 51.41 kB / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.1701, allocations: 223.6 kB / 447.7 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.1701, allocations: 29.7 kB / 447.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.956e-05/0.1702, allocations: 104 kB / 447.9 MB, free: 1.328 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.1702, allocations: 19.75 kB / 447.9 MB, free: 1.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.1702, allocations: 13.72 kB / 447.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.304e-05/0.1703, allocations: 330.8 kB / 448.2 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.669e-05/0.1704, allocations: 19.98 kB / 448.2 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.463e-05/0.1704, allocations: 23.98 kB / 448.3 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1706, allocations: 64.77 kB / 448.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1706, allocations: 0 / 448.3 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001814/0.1708, allocations: 81.58 kB / 448.4 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1708, allocations: 14.03 kB / 448.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1708, allocations: 0 / 448.4 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.1708, allocations: 3.938 kB / 448.4 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.1709, allocations: 15.98 kB / 448.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.1709, allocations: 0 / 448.4 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.126e-05/0.1709, allocations: 4 kB / 448.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.171, allocations: 4 kB / 448.4 MB, free: 0.7227 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.043e-05/0.1711, allocations: 141.7 kB / 448.6 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/0.1711, allocations: 19.75 kB / 448.6 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.1713, allocations: 94.66 kB / 448.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.1713, allocations: 0 / 448.7 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.1713, allocations: 3.984 kB / 448.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1713, allocations: 0 / 448.7 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003629/0.1717, allocations: 370.7 kB / 449.1 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.1717, allocations: 4 kB / 449.1 MB, free: 36 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.197e-05/0.1718, allocations: 16.05 kB / 449.1 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.1718, allocations: 4 kB / 449.1 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.1718, allocations: 8 kB / 449.1 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.1718, allocations: 3.938 kB / 449.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1718, allocations: 0 / 449.1 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.1721, allocations: 183.4 kB / 449.3 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.703e-05/0.1722, allocations: 92.92 kB / 449.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.1722, allocations: 0 / 449.4 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.075e-05/0.1723, allocations: 11.92 kB / 449.4 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.1723, allocations: 7.938 kB / 449.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.612e-06/0.1724, allocations: 4 kB / 449.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000158/0.1725, allocations: 167.2 kB / 449.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1725, allocations: 0 / 449.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.1728, allocations: 16 kB / 449.6 MB, free: 15.5 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 (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.001064/0.1739, allocations: 410.4 kB / 450 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1741, allocations: 51.97 kB / 450 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1741, allocations: 0 / 450 MB, free: 15.12 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.1742, allocations: 31.92 kB / 450 MB, free: 15.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004351/0.1747, allocations: 19.97 kB / 450.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006445/0.1753, allocations: 283.3 kB / 450.3 MB, free: 14.75 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004403/0.1758, allocations: 0.7082 MB / 451 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.1758, allocations: 11.44 kB / 451.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.1758, allocations: 0 / 451.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of Templates: time 0.004564/0.1804, allocations: 1.486 MB / 452.5 MB, free: 12.52 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test5CalcHelperMain.o] Error 1