Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008739/0.0008741, allocations: 95.47 kB / 17.64 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 194.2 kB / 18.54 MB, free: 5.148 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 246.6 MB, free: 10.31 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2586/0.2586, allocations: 45.92 MB / 344.7 MB, free: 12.07 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003485/0.0003489, allocations: 15.94 kB / 418.7 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1508, allocations: 63.47 MB / 482.1 MB, free: 5.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.002085/0.1529, allocations: 1.419 MB / 483.6 MB, free: 3.973 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00167/0.1546, allocations: 0.9441 MB / 484.5 MB, free: 3.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.978e-05/0.1547, allocations: 3.938 kB / 484.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.1551, allocations: 39.89 kB / 484.5 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002863/0.1554, allocations: 75.73 kB / 484.6 MB, free: 2.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.1557, allocations: 91.77 kB / 484.7 MB, free: 2.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000166/0.1558, allocations: 83.7 kB / 484.8 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1559, allocations: 19.97 kB / 484.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.862e-05/0.156, allocations: 39.78 kB / 484.8 MB, free: 2.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.366e-05/0.1561, allocations: 31.8 kB / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.1562, allocations: 0 / 484.9 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.449e-05/0.1563, allocations: 35.97 kB / 484.9 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1563, allocations: 19.92 kB / 484.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.175e-05/0.1564, allocations: 37.64 kB / 485 MB, free: 2.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.1565, allocations: 96.08 kB / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1566, allocations: 0 / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1566, allocations: 0 / 485.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1566, allocations: 0 / 485.1 MB, free: 2.453 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.000579/0.1572, allocations: 410.8 kB / 485.5 MB, free: 2.004 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.1572, allocations: 8.031 kB / 485.5 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.172e-05/0.1573, allocations: 7.906 kB / 485.5 MB, free: 1.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002448/0.1575, allocations: 207.5 kB / 485.7 MB, free: 1.746 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1575, allocations: 4 kB / 485.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.1576, allocations: 0 / 485.7 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.1577, allocations: 57.67 kB / 485.7 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1577, allocations: 4 kB / 485.7 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.1578, allocations: 4 kB / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1578, allocations: 0 / 485.7 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.905e-05/0.1578, allocations: 19.92 kB / 485.8 MB, free: 1.652 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003766/0.1582, allocations: 296.8 kB / 486.1 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.1584, allocations: 54.69 kB / 486.1 MB, free: 1.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.884e-05/0.1584, allocations: 24.84 kB / 486.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.1585, allocations: 0 / 486.1 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1587, allocations: 67.33 kB / 486.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.1587, allocations: 0 / 486.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005144/0.1592, allocations: 173.2 kB / 486.4 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.1593, allocations: 63.36 kB / 486.4 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.1595, allocations: 191.4 kB / 486.6 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.1595, allocations: 29.7 kB / 486.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.1596, allocations: 116 kB / 486.8 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/0.1596, allocations: 19.72 kB / 486.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-06/0.1596, allocations: 0 / 486.8 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000219/0.1598, allocations: 322.8 kB / 487.1 MB, free: 208 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.1599, allocations: 19.98 kB / 487.1 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.71e-05/0.16, allocations: 41.7 kB / 487.2 MB, free: 140 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.666e-05/0.16, allocations: 20.19 kB / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1601, allocations: 0 / 487.2 MB, free: 120 kB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001917/0.1603, allocations: 113.3 kB / 487.3 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.1603, allocations: 4.047 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.1603, allocations: 4 kB / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.1604, allocations: 0 / 487.3 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.091e-05/0.1604, allocations: 12 kB / 487.3 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.1605, allocations: 7.875 kB / 487.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.817e-05/0.1605, allocations: 11.98 kB / 487.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.836e-06/0.1605, allocations: 4 kB / 487.3 MB, free: 15.96 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.0001077/0.1606, allocations: 121.8 kB / 487.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/0.1607, allocations: 11.89 kB / 487.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.1607, allocations: 17.41 kB / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1607, allocations: 0 / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1607, allocations: 0 / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.1607, allocations: 0 / 487.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.1612, allocations: 403.3 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1612, allocations: 0 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.005e-05/0.1612, allocations: 8 kB / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1612, allocations: 384 / 487.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.1613, allocations: 11.98 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.1613, allocations: 7.953 kB / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1613, allocations: 0 / 487.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.1615, allocations: 208.2 kB / 488.1 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.314e-05/0.1616, allocations: 89.02 kB / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.1616, allocations: 0 / 488.2 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.651e-05/0.1617, allocations: 7.984 kB / 488.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.503e-05/0.1617, allocations: 7.953 kB / 488.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.1617, allocations: 8 kB / 488.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1618, allocations: 152.2 kB / 488.4 MB, free: 14.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1619, allocations: 7.938 kB / 488.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1621, allocations: 27.89 kB / 488.4 MB, free: 14.78 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.001065/0.1632, allocations: 453.8 kB / 488.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.1634, allocations: 59.91 kB / 488.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1634, allocations: 0 / 488.9 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.911e-05/0.1635, allocations: 35.91 kB / 488.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003234/0.1638, allocations: 27.92 kB / 489 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000491/0.1643, allocations: 279.9 kB / 489.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.1646, allocations: 0.7004 MB / 489.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.1647, allocations: 19.42 kB / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1647, allocations: 0 / 489.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of Templates: time 0.003951/0.1686, allocations: 1.932 MB / 491.9 MB, free: 11.39 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21CalcHelperMain.o] Error 1