Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009555/0.0009555, allocations: 94.22 kB / 17.63 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001134/0.001135, allocations: 199.2 kB / 18.54 MB, free: 5.152 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.527/1.527, 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.2237/0.2237, allocations: 45.91 MB / 344.7 MB, free: 12.28 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003057/0.0003058, allocations: 12 kB / 418.7 MB, free: 20.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1614, allocations: 63.46 MB / 482.1 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002193/0.1636, allocations: 1.419 MB / 483.5 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.1653, allocations: 0.948 MB / 484.5 MB, free: 3.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.691e-05/0.1654, allocations: 3.938 kB / 484.5 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003689/0.1658, allocations: 39.89 kB / 484.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002792/0.166, allocations: 75.73 kB / 484.6 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002919/0.1663, allocations: 99.14 kB / 484.7 MB, free: 2.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001758/0.1665, allocations: 91.69 kB / 484.8 MB, free: 2.746 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.1666, allocations: 4 kB / 484.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.453e-05/0.1667, allocations: 43.78 kB / 484.8 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.057e-05/0.1668, allocations: 27.84 kB / 484.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.406e-05/0.1669, allocations: 4 kB / 484.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.706e-05/0.167, allocations: 31.98 kB / 484.9 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.413e-05/0.167, allocations: 19.92 kB / 484.9 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.409e-05/0.1671, allocations: 41.64 kB / 485 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001872/0.1673, allocations: 96.08 kB / 485.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1673, allocations: 0 / 485.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.449e-06/0.1673, allocations: 0 / 485.1 MB, free: 2.477 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1673, allocations: 3.938 kB / 485.1 MB, free: 2.473 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.0005965/0.1679, allocations: 402.8 kB / 485.5 MB, free: 2.031 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.168, allocations: 8.031 kB / 485.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.154e-05/0.168, allocations: 15.89 kB / 485.5 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.1683, allocations: 210.7 kB / 485.7 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/0.1683, allocations: 11.97 kB / 485.7 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.38e-05/0.1684, allocations: 4 kB / 485.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001783/0.1685, allocations: 53.67 kB / 485.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.1686, allocations: 0 / 485.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.71e-05/0.1686, allocations: 0 / 485.8 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1686, allocations: 3.938 kB / 485.8 MB, free: 1.684 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.098e-05/0.1687, allocations: 19.98 kB / 485.8 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/0.1692, allocations: 292.9 kB / 486.1 MB, free: 1.328 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001657/0.1694, allocations: 54.67 kB / 486.1 MB, free: 1.266 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.79e-05/0.1694, allocations: 24.8 kB / 486.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/0.1695, allocations: 0 / 486.1 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001908/0.1697, allocations: 63.39 kB / 486.2 MB, free: 1.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.1697, allocations: 4 kB / 486.2 MB, free: 1.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005971/0.1703, allocations: 189 kB / 486.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.1704, allocations: 59.36 kB / 486.5 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002232/0.1706, allocations: 206.9 kB / 486.7 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.1706, allocations: 25.7 kB / 486.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.005e-05/0.1707, allocations: 116.1 kB / 486.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.861e-05/0.1707, allocations: 19.72 kB / 486.8 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-06/0.1707, allocations: 3.938 kB / 486.8 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1709, allocations: 330.8 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.28e-05/0.171, allocations: 15.98 kB / 487.2 MB, free: 172 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.171, allocations: 37.7 kB / 487.2 MB, free: 128 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.486e-05/0.1711, allocations: 27.94 kB / 487.2 MB, free: 100 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1711, allocations: 0 / 487.2 MB, free: 100 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001789/0.1713, allocations: 93.58 kB / 487.3 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.156e-05/0.1713, allocations: 4.047 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1713, allocations: 8.031 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.1714, allocations: 0 / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.357e-05/0.1715, allocations: 15.94 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.1715, allocations: 3.938 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.07e-05/0.1715, allocations: 11.95 kB / 487.4 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.1715, allocations: 4 kB / 487.4 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.0001162/0.1717, allocations: 125.8 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.1717, allocations: 15.81 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.962e-05/0.1718, allocations: 21.41 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1718, allocations: 4 kB / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.1718, allocations: 0 / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1718, allocations: 0 / 487.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004563/0.1722, allocations: 399.3 kB / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1723, allocations: 0 / 487.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.129e-05/0.1723, allocations: 8 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1723, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.1723, allocations: 4.031 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-06/0.1723, allocations: 12.31 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.1723, allocations: 3.938 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.1726, allocations: 204.2 kB / 488.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.619e-05/0.1727, allocations: 85.02 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.889e-05/0.1727, allocations: 8 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.418e-05/0.1728, allocations: 11.98 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.615e-05/0.1728, allocations: 7.953 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.1728, allocations: 4 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001574/0.173, allocations: 160.3 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.173, allocations: 3.938 kB / 488.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002591/0.1733, allocations: 20 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.001108/0.1744, allocations: 461.8 kB / 488.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.1746, allocations: 55.95 kB / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1746, allocations: 0 / 488.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.827e-05/0.1747, allocations: 35.92 kB / 489 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.0003432/0.175, allocations: 31.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.0005421/0.1756, allocations: 287.8 kB / 489.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1759, allocations: 0.7083 MB / 490 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.176, allocations: 19.42 kB / 490 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.176, allocations: 0 / 490 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.004514/0.1805, allocations: 1.947 MB / 492 MB, free: 11.34 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45CalcHelperMain.o] Error 1