Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31,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.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009794, allocations: 92.75 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.001253/0.001253, allocations: 177.1 kB / 17.57 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.974/1.974, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2815/0.2815, allocations: 43.6 MB / 315.6 MB, free: 408 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.0005701/0.0005702, allocations: 19.08 kB / 385.2 MB, free: 56.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.151, allocations: 58.86 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.001883/0.1529, allocations: 1.277 MB / 445.4 MB, free: 3.867 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006282/0.1536, allocations: 307.7 kB / 445.7 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.174e-05/0.1537, allocations: 4 kB / 445.7 MB, free: 3.559 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.154, allocations: 119.7 kB / 445.8 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000182/0.1542, allocations: 79.84 kB / 445.9 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002212/0.1545, allocations: 71.17 kB / 445.9 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001537/0.1546, allocations: 75.86 kB / 446 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.1547, allocations: 11.98 kB / 446 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.904e-05/0.1548, allocations: 35.89 kB / 446.1 MB, free: 3.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.1549, allocations: 75.73 kB / 446.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.155, allocations: 8 kB / 446.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.168e-05/0.155, allocations: 27.98 kB / 446.2 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.018e-05/0.1551, allocations: 23.92 kB / 446.2 MB, free: 3.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.163e-05/0.1552, allocations: 61.38 kB / 446.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.1553, allocations: 71.89 kB / 446.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1553, allocations: 0 / 446.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1553, allocations: 0 / 446.3 MB, free: 2.906 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1553, allocations: 0 / 446.3 MB, free: 2.906 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.0004728/0.1558, allocations: 410.9 kB / 446.7 MB, free: 2.457 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1559, allocations: 16.03 kB / 446.7 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.864e-05/0.1559, allocations: 8.844 kB / 446.7 MB, free: 2.434 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001769/0.1561, allocations: 211.8 kB / 447 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.1561, allocations: 4.312 kB / 447 MB, free: 2.184 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.1562, allocations: 4.375 kB / 447 MB, free: 2.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.1563, allocations: 53.81 kB / 447 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1563, allocations: 0 / 447 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1563, allocations: 0 / 447 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.1563, allocations: 0 / 447 MB, free: 2.121 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.02e-05/0.1564, allocations: 27.98 kB / 447 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.1568, allocations: 300.7 kB / 447.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002208/0.157, allocations: 42.56 kB / 447.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.489e-05/0.1571, allocations: 28.94 kB / 447.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1571, allocations: 0 / 447.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.939e-05/0.1572, allocations: 30.56 kB / 447.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of pre-optimization done (n=3): time 9.12e-07/0.1572, allocations: 0 / 447.4 MB, free: 1.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005834/0.1577, allocations: 169.1 kB / 447.6 MB, free: 1.457 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.1578, allocations: 51.41 kB / 447.6 MB, free: 1.395 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001969/0.158, allocations: 263.3 kB / 447.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.138e-05/0.158, allocations: 29.7 kB / 447.9 MB, free: 1.09 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.1581, allocations: 108.1 kB / 448 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.1581, allocations: 19.75 kB / 448.1 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.987e-05/0.1581, allocations: 9.719 kB / 448.1 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.4e-05/0.1582, allocations: 334.8 kB / 448.4 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.569e-05/0.1583, allocations: 23.92 kB / 448.4 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.377e-05/0.1583, allocations: 23.98 kB / 448.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1585, allocations: 52.84 kB / 448.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.92e-07/0.1585, allocations: 0 / 448.5 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001609/0.1586, allocations: 93.77 kB / 448.6 MB, free: 420 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1587, allocations: 18.11 kB / 448.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1587, allocations: 0 / 448.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.1587, allocations: 0 / 448.6 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.1588, allocations: 12 kB / 448.6 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.1588, allocations: 3.938 kB / 448.6 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.12e-05/0.1588, allocations: 7.984 kB / 448.6 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1588, allocations: 8.234 kB / 448.6 MB, free: 372 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 9.808e-05/0.159, allocations: 145.7 kB / 448.8 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.159, allocations: 15.81 kB / 448.8 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/0.1592, allocations: 102.7 kB / 448.9 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1592, allocations: 4 kB / 448.9 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.1592, allocations: 0 / 448.9 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.1592, allocations: 4 kB / 448.9 MB, free: 88 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005149/0.1598, allocations: 366.4 kB / 449.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1598, allocations: 3.984 kB / 449.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.663e-05/0.1598, allocations: 12 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1599, allocations: 7.938 kB / 449.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.1599, allocations: 0 / 449.3 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.1599, allocations: 3.938 kB / 449.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1599, allocations: 0 / 449.3 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.1602, allocations: 199.3 kB / 449.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.102e-05/0.1603, allocations: 89.02 kB / 449.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.1603, allocations: 0 / 449.6 MB, free: 15.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.309e-05/0.1604, allocations: 11.92 kB / 449.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.53e-05/0.1604, allocations: 4 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.1604, allocations: 0 / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1606, allocations: 207.4 kB / 449.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1606, allocations: 0 / 449.8 MB, free: 15.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002541/0.1609, allocations: 20 kB / 449.8 MB, free: 15.09 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.001063/0.162, allocations: 403.8 kB / 450.2 MB, free: 14.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002002/0.1622, allocations: 47.97 kB / 450.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1622, allocations: 0 / 450.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.959e-05/0.1623, allocations: 35.92 kB / 450.3 MB, free: 14.69 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003581/0.1626, allocations: 15.98 kB / 450.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005903/0.1632, allocations: 323.5 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.1636, allocations: 0.716 MB / 451.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.1636, allocations: 11.44 kB / 451.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1636, allocations: 0 / 451.3 MB, free: 13.57 MB / 334.1 MB Notification: Performance of Templates: time 0.00415/0.1678, allocations: 1.596 MB / 452.9 MB, free: 11.98 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31.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.Test31CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test31CalcHelperMain.o] Error 1