Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008585/0.0008586, allocations: 94.66 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.0009028/0.0009028, allocations: 198 kB / 18.54 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.563/1.563, allocations: 227.3 MB / 246.6 MB, free: 10.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2292/0.2292, allocations: 45.91 MB / 344.7 MB, free: 12.03 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003036/0.0003036, allocations: 8 kB / 418.7 MB, free: 20.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1662, allocations: 63.47 MB / 482.1 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002244/0.1685, allocations: 1.419 MB / 483.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001565/0.1701, allocations: 0.9441 MB / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.297e-05/0.1702, allocations: 0 / 484.5 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.1705, allocations: 39.78 kB / 484.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.1708, allocations: 75.75 kB / 484.6 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.1711, allocations: 91.81 kB / 484.7 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.1713, allocations: 87.69 kB / 484.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.1714, allocations: 12 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.1715, allocations: 39.78 kB / 484.8 MB, free: 2.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.837e-05/0.1716, allocations: 35.78 kB / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.1716, allocations: 0 / 484.9 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.638e-05/0.1717, allocations: 31.98 kB / 484.9 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.752e-05/0.1718, allocations: 19.92 kB / 484.9 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.1718, allocations: 41.64 kB / 485 MB, free: 2.504 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.172, allocations: 88.09 kB / 485 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.172, allocations: 0 / 485 MB, free: 2.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.172, allocations: 3.938 kB / 485.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.172, allocations: 0 / 485.1 MB, free: 2.414 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.0006745/0.1727, allocations: 406.8 kB / 485.5 MB, free: 1.969 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1727, allocations: 8.031 kB / 485.5 MB, free: 1.961 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.598e-05/0.1728, allocations: 7.906 kB / 485.5 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1731, allocations: 219.5 kB / 485.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.622e-05/0.1731, allocations: 4 kB / 485.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.044e-05/0.1731, allocations: 0 / 485.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.1733, allocations: 57.66 kB / 485.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1733, allocations: 0 / 485.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1733, allocations: 4 kB / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1733, allocations: 0 / 485.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.371e-05/0.1734, allocations: 15.98 kB / 485.8 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.1739, allocations: 296.8 kB / 486 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001632/0.174, allocations: 58.61 kB / 486.1 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.079e-05/0.1741, allocations: 20.84 kB / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.1741, allocations: 0 / 486.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.1743, allocations: 67.39 kB / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.383e-06/0.1743, allocations: 0 / 486.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005666/0.1749, allocations: 173.2 kB / 486.4 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.175, allocations: 59.36 kB / 486.4 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001869/0.1752, allocations: 187.4 kB / 486.6 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1752, allocations: 29.7 kB / 486.6 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.1753, allocations: 112.1 kB / 486.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.053e-05/0.1753, allocations: 23.7 kB / 486.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.25e-06/0.1753, allocations: 4 kB / 486.8 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.1755, allocations: 326.8 kB / 487.1 MB, free: 168 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.637e-05/0.1756, allocations: 19.92 kB / 487.1 MB, free: 148 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.001e-05/0.1757, allocations: 37.7 kB / 487.1 MB, free: 104 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.527e-05/0.1758, allocations: 24 kB / 487.2 MB, free: 80 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1758, allocations: 0 / 487.2 MB, free: 80 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002485/0.176, allocations: 105.5 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.1761, allocations: 4 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1761, allocations: 4 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.1761, allocations: 0 / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.1762, allocations: 15.94 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.1763, allocations: 192 / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.1763, allocations: 15.94 kB / 487.3 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.1764, allocations: 7.938 kB / 487.3 MB, free: 15.92 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.0001379/0.1765, allocations: 117.8 kB / 487.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.1765, allocations: 16.22 kB / 487.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.178e-05/0.1766, allocations: 21.39 kB / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.1766, allocations: 0 / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.1766, allocations: 0 / 487.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1766, allocations: 4 kB / 487.5 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005778/0.1772, allocations: 403.4 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-06/0.1773, allocations: 3.984 kB / 487.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.03e-05/0.1773, allocations: 8 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1773, allocations: 4.031 kB / 487.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.1773, allocations: 4 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.1773, allocations: 3.953 kB / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1774, allocations: 0 / 487.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.1776, allocations: 204.2 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.988e-05/0.1777, allocations: 89 kB / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.771e-05/0.1777, allocations: 0 / 488.2 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.1778, allocations: 15.94 kB / 488.2 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.535e-05/0.1779, allocations: 11.94 kB / 488.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1779, allocations: 4 kB / 488.2 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.178, allocations: 152.2 kB / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.178, allocations: 0 / 488.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002648/0.1783, allocations: 27.91 kB / 488.4 MB, free: 14.75 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.001129/0.1794, allocations: 465.6 kB / 488.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001668/0.1796, allocations: 55.92 kB / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1796, allocations: 0 / 488.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.479e-05/0.1797, allocations: 23.98 kB / 488.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003428/0.1801, allocations: 31.48 kB / 488.9 MB, free: 14.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.1805, allocations: 275.8 kB / 489.2 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002956/0.1809, allocations: 0.7083 MB / 489.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.1809, allocations: 15.44 kB / 489.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1809, allocations: 0 / 489.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of Templates: time 0.004203/0.1851, allocations: 1.921 MB / 491.9 MB, free: 11.37 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31.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.Test31CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.o] Error 1