Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008556/0.0008558, allocations: 91.48 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.0009513/0.0009514, allocations: 203.3 kB / 18.54 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2199/0.2199, allocations: 45.92 MB / 344.7 MB, free: 12.34 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002973, allocations: 11.94 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1626/0.1629, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.002553/0.1655, allocations: 1.415 MB / 483.6 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.1673, allocations: 0.948 MB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.766e-05/0.1674, allocations: 3.938 kB / 484.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004016/0.1678, allocations: 43.89 kB / 484.6 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.1682, allocations: 71.75 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1686, allocations: 91.75 kB / 484.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.1688, allocations: 95.69 kB / 484.8 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.1689, allocations: 4 kB / 484.8 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.169, allocations: 43.78 kB / 484.9 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.849e-05/0.1691, allocations: 31.84 kB / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1692, allocations: 4 kB / 484.9 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.1693, allocations: 31.98 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.1694, allocations: 27.84 kB / 484.9 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.836e-05/0.1694, allocations: 33.7 kB / 485 MB, free: 2.543 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.1696, allocations: 92.09 kB / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.042e-05/0.1697, allocations: 7.938 kB / 485.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.222e-06/0.1697, allocations: 0 / 485.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.1697, allocations: 7.875 kB / 485.1 MB, free: 2.438 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.0007148/0.1704, allocations: 398.9 kB / 485.5 MB, free: 2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.655e-05/0.1705, allocations: 12.03 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.1705, allocations: 7.906 kB / 485.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003404/0.1709, allocations: 210.7 kB / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.1709, allocations: 4 kB / 485.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.171, allocations: 4 kB / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.1711, allocations: 53.67 kB / 485.8 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.058e-05/0.1712, allocations: 7.922 kB / 485.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.445e-05/0.1712, allocations: 0 / 485.8 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.1712, allocations: 4 kB / 485.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.321e-05/0.1713, allocations: 19.98 kB / 485.8 MB, free: 1.637 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005552/0.1719, allocations: 284.9 kB / 486.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001997/0.1721, allocations: 58.67 kB / 486.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.717e-05/0.1722, allocations: 20.8 kB / 486.1 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.1722, allocations: 4 kB / 486.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002396/0.1725, allocations: 63.39 kB / 486.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1725, allocations: 0 / 486.2 MB, free: 1.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006924/0.1732, allocations: 189 kB / 486.4 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/0.1733, allocations: 55.36 kB / 486.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002803/0.1736, allocations: 210.9 kB / 486.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1736, allocations: 29.64 kB / 486.7 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1737, allocations: 116.1 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.742e-05/0.1737, allocations: 19.72 kB / 486.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.039e-06/0.1738, allocations: 0 / 486.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1739, allocations: 322.8 kB / 487.1 MB, free: 176 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.174, allocations: 19.98 kB / 487.2 MB, free: 156 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.1741, allocations: 37.7 kB / 487.2 MB, free: 112 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.676e-05/0.1742, allocations: 23.94 kB / 487.2 MB, free: 88 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.1742, allocations: 4 kB / 487.2 MB, free: 84 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002276/0.1744, allocations: 97.66 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.567e-05/0.1745, allocations: 8 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1745, allocations: 0 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.1745, allocations: 384 / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1746, allocations: 15.94 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.1746, allocations: 4 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.352e-05/0.1747, allocations: 12.12 kB / 487.4 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.1747, allocations: 4 kB / 487.4 MB, free: 15.93 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.0001568/0.1749, allocations: 137.8 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.264e-05/0.1749, allocations: 11.81 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.758e-05/0.175, allocations: 17.39 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.175, allocations: 4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.175, allocations: 0 / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.175, allocations: 0 / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005606/0.1756, allocations: 403.2 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1756, allocations: 0 / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.15e-05/0.1756, allocations: 8 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1756, allocations: 0 / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.1756, allocations: 8 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.74e-06/0.1756, allocations: 7.891 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1757, allocations: 0 / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1759, allocations: 208.2 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.753e-05/0.176, allocations: 89.02 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.176, allocations: 4 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.1761, allocations: 3.984 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.933e-05/0.1762, allocations: 11.95 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.1762, allocations: 4 kB / 488.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001584/0.1764, allocations: 156.2 kB / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1764, allocations: 0 / 488.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002724/0.1767, allocations: 27.98 kB / 488.4 MB, free: 14.75 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.001275/0.178, allocations: 459.5 kB / 488.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002058/0.1782, allocations: 51.97 kB / 488.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1782, allocations: 4.062 kB / 488.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.119e-05/0.1783, allocations: 31.94 kB / 489 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1787, allocations: 31.81 kB / 489 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006277/0.1793, allocations: 287.9 kB / 489.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.1798, allocations: 0.7043 MB / 490 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.212e-05/0.1798, allocations: 15.44 kB / 490 MB, free: 13.28 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1798, allocations: 0 / 490 MB, free: 13.28 MB / 366.1 MB Notification: Performance of Templates: time 0.004718/0.1846, allocations: 1.967 MB / 492 MB, free: 11.32 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44CalcHelperMain.o] Error 1