Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001442, allocations: 88.73 kB / 16.66 MB, free: 6.59 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.001908/0.001908, allocations: 180.1 kB / 17.57 MB, free: 6.191 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.019/2.019, allocations: 205.4 MB / 223.7 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.2676/0.2676, allocations: 43.59 MB / 315.6 MB, free: 428 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.0005484/0.0005484, allocations: 15.69 kB / 385.2 MB, free: 56.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1473/0.1479, allocations: 58.86 MB / 444.1 MB, free: 5.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002062/0.15, allocations: 1.277 MB / 445.4 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.1514, allocations: 0.9064 MB / 446.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.152e-05/0.1515, allocations: 0 / 446.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002723/0.1518, allocations: 23.92 kB / 446.3 MB, free: 2.938 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001953/0.152, allocations: 31.91 kB / 446.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.1522, allocations: 59.81 kB / 446.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.1524, allocations: 55.83 kB / 446.4 MB, free: 2.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/0.1525, allocations: 15.98 kB / 446.5 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.851e-05/0.1526, allocations: 19.88 kB / 446.5 MB, free: 2.758 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.1527, allocations: 23.91 kB / 446.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.709e-05/0.1528, allocations: 0 / 446.5 MB, free: 2.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1529, allocations: 47.97 kB / 446.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.282e-05/0.153, allocations: 7.938 kB / 446.6 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.153, allocations: 49.55 kB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.1532, allocations: 63.91 kB / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.1532, allocations: 0 / 446.7 MB, free: 2.562 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1532, allocations: 7.938 kB / 446.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1532, allocations: 0 / 446.7 MB, free: 2.555 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.0004426/0.1537, allocations: 367.2 kB / 447 MB, free: 2.148 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.1537, allocations: 12.03 kB / 447 MB, free: 2.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.653e-05/0.1538, allocations: 4.844 kB / 447.1 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.154, allocations: 188.3 kB / 447.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.154, allocations: 8.375 kB / 447.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.154, allocations: 384 / 447.2 MB, free: 1.902 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.1542, allocations: 67.53 kB / 447.3 MB, free: 1.824 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1542, allocations: 3.938 kB / 447.3 MB, free: 1.82 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.1542, allocations: 8 kB / 447.3 MB, free: 1.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1543, allocations: 3.984 kB / 447.3 MB, free: 1.809 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.282e-05/0.1543, allocations: 19.98 kB / 447.3 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.1547, allocations: 272.9 kB / 447.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.1549, allocations: 50.5 kB / 447.7 MB, free: 1.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.605e-05/0.155, allocations: 12.86 kB / 447.7 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.155, allocations: 3.984 kB / 447.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.155, allocations: 38.66 kB / 447.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 1.303e-06/0.155, allocations: 0 / 447.7 MB, free: 1.348 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005749/0.1556, allocations: 165.4 kB / 447.9 MB, free: 1.18 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1557, allocations: 77.11 kB / 448 MB, free: 1.086 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1558, allocations: 136.2 kB / 448.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.1558, allocations: 25.7 kB / 448.1 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.1559, allocations: 88.14 kB / 448.2 MB, free: 0.8242 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1559, allocations: 11.81 kB / 448.2 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.219e-05/0.1559, allocations: 17.66 kB / 448.2 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.162e-05/0.156, allocations: 322.8 kB / 448.5 MB, free: 476 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-05/0.1561, allocations: 27.98 kB / 448.6 MB, free: 448 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.346e-05/0.1561, allocations: 33.7 kB / 448.6 MB, free: 408 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.1563, allocations: 52.86 kB / 448.7 MB, free: 352 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1563, allocations: 0 / 448.7 MB, free: 352 kB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001683/0.1564, allocations: 93.61 kB / 448.7 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.1565, allocations: 5.719 kB / 448.7 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1565, allocations: 0 / 448.7 MB, free: 248 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.1565, allocations: 7.984 kB / 448.8 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.231e-05/0.1566, allocations: 15.98 kB / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1566, allocations: 0 / 448.8 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.1566, allocations: 11.98 kB / 448.8 MB, free: 212 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1567, allocations: 0 / 448.8 MB, free: 212 kB / 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 7.857e-05/0.1567, allocations: 125.7 kB / 448.9 MB, free: 76 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.1568, allocations: 7.906 kB / 448.9 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.157, allocations: 101.5 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.157, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1571, allocations: 4.312 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1571, allocations: 3.938 kB / 449 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.1576, allocations: 358.5 kB / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1576, allocations: 0 / 449.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1576, allocations: 15.94 kB / 449.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.1576, allocations: 0 / 449.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.1577, allocations: 0 / 449.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.1577, allocations: 11.92 kB / 449.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.1577, allocations: 0 / 449.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.158, allocations: 179.4 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.577e-05/0.158, allocations: 93 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.158, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.031e-05/0.1581, allocations: 15.94 kB / 449.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.539e-05/0.1582, allocations: 3.984 kB / 449.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1582, allocations: 0 / 449.7 MB, free: 15.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1583, allocations: 103.3 kB / 449.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1583, allocations: 0 / 449.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002679/0.1586, allocations: 23.94 kB / 449.8 MB, free: 15.07 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.00117/0.1598, allocations: 449.2 kB / 450.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002207/0.16, allocations: 55.95 kB / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.16, allocations: 0 / 450.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.639e-05/0.1601, allocations: 31.98 kB / 450.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003633/0.1605, allocations: 15.98 kB / 450.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004445/0.1609, allocations: 202.3 kB / 450.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1613, allocations: 0.6926 MB / 451.2 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.19e-05/0.1614, allocations: 11.44 kB / 451.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1614, allocations: 0 / 451.2 MB, free: 13.65 MB / 334.1 MB Notification: Performance of Templates: time 0.004239/0.1657, allocations: 1.541 MB / 452.8 MB, free: 12.11 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.o] Error 1