Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009526, allocations: 88.61 kB / 17.63 MB, free: 6.156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001175, allocations: 201.6 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.582/1.582, 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.2563/0.2563, allocations: 45.91 MB / 344.7 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002989, allocations: 8 kB / 418.7 MB, free: 20.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1475, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002285/0.1499, allocations: 1.419 MB / 483.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001497/0.1514, allocations: 0.9402 MB / 484.5 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.229e-05/0.1515, allocations: 3.938 kB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.1518, allocations: 87.75 kB / 484.6 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.1521, allocations: 95.7 kB / 484.7 MB, free: 2.844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003514/0.1525, allocations: 87.83 kB / 484.8 MB, free: 2.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1526, allocations: 95.69 kB / 484.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.047e-05/0.1527, allocations: 15.92 kB / 484.9 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.022e-05/0.1528, allocations: 47.77 kB / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.952e-05/0.1529, allocations: 47.77 kB / 485 MB, free: 2.555 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.153, allocations: 4 kB / 485 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.386e-05/0.1531, allocations: 43.98 kB / 485 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.1531, allocations: 15.92 kB / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.487e-05/0.1532, allocations: 41.64 kB / 485.1 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001496/0.1533, allocations: 92.08 kB / 485.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1533, allocations: 0 / 485.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1533, allocations: 0 / 485.2 MB, free: 2.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.088e-06/0.1533, allocations: 0 / 485.2 MB, free: 2.355 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.0005462/0.1539, allocations: 410.8 kB / 485.6 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1539, allocations: 8.031 kB / 485.6 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.967e-05/0.154, allocations: 19.81 kB / 485.6 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.1542, allocations: 219.3 kB / 485.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1542, allocations: 0 / 485.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1543, allocations: 4 kB / 485.8 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.1544, allocations: 53.67 kB / 485.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1544, allocations: 0 / 485.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1545, allocations: 0 / 485.9 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1545, allocations: 3.984 kB / 485.9 MB, free: 1.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.1545, allocations: 23.98 kB / 485.9 MB, free: 1.535 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.1549, allocations: 296.8 kB / 486.2 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.1551, allocations: 54.69 kB / 486.2 MB, free: 1.133 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.873e-05/0.1551, allocations: 20.84 kB / 486.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.1552, allocations: 0 / 486.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.1553, allocations: 67.39 kB / 486.3 MB, free: 1.031 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1553, allocations: 3.938 kB / 486.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005676/0.1559, allocations: 181.1 kB / 486.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.156, allocations: 55.36 kB / 486.5 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002538/0.1562, allocations: 224.2 kB / 486.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.1563, allocations: 29.7 kB / 486.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.632e-05/0.1563, allocations: 112.1 kB / 486.9 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.435e-05/0.1564, allocations: 23.66 kB / 486.9 MB, free: 380 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.1564, allocations: 4 kB / 486.9 MB, free: 376 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1565, allocations: 326.8 kB / 487.3 MB, free: 40 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.455e-05/0.1566, allocations: 20 kB / 487.3 MB, free: 20 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.196e-05/0.1567, allocations: 37.75 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.906e-05/0.1567, allocations: 20 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.1567, allocations: 0 / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001818/0.1569, allocations: 113.4 kB / 487.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.157, allocations: 4 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.157, allocations: 0 / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.157, allocations: 3.938 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.1571, allocations: 19.98 kB / 487.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1571, allocations: 0 / 487.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.1572, allocations: 3.953 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1572, allocations: 4 kB / 487.5 MB, free: 15.8 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.000125/0.1573, allocations: 133.8 kB / 487.6 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.1573, allocations: 19.81 kB / 487.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.792e-05/0.1574, allocations: 13.41 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.1574, allocations: 384 / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1574, allocations: 0 / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1574, allocations: 7.984 kB / 487.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004483/0.1579, allocations: 403.3 kB / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1579, allocations: 0 / 488 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1579, allocations: 12.02 kB / 488.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1579, allocations: 4 kB / 488.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.1579, allocations: 4 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.158, allocations: 3.953 kB / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.158, allocations: 0 / 488.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000218/0.1582, allocations: 208.1 kB / 488.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.081e-05/0.1582, allocations: 89 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.216e-05/0.1583, allocations: 4 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.652e-05/0.1584, allocations: 8 kB / 488.4 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.1584, allocations: 11.94 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1585, allocations: 4 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001305/0.1586, allocations: 161.2 kB / 488.5 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1586, allocations: 4 kB / 488.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002573/0.1589, allocations: 27.98 kB / 488.6 MB, free: 14.6 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.001041/0.1599, allocations: 453.9 kB / 489 MB, free: 14.32 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001673/0.1601, allocations: 59.92 kB / 489.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1601, allocations: 0 / 489.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.902e-05/0.1602, allocations: 32.05 kB / 489.1 MB, free: 14.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1605, allocations: 32.09 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004986/0.161, allocations: 300.2 kB / 489.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1613, allocations: 0.7043 MB / 490.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.429e-05/0.1614, allocations: 23.42 kB / 490.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1614, allocations: 0 / 490.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of Templates: time 0.003932/0.1653, allocations: 1.966 MB / 492.1 MB, free: 11.15 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40CalcHelperMain.o] Error 1