Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008836/0.0008836, allocations: 90.69 kB / 17.63 MB, free: 6.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00114/0.00114, allocations: 195.8 kB / 18.54 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, 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.2419/0.2419, allocations: 45.92 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003055/0.0003055, allocations: 8 kB / 418.7 MB, free: 20.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1626, allocations: 63.48 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002291/0.1649, allocations: 1.419 MB / 483.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001648/0.1666, allocations: 0.944 MB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.403e-05/0.1667, allocations: 4 kB / 484.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.167, allocations: 39.83 kB / 484.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002842/0.1673, allocations: 75.73 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1676, allocations: 83.83 kB / 484.7 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.1678, allocations: 87.7 kB / 484.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1679, allocations: 15.98 kB / 484.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.995e-05/0.168, allocations: 39.78 kB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.1681, allocations: 31.8 kB / 484.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1681, allocations: 0 / 484.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.22e-05/0.1682, allocations: 31.98 kB / 484.9 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.559e-05/0.1683, allocations: 23.91 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.587e-05/0.1684, allocations: 37.64 kB / 485 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.1685, allocations: 84.09 kB / 485 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1685, allocations: 0 / 485 MB, free: 2.473 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1685, allocations: 0 / 485 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.1686, allocations: 4 kB / 485.1 MB, free: 2.469 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000624/0.1692, allocations: 402.9 kB / 485.4 MB, free: 2.027 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.1692, allocations: 8.031 kB / 485.5 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.1693, allocations: 11.81 kB / 485.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002484/0.1695, allocations: 206.8 kB / 485.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1696, allocations: 0 / 485.7 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1696, allocations: 4 kB / 485.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.1697, allocations: 57.61 kB / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.1698, allocations: 0 / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.1698, allocations: 7.984 kB / 485.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1698, allocations: 4 kB / 485.7 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.246e-05/0.1699, allocations: 15.98 kB / 485.8 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000406/0.1703, allocations: 284.9 kB / 486 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001578/0.1705, allocations: 58.61 kB / 486.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.992e-05/0.1705, allocations: 20.86 kB / 486.1 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.1706, allocations: 7.984 kB / 486.1 MB, free: 1.246 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.1707, allocations: 63.39 kB / 486.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1707, allocations: 0 / 486.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005424/0.1713, allocations: 173.2 kB / 486.4 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/0.1714, allocations: 59.34 kB / 486.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1716, allocations: 184.7 kB / 486.6 MB, free: 0.7344 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.1716, allocations: 29.7 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.1717, allocations: 108 kB / 486.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.515e-05/0.1717, allocations: 23.73 kB / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.139e-06/0.1717, allocations: 0 / 486.7 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.1719, allocations: 326.8 kB / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.135e-05/0.172, allocations: 16 kB / 487.1 MB, free: 228 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.377e-05/0.172, allocations: 41.64 kB / 487.1 MB, free: 180 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.609e-05/0.1721, allocations: 28.06 kB / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1721, allocations: 0 / 487.1 MB, free: 152 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001751/0.1723, allocations: 97.48 kB / 487.2 MB, free: 48 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1723, allocations: 11.94 kB / 487.3 MB, free: 36 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1723, allocations: 3.938 kB / 487.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1723, allocations: 0 / 487.3 MB, free: 32 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.284e-05/0.1724, allocations: 16.36 kB / 487.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1725, allocations: 4 kB / 487.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.1725, allocations: 7.984 kB / 487.3 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/0.1726, allocations: 12.05 kB / 487.3 MB, free: 15.99 MB / 366.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 ($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 (10): * Single equations (assignments): 10 * 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.0001119/0.1727, allocations: 121.8 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.672e-05/0.1727, allocations: 7.906 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.1728, allocations: 17.41 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1728, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1728, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.1728, allocations: 0 / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004582/0.1732, allocations: 407.2 kB / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1733, allocations: 0 / 487.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.1733, allocations: 11.94 kB / 487.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1733, allocations: 0 / 487.9 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1733, allocations: 4 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.1733, allocations: 7.953 kB / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1733, allocations: 0 / 487.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.1736, allocations: 204.3 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/0.1737, allocations: 92.92 kB / 488.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.1737, allocations: 0 / 488.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.958e-05/0.1738, allocations: 7.984 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.926e-05/0.1738, allocations: 3.953 kB / 488.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.1738, allocations: 8.188 kB / 488.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.174, allocations: 148.8 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.174, allocations: 7.938 kB / 488.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000257/0.1742, allocations: 24 kB / 488.4 MB, free: 14.83 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: 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 (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.001129/0.1754, allocations: 442.9 kB / 488.8 MB, free: 14.55 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001805/0.1756, allocations: 63.91 kB / 488.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1756, allocations: 0 / 488.8 MB, free: 14.49 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.893e-05/0.1756, allocations: 28.08 kB / 488.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003561/0.176, allocations: 32.12 kB / 488.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.1766, allocations: 268.4 kB / 489.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003228/0.1769, allocations: 0.7082 MB / 489.9 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.929e-05/0.1769, allocations: 15.44 kB / 489.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1769, allocations: 0 / 489.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of Templates: time 0.004151/0.1811, allocations: 1.904 MB / 491.8 MB, free: 11.49 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18.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_trunk_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test18CalcHelperMain.o] Error 1