Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008038/0.0008037, allocations: 88.3 kB / 17.63 MB, free: 6.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001019/0.001019, allocations: 197.3 kB / 18.54 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.489/1.489, allocations: 227.3 MB / 246.6 MB, free: 10.3 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2422/0.2422, allocations: 45.91 MB / 344.7 MB, free: 12.04 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002814/0.0002816, allocations: 8 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.166/0.1663, allocations: 63.47 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002267/0.1687, allocations: 1.415 MB / 483.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1702, allocations: 0.948 MB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.813e-05/0.1703, allocations: 0 / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1706, allocations: 47.77 kB / 484.5 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1709, allocations: 71.75 kB / 484.6 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002719/0.1712, allocations: 87.81 kB / 484.7 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.1714, allocations: 91.7 kB / 484.8 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1715, allocations: 11.98 kB / 484.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.345e-05/0.1716, allocations: 35.8 kB / 484.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.286e-05/0.1717, allocations: 35.78 kB / 484.9 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1717, allocations: 4 kB / 484.9 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.137e-05/0.1718, allocations: 31.98 kB / 484.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.1719, allocations: 15.92 kB / 484.9 MB, free: 2.578 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.214e-05/0.1719, allocations: 41.64 kB / 485 MB, free: 2.531 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1721, allocations: 92.08 kB / 485.1 MB, free: 2.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1721, allocations: 4 kB / 485.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.285e-06/0.1721, allocations: 4 kB / 485.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.1721, allocations: 0 / 485.1 MB, free: 2.434 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.0007453/0.1729, allocations: 398.8 kB / 485.4 MB, free: 1.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.173, allocations: 8.031 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.173, allocations: 11.91 kB / 485.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.1734, allocations: 207.5 kB / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1734, allocations: 0 / 485.7 MB, free: 1.734 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.862e-05/0.1734, allocations: 8 kB / 485.7 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001776/0.1736, allocations: 61.61 kB / 485.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1736, allocations: 3.984 kB / 485.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.484e-05/0.1737, allocations: 7.984 kB / 485.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.1737, allocations: 0 / 485.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.146e-05/0.1737, allocations: 16 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004798/0.1742, allocations: 288.8 kB / 486 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.1744, allocations: 66.56 kB / 486.1 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.01e-05/0.1745, allocations: 20.84 kB / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.1745, allocations: 0 / 486.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001862/0.1747, allocations: 67.39 kB / 486.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.263e-06/0.1747, allocations: 0 / 486.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006069/0.1753, allocations: 181.2 kB / 486.4 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.936e-05/0.1754, allocations: 55.36 kB / 486.4 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1756, allocations: 191.4 kB / 486.6 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.1757, allocations: 29.7 kB / 486.6 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.096e-05/0.1757, allocations: 108.1 kB / 486.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.752e-05/0.1758, allocations: 19.72 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.268e-05/0.1758, allocations: 4 kB / 486.8 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.176, allocations: 326.8 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.1761, allocations: 24 kB / 487.1 MB, free: 164 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.273e-05/0.1761, allocations: 37.64 kB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.457e-05/0.1762, allocations: 20 kB / 487.2 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1762, allocations: 0 / 487.2 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001962/0.1764, allocations: 101.5 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1764, allocations: 8 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.1764, allocations: 0 / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.1765, allocations: 4.031 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.557e-05/0.1765, allocations: 19.88 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.1766, allocations: 4 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.876e-05/0.1766, allocations: 7.953 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.1766, allocations: 4 kB / 487.3 MB, free: 15.95 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.0001291/0.1768, allocations: 125.8 kB / 487.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1768, allocations: 11.91 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.958e-05/0.1769, allocations: 13.41 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.1769, allocations: 0 / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1769, allocations: 4 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.1769, allocations: 4 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.1774, allocations: 395.3 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1774, allocations: 0 / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.1775, allocations: 12.31 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1775, allocations: 4 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.1775, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/0.1775, allocations: 12.12 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1775, allocations: 4.031 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1778, allocations: 208.1 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.475e-05/0.1778, allocations: 85.02 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.54e-05/0.1779, allocations: 8 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.1779, allocations: 3.984 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.178, allocations: 15.89 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.178, allocations: 4 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001372/0.1781, allocations: 152.2 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1781, allocations: 0 / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002489/0.1784, allocations: 31.89 kB / 488.4 MB, free: 14.77 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.001096/0.1795, allocations: 458.2 kB / 488.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.1797, allocations: 59.91 kB / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1797, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.392e-05/0.1798, allocations: 31.98 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003191/0.1801, allocations: 30.95 kB / 489 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005062/0.1806, allocations: 276 kB / 489.2 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.181, allocations: 0.7121 MB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.723e-05/0.181, allocations: 15.44 kB / 490 MB, free: 13.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.181, allocations: 0 / 490 MB, free: 13.3 MB / 366.1 MB Notification: Performance of Templates: time 0.003861/0.1849, allocations: 1.918 MB / 491.9 MB, free: 11.38 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20.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.Test20CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test20CalcHelperMain.o] Error 1