Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000789/0.000789, allocations: 96.91 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008888/0.0008888, allocations: 199.3 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.559/1.559, allocations: 227.3 MB / 246.6 MB, free: 12.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2495/0.2495, allocations: 45.91 MB / 344.7 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1649, allocations: 63.48 MB / 482.1 MB, free: 5.414 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002507/0.1675, allocations: 1.493 MB / 483.6 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002799/0.1703, allocations: 1.605 MB / 485.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001524/0.1705, allocations: 7.938 kB / 485.2 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003429/0.1709, allocations: 39.83 kB / 485.3 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004424/0.1713, allocations: 111.6 kB / 485.4 MB, free: 2.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004671/0.1718, allocations: 147.6 kB / 485.5 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003239/0.1722, allocations: 175.4 kB / 485.7 MB, free: 1.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.274e-05/0.1722, allocations: 13.67 kB / 485.7 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1724, allocations: 79.58 kB / 485.8 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002448/0.1727, allocations: 75.23 kB / 485.9 MB, free: 1.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.1727, allocations: 8 kB / 485.9 MB, free: 1.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002606/0.173, allocations: 87.94 kB / 486 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.61e-05/0.1731, allocations: 35.83 kB / 486 MB, free: 1.531 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.666e-05/0.1731, allocations: 45.64 kB / 486 MB, free: 1.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003141/0.1735, allocations: 164 kB / 486.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.1735, allocations: 3.938 kB / 486.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1735, allocations: 0 / 486.2 MB, free: 1.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.1735, allocations: 0 / 486.2 MB, free: 1.316 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007504/0.1743, allocations: 474.5 kB / 486.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1743, allocations: 8.031 kB / 486.7 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.525e-05/0.1744, allocations: 23.81 kB / 486.7 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.1747, allocations: 250.6 kB / 487 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.1748, allocations: 0 / 487 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.1748, allocations: 8 kB / 487 MB, free: 492 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.175, allocations: 109 kB / 487.1 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.175, allocations: 0 / 487.1 MB, free: 364 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.1751, allocations: 3.938 kB / 487.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.1751, allocations: 0 / 487.1 MB, free: 360 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.1752, allocations: 27.98 kB / 487.1 MB, free: 332 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.1755, allocations: 226.4 kB / 487.3 MB, free: 52 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/0.1758, allocations: 105.2 kB / 487.4 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.1759, allocations: 41.69 kB / 487.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.228e-05/0.1759, allocations: 0 / 487.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000276/0.1762, allocations: 117 kB / 487.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.1762, allocations: 0 / 487.6 MB, free: 15.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004913/0.1767, allocations: 157.4 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.1768, allocations: 136.5 kB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.1771, allocations: 236.1 kB / 488.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.1772, allocations: 33.7 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.1773, allocations: 120.1 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.1773, allocations: 23.66 kB / 488.3 MB, free: 15 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.1774, allocations: 8 kB / 488.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1775, allocations: 334.8 kB / 488.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.231e-05/0.1776, allocations: 23.98 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.1777, allocations: 77.08 kB / 488.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001106/0.1779, allocations: 31.98 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1779, allocations: 0 / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002706/0.1781, allocations: 134 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1782, allocations: 4 kB / 488.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.1782, allocations: 4 kB / 488.9 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.1782, allocations: 8.078 kB / 488.9 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001222/0.1783, allocations: 23.88 kB / 488.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.1784, allocations: 4 kB / 488.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.1785, allocations: 15.89 kB / 488.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.1785, allocations: 4 kB / 488.9 MB, free: 14.3 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.1786, allocations: 142.2 kB / 489.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.638e-05/0.1787, allocations: 15.81 kB / 489.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.1787, allocations: 21 kB / 489.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1787, allocations: 4 kB / 489.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.1788, allocations: 4 kB / 489.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.1788, allocations: 3.984 kB / 489.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.179, allocations: 225.5 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.179, allocations: 3.938 kB / 489.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.575e-05/0.1791, allocations: 8 kB / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.1791, allocations: 0 / 489.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1791, allocations: 11.98 kB / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1791, allocations: 3.984 kB / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.1791, allocations: 0 / 489.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.1794, allocations: 173.6 kB / 489.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.1795, allocations: 100.9 kB / 489.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.1796, allocations: 15.97 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.1796, allocations: 4 kB / 489.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.1797, allocations: 7.984 kB / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.874e-05/0.1797, allocations: 4 kB / 489.7 MB, free: 13.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1799, allocations: 177.8 kB / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1799, allocations: 0 / 489.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.1803, allocations: 59.98 kB / 489.9 MB, free: 13.25 MB / 366.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001227/0.1815, allocations: 0.4885 MB / 490.4 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002492/0.1818, allocations: 75.91 kB / 490.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1818, allocations: 0 / 490.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000122/0.1819, allocations: 43.97 kB / 490.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1823, allocations: 48.7 kB / 490.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006133/0.1829, allocations: 332.7 kB / 490.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.1832, allocations: 0.7206 MB / 491.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.116e-05/0.1833, allocations: 27.42 kB / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1833, allocations: 4 kB / 491.6 MB, free: 11.61 MB / 366.1 MB Notification: Performance of Templates: time 0.006372/0.1897, allocations: 3.142 MB / 494.8 MB, free: 8.484 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81CalcHelperMain.o] Error 1