Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001251/0.001251, allocations: 89.42 kB / 16.67 MB, free: 6.598 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.001462/0.001462, allocations: 180.5 kB / 17.58 MB, free: 6.188 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.858/1.858, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.243/0.243, allocations: 43.59 MB / 315.6 MB, free: 420 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.0006301/0.0006301, allocations: 21.5 kB / 385.3 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1604/0.161, allocations: 58.85 MB / 444.1 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002424/0.1635, allocations: 1.42 MB / 445.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.165, allocations: 0.773 MB / 446.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.977e-05/0.1651, allocations: 0 / 446.3 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1656, allocations: 51.81 kB / 446.3 MB, free: 2.895 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.1658, allocations: 51.81 kB / 446.4 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003043/0.1661, allocations: 83.22 kB / 446.5 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.1664, allocations: 91.69 kB / 446.6 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.1665, allocations: 8.234 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.1667, allocations: 43.78 kB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.379e-05/0.1668, allocations: 39.78 kB / 446.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.1668, allocations: 0 / 446.7 MB, free: 2.586 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.887e-05/0.1669, allocations: 39.98 kB / 446.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.167, allocations: 27.91 kB / 446.7 MB, free: 2.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.077e-05/0.167, allocations: 69.38 kB / 446.8 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.1672, allocations: 95.73 kB / 446.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.1672, allocations: 0 / 446.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1672, allocations: 0 / 446.9 MB, free: 2.352 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.1673, allocations: 0 / 446.9 MB, free: 2.352 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000657/0.1679, allocations: 422.8 kB / 447.3 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.168, allocations: 12.03 kB / 447.3 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.194e-05/0.1681, allocations: 16.75 kB / 447.3 MB, free: 1.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.1684, allocations: 223.5 kB / 447.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.1684, allocations: 384 / 447.5 MB, free: 1.605 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.619e-05/0.1684, allocations: 8.109 kB / 447.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.1687, allocations: 57.67 kB / 447.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.1687, allocations: 0 / 447.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1687, allocations: 0 / 447.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.1687, allocations: 4 kB / 447.6 MB, free: 1.531 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.239e-05/0.1688, allocations: 27.92 kB / 447.6 MB, free: 1.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/0.1693, allocations: 288.8 kB / 447.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.1695, allocations: 58.67 kB / 448 MB, free: 1.105 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.636e-05/0.1696, allocations: 24.84 kB / 448 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.827e-05/0.1696, allocations: 7.875 kB / 448 MB, free: 1.07 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002163/0.1698, allocations: 67.39 kB / 448.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.1698, allocations: 0 / 448.1 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006512/0.1705, allocations: 181 kB / 448.3 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.1705, allocations: 55.41 kB / 448.3 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002101/0.1707, allocations: 255.7 kB / 448.6 MB, free: 488 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.117e-05/0.1708, allocations: 29.7 kB / 448.6 MB, free: 452 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1708, allocations: 112.1 kB / 448.7 MB, free: 336 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.269e-05/0.1709, allocations: 27.64 kB / 448.7 MB, free: 308 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1709, allocations: 21.7 kB / 448.7 MB, free: 280 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1711, allocations: 326.8 kB / 449.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.427e-05/0.1711, allocations: 20 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.29e-05/0.1712, allocations: 33.7 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.1713, allocations: 65.64 kB / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1714, allocations: 0 / 449.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000194/0.1716, allocations: 105.4 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.1716, allocations: 10.19 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.1716, allocations: 0 / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.1716, allocations: 0.5625 kB / 449.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.1717, allocations: 12 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.1718, allocations: 8.094 kB / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.1718, allocations: 19.95 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1718, allocations: 4 kB / 449.3 MB, free: 15.66 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000149/0.172, allocations: 137.8 kB / 449.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.172, allocations: 11.81 kB / 449.5 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.1721, allocations: 21.39 kB / 449.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.1721, allocations: 4 kB / 449.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.026e-06/0.1721, allocations: 3.984 kB / 449.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.1721, allocations: 3.938 kB / 449.5 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000566/0.1727, allocations: 403.3 kB / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.1727, allocations: 0 / 449.9 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.1728, allocations: 15.92 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.1728, allocations: 0 / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.1728, allocations: 7.938 kB / 449.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1728, allocations: 0 / 449.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1728, allocations: 0 / 449.9 MB, free: 14.99 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.1731, allocations: 208.2 kB / 450.1 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.18e-05/0.1732, allocations: 92.91 kB / 450.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.834e-05/0.1732, allocations: 7.938 kB / 450.2 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.1733, allocations: 8 kB / 450.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.914e-05/0.1734, allocations: 3.984 kB / 450.2 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.1734, allocations: 7.938 kB / 450.3 MB, free: 14.63 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002252/0.1736, allocations: 199.3 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1736, allocations: 4 kB / 450.5 MB, free: 14.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.1739, allocations: 23.98 kB / 450.5 MB, free: 14.41 MB / 334.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001379/0.1753, allocations: 459.9 kB / 450.9 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.1755, allocations: 67.84 kB / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1755, allocations: 0 / 451 MB, free: 13.96 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.435e-05/0.1756, allocations: 27.98 kB / 451 MB, free: 13.94 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.176, allocations: 27.97 kB / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.1767, allocations: 344.7 kB / 451.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.1771, allocations: 0.716 MB / 452.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.1771, allocations: 19.44 kB / 452.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1771, allocations: 0 / 452.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of Templates: time 0.004761/0.1819, allocations: 2.033 MB / 454.2 MB, free: 10.76 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.CombiTimeTable.Test1CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1CalcHelperMain.o] Error 1