Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") translateModel(ModelicaTest.Tables.CombiTimeTable.Test46,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001149/0.001148, allocations: 89 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.00193/0.00193, allocations: 203.9 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.511/1.511, allocations: 227.3 MB / 246.6 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 45.92 MB / 344.7 MB, free: 12.24 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 12 kB / 418.7 MB, free: 20.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1614, allocations: 63.47 MB / 482.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.0023/0.1637, allocations: 1.411 MB / 483.5 MB, free: 3.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.1654, allocations: 0.948 MB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.056e-05/0.1655, allocations: 7.938 kB / 484.5 MB, free: 2.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003533/0.1658, allocations: 47.86 kB / 484.5 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1661, allocations: 79.73 kB / 484.6 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003346/0.1664, allocations: 95.75 kB / 484.7 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1666, allocations: 95.69 kB / 484.8 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.131e-05/0.1667, allocations: 8 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.557e-05/0.1668, allocations: 43.78 kB / 484.9 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.295e-05/0.1669, allocations: 35.84 kB / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.167, allocations: 0 / 484.9 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.117e-05/0.1671, allocations: 35.92 kB / 484.9 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.1671, allocations: 23.92 kB / 485 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1672, allocations: 41.58 kB / 485 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.1673, allocations: 112.1 kB / 485.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1674, allocations: 0 / 485.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1674, allocations: 0 / 485.1 MB, free: 2.383 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1674, allocations: 0 / 485.1 MB, free: 2.383 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.0006039/0.168, allocations: 430.6 kB / 485.5 MB, free: 1.914 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.168, allocations: 8.031 kB / 485.5 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.319e-05/0.1681, allocations: 15.81 kB / 485.6 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000266/0.1684, allocations: 219.7 kB / 485.8 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.845e-05/0.1684, allocations: 4 kB / 485.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.128e-05/0.1684, allocations: 4 kB / 485.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1686, allocations: 53.67 kB / 485.8 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1686, allocations: 3.984 kB / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.1686, allocations: 0 / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1686, allocations: 0 / 485.8 MB, free: 1.562 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.189e-05/0.1687, allocations: 23.98 kB / 485.9 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.1691, allocations: 300.8 kB / 486.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1693, allocations: 58.67 kB / 486.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.845e-05/0.1693, allocations: 16.86 kB / 486.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.1694, allocations: 4 kB / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.1695, allocations: 67.39 kB / 486.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 2.855e-06/0.1695, allocations: 4 kB / 486.3 MB, free: 1.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005349/0.1701, allocations: 189 kB / 486.5 MB, free: 0.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.1701, allocations: 55.36 kB / 486.5 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000265/0.1704, allocations: 275.9 kB / 486.8 MB, free: 496 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.1704, allocations: 25.7 kB / 486.8 MB, free: 464 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.103e-05/0.1705, allocations: 120.1 kB / 486.9 MB, free: 340 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1706, allocations: 19.72 kB / 487 MB, free: 320 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1706, allocations: 4 kB / 487 MB, free: 316 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.1707, allocations: 330.8 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.1708, allocations: 20 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.825e-05/0.1709, allocations: 33.7 kB / 487.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.857e-05/0.1709, allocations: 28.05 kB / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.1709, allocations: 0 / 487.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001699/0.1711, allocations: 109.4 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1711, allocations: 8 kB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.1711, allocations: 4.219 kB / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.1712, allocations: 0 / 487.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.981e-05/0.1712, allocations: 19.92 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1713, allocations: 0 / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.642e-05/0.1713, allocations: 11.89 kB / 487.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.1713, allocations: 4 kB / 487.5 MB, free: 15.73 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.0001311/0.1715, allocations: 137.8 kB / 487.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/0.1715, allocations: 15.81 kB / 487.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.011e-05/0.1716, allocations: 25.39 kB / 487.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1716, allocations: 4 kB / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.1716, allocations: 0 / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1716, allocations: 0 / 487.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004383/0.172, allocations: 403.3 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.172, allocations: 0 / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.1721, allocations: 15.98 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1721, allocations: 0 / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.1721, allocations: 8.031 kB / 488.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.1721, allocations: 3.953 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1721, allocations: 0 / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.1723, allocations: 208.1 kB / 488.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1724, allocations: 92.91 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.1724, allocations: 0 / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.1725, allocations: 4 kB / 488.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.1726, allocations: 19.94 kB / 488.4 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.1726, allocations: 4 kB / 488.4 MB, free: 14.7 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001837/0.1728, allocations: 200.6 kB / 488.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1728, allocations: 3.938 kB / 488.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002525/0.173, allocations: 20 kB / 488.7 MB, free: 14.48 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.001113/0.1742, allocations: 457 kB / 489.1 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001766/0.1743, allocations: 55.91 kB / 489.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1743, allocations: 0 / 489.2 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/0.1744, allocations: 36.12 kB / 489.2 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1748, allocations: 39.83 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005682/0.1754, allocations: 344.6 kB / 489.6 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003151/0.1757, allocations: 0.716 MB / 490.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.945e-05/0.1757, allocations: 19.42 kB / 490.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1757, allocations: 0 / 490.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of Templates: time 0.004074/0.1798, allocations: 2.075 MB / 492.4 MB, free: 10.86 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test46CalcHelperMain.o] Error 1