Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001303, allocations: 104.1 kB / 16.52 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001527/0.001527, allocations: 195.2 kB / 17.44 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.856/1.856, allocations: 205.1 MB / 223.3 MB, free: 12.4 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2672/0.2672, allocations: 43.51 MB / 314.1 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001938/0.001938, allocations: 71.58 kB / 382.7 MB, free: 56.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1601, allocations: 57.79 MB / 440.5 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.004359/0.1645, allocations: 1.704 MB / 442.2 MB, free: 5.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.1658, allocations: 0.7772 MB / 443 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1659, allocations: 0 / 443 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004147/0.1664, allocations: 63.78 kB / 443 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002133/0.1666, allocations: 59.81 kB / 443.1 MB, free: 4.898 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.1668, allocations: 75.34 kB / 443.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.167, allocations: 91.69 kB / 443.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.912e-05/0.1671, allocations: 8 kB / 443.3 MB, free: 4.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.1672, allocations: 43.78 kB / 443.3 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1673, allocations: 43.83 kB / 443.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1673, allocations: 0 / 443.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.179e-05/0.1674, allocations: 27.92 kB / 443.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.149e-05/0.1675, allocations: 23.91 kB / 443.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.987e-05/0.1676, allocations: 27.81 kB / 443.4 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001601/0.1677, allocations: 72.12 kB / 443.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.1678, allocations: 0 / 443.5 MB, free: 4.496 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1678, allocations: 4 kB / 443.5 MB, free: 4.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.274e-05/0.1678, allocations: 0 / 443.5 MB, free: 4.492 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000699/0.1685, allocations: 410.9 kB / 443.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.1685, allocations: 8.031 kB / 443.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.1686, allocations: 8.844 kB / 443.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.1689, allocations: 209.1 kB / 444.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.1689, allocations: 384 / 444.1 MB, free: 3.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.169, allocations: 8.062 kB / 444.1 MB, free: 3.777 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.1692, allocations: 53.67 kB / 444.2 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1692, allocations: 4 kB / 444.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.1692, allocations: 0 / 444.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.1692, allocations: 0 / 444.2 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.742e-05/0.1693, allocations: 15.98 kB / 444.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002342/0.1695, allocations: 177.7 kB / 444.4 MB, free: 3.477 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1697, allocations: 54.55 kB / 444.4 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.602e-05/0.1698, allocations: 28.8 kB / 444.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.1698, allocations: 0 / 444.4 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002412/0.1701, allocations: 67.39 kB / 444.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.1701, allocations: 0 / 444.5 MB, free: 3.305 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003131/0.1704, allocations: 97.5 kB / 444.6 MB, free: 3.203 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1705, allocations: 55.41 kB / 444.7 MB, free: 3.137 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1706, allocations: 190 kB / 444.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1706, allocations: 29.7 kB / 444.9 MB, free: 2.906 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1707, allocations: 100.1 kB / 445 MB, free: 2.805 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.1707, allocations: 7.906 kB / 445 MB, free: 2.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.518e-05/0.1708, allocations: 25.64 kB / 445 MB, free: 2.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.68e-05/0.1709, allocations: 326.8 kB / 445.3 MB, free: 2.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.866e-05/0.1709, allocations: 12 kB / 445.3 MB, free: 2.426 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.181e-05/0.171, allocations: 29.7 kB / 445.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.848e-05/0.1711, allocations: 49.64 kB / 445.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1711, allocations: 0 / 445.4 MB, free: 2.336 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001398/0.1712, allocations: 77.53 kB / 445.5 MB, free: 2.254 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1713, allocations: 8 kB / 445.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1713, allocations: 0 / 445.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1713, allocations: 0 / 445.5 MB, free: 2.246 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.707e-05/0.1714, allocations: 15.92 kB / 445.5 MB, free: 2.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.1714, allocations: 8.188 kB / 445.5 MB, free: 2.223 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.278e-05/0.1715, allocations: 7.844 kB / 445.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.1715, allocations: 4 kB / 445.5 MB, free: 2.211 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.881e-05/0.1716, allocations: 133.7 kB / 445.7 MB, free: 2.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.021e-05/0.1716, allocations: 11.89 kB / 445.7 MB, free: 2.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1716, allocations: 16.3 kB / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1717, allocations: 0 / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1717, allocations: 0 / 445.7 MB, free: 2.043 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1717, allocations: 4 kB / 445.7 MB, free: 2.039 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.1718, allocations: 185.9 kB / 445.9 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1718, allocations: 3.984 kB / 445.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.897e-05/0.1718, allocations: 8 kB / 445.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.1719, allocations: 0 / 445.9 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.354e-05/0.1719, allocations: 11.94 kB / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1719, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1719, allocations: 0 / 445.9 MB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.1721, allocations: 108.9 kB / 446 MB, free: 1.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.47e-05/0.1721, allocations: 92.92 kB / 446.1 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.434e-05/0.1721, allocations: 4 kB / 446.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.214e-05/0.1722, allocations: 0 / 446.1 MB, free: 1.547 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/0.1722, allocations: 7.984 kB / 446.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.1723, allocations: 0 / 446.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001134/0.1724, allocations: 143.2 kB / 446.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1724, allocations: 0 / 446.2 MB, free: 1.398 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002101/0.1726, allocations: 20 kB / 446.3 MB, free: 1.379 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001078/0.1737, allocations: 416 kB / 446.7 MB, free: 1.043 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.1739, allocations: 39.92 kB / 446.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1739, allocations: 0 / 446.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.379e-05/0.1739, allocations: 23.98 kB / 446.7 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.1742, allocations: 23.92 kB / 446.8 MB, free: 0.957 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004924/0.1747, allocations: 245.5 kB / 447 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002627/0.175, allocations: 0.6966 MB / 447.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.148e-05/0.1751, allocations: 19.38 kB / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1751, allocations: 0 / 447.7 MB, free: 15.95 MB / 334.1 MB Notification: Performance of Templates: time 0.003927/0.179, allocations: 1.672 MB / 449.4 MB, free: 14.28 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test37CalcHelperMain.o] Error 1