Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008214/0.0008213, allocations: 93 kB / 17.63 MB, free: 5.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009634/0.0009635, allocations: 200.3 kB / 18.54 MB, free: 4.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.3 MB / 246.6 MB, free: 12.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 45.9 MB / 344.7 MB, free: 12.25 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003255, allocations: 11.94 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1604, allocations: 63.48 MB / 482.1 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002085/0.1625, allocations: 1.443 MB / 483.6 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001471/0.164, allocations: 0.9596 MB / 484.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.87e-05/0.1641, allocations: 0 / 484.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.1644, allocations: 107.7 kB / 484.7 MB, free: 2.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1647, allocations: 103.7 kB / 484.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000258/0.165, allocations: 87.83 kB / 484.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001829/0.1652, allocations: 119.7 kB / 485 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.1653, allocations: 17.39 kB / 485 MB, free: 2.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.1654, allocations: 55.77 kB / 485 MB, free: 2.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.1655, allocations: 59.75 kB / 485.1 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.1655, allocations: 4 kB / 485.1 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.1656, allocations: 51.97 kB / 485.1 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.107e-05/0.1657, allocations: 27.86 kB / 485.2 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.617e-05/0.1658, allocations: 45.62 kB / 485.2 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001783/0.1659, allocations: 124 kB / 485.3 MB, free: 2.168 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.166, allocations: 4 kB / 485.3 MB, free: 2.164 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.166, allocations: 4 kB / 485.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.166, allocations: 0 / 485.3 MB, free: 2.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005628/0.1665, allocations: 434.7 kB / 485.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1666, allocations: 8.031 kB / 485.8 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/0.1666, allocations: 15.81 kB / 485.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002729/0.1669, allocations: 231.6 kB / 486 MB, free: 1.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.1669, allocations: 4 kB / 486 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.167, allocations: 8 kB / 486 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.1671, allocations: 73.66 kB / 486.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.1672, allocations: 0 / 486.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.1672, allocations: 0 / 486.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.1672, allocations: 0 / 486.1 MB, free: 1.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1673, allocations: 35.97 kB / 486.1 MB, free: 1.27 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004389/0.1677, allocations: 336.6 kB / 486.5 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.168, allocations: 78.55 kB / 486.5 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.174e-05/0.1681, allocations: 28.84 kB / 486.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.1681, allocations: 0 / 486.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1683, allocations: 79.27 kB / 486.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.1683, allocations: 0 / 486.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008159/0.1691, allocations: 304 kB / 486.9 MB, free: 392 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1692, allocations: 51.41 kB / 487 MB, free: 328 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002548/0.1694, allocations: 259.7 kB / 487.2 MB, free: 60 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.1695, allocations: 29.7 kB / 487.3 MB, free: 24 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.1696, allocations: 116.2 kB / 487.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.1696, allocations: 43.55 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-06/0.1697, allocations: 7.938 kB / 487.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1698, allocations: 330.8 kB / 487.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.003e-05/0.1699, allocations: 39.98 kB / 487.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.063e-05/0.17, allocations: 56.8 kB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.788e-05/0.1701, allocations: 47.98 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.1701, allocations: 4 kB / 487.9 MB, free: 15.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002609/0.1704, allocations: 157.3 kB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.1704, allocations: 8 kB / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1704, allocations: 0 / 488.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1704, allocations: 3.953 kB / 488.1 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.1705, allocations: 35.95 kB / 488.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1706, allocations: 0 / 488.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.689e-05/0.1706, allocations: 8 kB / 488.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.1706, allocations: 4 kB / 488.1 MB, free: 15.16 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 (16): * Single equations (assignments): 16 * 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.0001123/0.1707, allocations: 135.2 kB / 488.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1708, allocations: 15.81 kB / 488.3 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1708, allocations: 25.52 kB / 488.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1708, allocations: 3.953 kB / 488.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1709, allocations: 4 kB / 488.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1709, allocations: 4 kB / 488.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006078/0.1715, allocations: 0.5037 MB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.1715, allocations: 4 kB / 488.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.1716, allocations: 19.98 kB / 488.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1716, allocations: 3.938 kB / 488.8 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.1716, allocations: 8.062 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1716, allocations: 0 / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.1716, allocations: 4 kB / 488.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.1719, allocations: 257 kB / 489.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.172, allocations: 100.9 kB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.172, allocations: 8 kB / 489.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.447e-05/0.1721, allocations: 8 kB / 489.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.1722, allocations: 7.984 kB / 489.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.1722, allocations: 8 kB / 489.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.1724, allocations: 193.5 kB / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1724, allocations: 0 / 489.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1727, allocations: 32 kB / 489.4 MB, free: 13.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.001237/0.1739, allocations: 0.5142 MB / 490 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002388/0.1742, allocations: 99.66 kB / 490.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.1742, allocations: 0 / 490.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001003/0.1743, allocations: 51.92 kB / 490.1 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1746, allocations: 35.89 kB / 490.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005942/0.1752, allocations: 393.7 kB / 490.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.1756, allocations: 0.7243 MB / 491.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.1757, allocations: 23.42 kB / 491.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1757, allocations: 0 / 491.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of Templates: time 0.004764/0.1804, allocations: 2.492 MB / 493.8 MB, free: 9.523 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test5CalcHelperMain.o] Error 1