Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008096/0.000814, allocations: 94.03 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.0009107/0.0009108, allocations: 198.5 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.458/1.458, allocations: 227.3 MB / 246.6 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2287/0.2287, allocations: 45.91 MB / 344.7 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002908/0.000291, allocations: 12 kB / 418.7 MB, free: 20.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1587, allocations: 63.47 MB / 482.1 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.00251/0.1612, allocations: 1.431 MB / 483.6 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1631, allocations: 0.9558 MB / 484.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.1632, allocations: 0 / 484.5 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003814/0.1636, allocations: 83.77 kB / 484.6 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002927/0.1639, allocations: 91.7 kB / 484.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002815/0.1642, allocations: 103.3 kB / 484.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1644, allocations: 99.67 kB / 484.9 MB, free: 2.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1645, allocations: 11.98 kB / 484.9 MB, free: 2.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.748e-05/0.1646, allocations: 47.78 kB / 484.9 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001044/0.1647, allocations: 43.83 kB / 485 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.1647, allocations: 4 kB / 485 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1648, allocations: 55.91 kB / 485 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.237e-05/0.1649, allocations: 23.92 kB / 485.1 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.165, allocations: 45.62 kB / 485.1 MB, free: 2.438 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.1651, allocations: 104 kB / 485.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1652, allocations: 0 / 485.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.1652, allocations: 0 / 485.2 MB, free: 2.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.1652, allocations: 0 / 485.2 MB, free: 2.336 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005983/0.1658, allocations: 414.9 kB / 485.6 MB, free: 1.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.1658, allocations: 11.97 kB / 485.6 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1659, allocations: 15.81 kB / 485.6 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002791/0.1662, allocations: 215.3 kB / 485.9 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.1662, allocations: 4 kB / 485.9 MB, free: 1.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.1663, allocations: 11.94 kB / 485.9 MB, free: 1.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.1664, allocations: 61.66 kB / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.1665, allocations: 0 / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1665, allocations: 0 / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.1665, allocations: 0 / 485.9 MB, free: 1.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.1666, allocations: 23.98 kB / 486 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.1671, allocations: 308.7 kB / 486.3 MB, free: 1.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002905/0.1674, allocations: 62.48 kB / 486.3 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.218e-05/0.1675, allocations: 20.98 kB / 486.3 MB, free: 1.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.1675, allocations: 8.062 kB / 486.3 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001958/0.1677, allocations: 71.38 kB / 486.4 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.793e-06/0.1677, allocations: 3.938 kB / 486.4 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007893/0.1685, allocations: 241.5 kB / 486.7 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.1686, allocations: 55.34 kB / 486.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002445/0.1688, allocations: 220.3 kB / 486.9 MB, free: 432 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.1689, allocations: 29.7 kB / 487 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.169, allocations: 112 kB / 487.1 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.386e-05/0.169, allocations: 35.53 kB / 487.1 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.975e-06/0.169, allocations: 8 kB / 487.1 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.1692, allocations: 322.8 kB / 487.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.028e-05/0.1693, allocations: 31.98 kB / 487.5 MB, free: 15.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.1694, allocations: 45.7 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.1695, allocations: 31.98 kB / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.1695, allocations: 0 / 487.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002323/0.1697, allocations: 137.4 kB / 487.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.1698, allocations: 4 kB / 487.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1698, allocations: 0 / 487.7 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1698, allocations: 4 kB / 487.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.551e-05/0.1699, allocations: 19.95 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.1699, allocations: 0 / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.374e-05/0.17, allocations: 7.984 kB / 487.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.17, allocations: 4 kB / 487.7 MB, free: 15.61 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 (13): * Single equations (assignments): 13 * 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.0001496/0.1701, allocations: 144.5 kB / 487.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.1702, allocations: 15.94 kB / 487.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.299e-05/0.1702, allocations: 17.41 kB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.1702, allocations: 0 / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.1703, allocations: 3.953 kB / 487.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.1703, allocations: 4 kB / 487.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006262/0.1709, allocations: 451.9 kB / 488.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1709, allocations: 4.062 kB / 488.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.171, allocations: 15.98 kB / 488.3 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.171, allocations: 7.953 kB / 488.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.171, allocations: 0 / 488.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.171, allocations: 4 kB / 488.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.282e-06/0.171, allocations: 4 kB / 488.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.1714, allocations: 236.9 kB / 488.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.458e-05/0.1714, allocations: 92.92 kB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.547e-05/0.1715, allocations: 7.953 kB / 488.7 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.703e-05/0.1716, allocations: 7.984 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.1716, allocations: 4 kB / 488.7 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/0.1717, allocations: 11.98 kB / 488.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001808/0.1719, allocations: 161.2 kB / 488.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1719, allocations: 0 / 488.9 MB, free: 14.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002869/0.1722, allocations: 35.98 kB / 488.9 MB, free: 14.3 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 (11): * Single equations (assignments): 9 * 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.001255/0.1734, allocations: 0.5037 MB / 489.4 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002091/0.1736, allocations: 75.91 kB / 489.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1736, allocations: 0 / 489.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.833e-05/0.1737, allocations: 39.92 kB / 489.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003643/0.1741, allocations: 27.36 kB / 489.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006137/0.1747, allocations: 337.4 kB / 489.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000341/0.1751, allocations: 0.7082 MB / 490.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.161e-05/0.1751, allocations: 19.44 kB / 490.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1751, allocations: 0 / 490.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of Templates: time 0.004605/0.1798, allocations: 2.214 MB / 492.8 MB, free: 10.51 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4CalcHelperMain.o] Error 1