Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009923/0.0009926, allocations: 92.7 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.001123/0.001123, allocations: 178.8 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.483/1.483, allocations: 223.2 MB / 242.5 MB, free: 332 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.2222/0.2222, allocations: 44.22 MB / 337.9 MB, free: 2.895 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 8 kB / 410.3 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1485, allocations: 61.94 MB / 472.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002248/0.1508, allocations: 1.274 MB / 473.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007481/0.1516, allocations: 367.6 kB / 473.8 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.1517, allocations: 4 kB / 473.8 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.152, allocations: 103.8 kB / 473.9 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001695/0.1521, allocations: 63.86 kB / 474 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002731/0.1524, allocations: 75.83 kB / 474.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001614/0.1526, allocations: 67.81 kB / 474.1 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.1527, allocations: 16.17 kB / 474.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.595e-05/0.1528, allocations: 31.84 kB / 474.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.1529, allocations: 55.81 kB / 474.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.594e-05/0.153, allocations: 4 kB / 474.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.816e-05/0.1531, allocations: 35.98 kB / 474.3 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.963e-05/0.1531, allocations: 23.91 kB / 474.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.678e-05/0.1532, allocations: 45.58 kB / 474.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1533, allocations: 75.88 kB / 474.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1533, allocations: 0 / 474.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1533, allocations: 0 / 474.4 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1534, allocations: 0 / 474.4 MB, free: 11.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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005565/0.1539, allocations: 411 kB / 474.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.154, allocations: 12.56 kB / 474.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.105e-05/0.154, allocations: 11.91 kB / 474.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.1542, allocations: 202.8 kB / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1543, allocations: 0 / 475 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.1543, allocations: 7.938 kB / 475 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1544, allocations: 57.62 kB / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.1545, allocations: 0 / 475.1 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.1545, allocations: 4 kB / 475.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.1545, allocations: 0 / 475.1 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.871e-05/0.1546, allocations: 31.97 kB / 475.1 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005249/0.1551, allocations: 292.8 kB / 475.4 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001153/0.1553, allocations: 50.48 kB / 475.5 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.263e-05/0.1553, allocations: 20.86 kB / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.817e-05/0.1554, allocations: 0 / 475.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.1554, allocations: 34.56 kB / 475.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1554, allocations: 0 / 475.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009303/0.1564, allocations: 253.5 kB / 475.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.1564, allocations: 55.41 kB / 475.8 MB, free: 9.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.1567, allocations: 238.7 kB / 476.1 MB, free: 9.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.1568, allocations: 29.64 kB / 476.1 MB, free: 9.625 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.1569, allocations: 112 kB / 476.2 MB, free: 9.512 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.033e-05/0.1569, allocations: 27.72 kB / 476.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.739e-06/0.1569, allocations: 0 / 476.2 MB, free: 9.484 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1572, allocations: 334.8 kB / 476.6 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.882e-05/0.1572, allocations: 23.98 kB / 476.6 MB, free: 9.125 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.642e-05/0.1573, allocations: 35.97 kB / 476.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.284e-05/0.1574, allocations: 27.98 kB / 476.6 MB, free: 9.062 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.1574, allocations: 7.938 kB / 476.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000227/0.1577, allocations: 105.7 kB / 476.8 MB, free: 8.945 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.1577, allocations: 4 kB / 476.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.1577, allocations: 80 / 476.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1577, allocations: 0 / 476.8 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1579, allocations: 23.92 kB / 476.8 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.227e-06/0.1579, allocations: 7.984 kB / 476.8 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.35e-05/0.1579, allocations: 16 kB / 476.8 MB, free: 8.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-06/0.1579, allocations: 3.984 kB / 476.8 MB, free: 8.891 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 (8): * Single equations (assignments): 8 * 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.0001395/0.1581, allocations: 133.7 kB / 476.9 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.708e-05/0.1581, allocations: 19.88 kB / 477 MB, free: 8.73 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002761/0.1584, allocations: 123 kB / 477.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1584, allocations: 0 / 477.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1584, allocations: 0 / 477.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.1584, allocations: 7.984 kB / 477.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.159, allocations: 419.3 kB / 477.5 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.159, allocations: 3.938 kB / 477.5 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.487e-05/0.159, allocations: 16 kB / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1591, allocations: 0 / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1591, allocations: 0 / 477.5 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.1591, allocations: 7.984 kB / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1591, allocations: 0 / 477.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002819/0.1594, allocations: 212.2 kB / 477.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.1595, allocations: 93 kB / 477.8 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.1595, allocations: 4 kB / 477.8 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.1596, allocations: 11.94 kB / 477.8 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.325e-05/0.1597, allocations: 7.984 kB / 477.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.1597, allocations: 11.95 kB / 477.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.1599, allocations: 184.3 kB / 478 MB, free: 7.555 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1599, allocations: 0 / 478 MB, free: 7.555 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002569/0.1601, allocations: 16 kB / 478.1 MB, free: 7.539 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001267/0.1614, allocations: 451.3 kB / 478.5 MB, free: 7.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1616, allocations: 79.88 kB / 478.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1617, allocations: 0 / 478.6 MB, free: 7.195 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.374e-05/0.1617, allocations: 36.14 kB / 478.6 MB, free: 7.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1621, allocations: 20.31 kB / 478.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005617/0.1627, allocations: 343.7 kB / 479 MB, free: 6.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/0.163, allocations: 0.7083 MB / 479.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.954e-05/0.1631, allocations: 15.42 kB / 479.7 MB, free: 6.02 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1631, allocations: 3.938 kB / 479.7 MB, free: 6.016 MB / 350.1 MB Notification: Performance of Templates: time 0.003602/0.1667, allocations: 1.756 MB / 481.4 MB, free: 4.266 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.o] Error 1