Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001081/0.001081, allocations: 90.39 kB / 16.67 MB, free: 6.59 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.001161/0.001161, allocations: 178.1 kB / 17.57 MB, free: 6.191 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.904/1.904, allocations: 205.4 MB / 223.8 MB, free: 13.08 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.2886/0.2886, allocations: 43.58 MB / 315.6 MB, free: 416 kB / 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.0007838/0.0007843, allocations: 22.88 kB / 385.2 MB, free: 56.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1687, allocations: 58.86 MB / 444.1 MB, free: 5.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002307/0.1711, allocations: 1.416 MB / 445.5 MB, free: 3.727 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1725, allocations: 0.7769 MB / 446.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.472e-05/0.1726, allocations: 0 / 446.3 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.1729, allocations: 31.84 kB / 446.3 MB, free: 2.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.1731, allocations: 51.81 kB / 446.4 MB, free: 2.859 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.1733, allocations: 75.86 kB / 446.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000173/0.1735, allocations: 87.69 kB / 446.5 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.1736, allocations: 12.23 kB / 446.6 MB, free: 2.688 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.384e-05/0.1737, allocations: 39.78 kB / 446.6 MB, free: 2.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.6e-05/0.1738, allocations: 23.86 kB / 446.6 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.741e-05/0.1738, allocations: 8 kB / 446.6 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.56e-05/0.1739, allocations: 47.91 kB / 446.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.876e-05/0.174, allocations: 15.92 kB / 446.7 MB, free: 2.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.031e-05/0.1741, allocations: 57.45 kB / 446.7 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1742, allocations: 79.86 kB / 446.8 MB, free: 2.414 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.274e-06/0.1742, allocations: 4 kB / 446.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.1743, allocations: 0 / 446.8 MB, free: 2.41 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1743, allocations: 0 / 446.8 MB, free: 2.41 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005208/0.1748, allocations: 395 kB / 447.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1748, allocations: 16.03 kB / 447.2 MB, free: 1.961 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.1749, allocations: 8.844 kB / 447.2 MB, free: 1.953 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001963/0.1751, allocations: 216.9 kB / 447.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.1751, allocations: 4.312 kB / 447.4 MB, free: 1.699 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.1752, allocations: 4.125 kB / 447.5 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1753, allocations: 57.67 kB / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.1753, allocations: 0 / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1754, allocations: 0 / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1754, allocations: 0 / 447.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.79e-05/0.1754, allocations: 19.98 kB / 447.5 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.1758, allocations: 288.8 kB / 447.8 MB, free: 1.281 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.176, allocations: 62.61 kB / 447.9 MB, free: 1.211 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.57e-05/0.176, allocations: 16.86 kB / 447.9 MB, free: 1.191 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.176, allocations: 3.984 kB / 447.9 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001902/0.1762, allocations: 71.39 kB / 448 MB, free: 1.105 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.1762, allocations: 0 / 448 MB, free: 1.105 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005239/0.1768, allocations: 177.1 kB / 448.1 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/0.1768, allocations: 51.41 kB / 448.2 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.177, allocations: 190.1 kB / 448.4 MB, free: 0.668 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.177, allocations: 29.7 kB / 448.4 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/0.177, allocations: 108.1 kB / 448.5 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/0.1771, allocations: 27.64 kB / 448.5 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1771, allocations: 21.7 kB / 448.6 MB, free: 480 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.348e-05/0.1772, allocations: 322.8 kB / 448.9 MB, free: 148 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.1772, allocations: 16 kB / 448.9 MB, free: 132 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.477e-05/0.1773, allocations: 37.7 kB / 448.9 MB, free: 88 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.1774, allocations: 61.7 kB / 449 MB, free: 20 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1774, allocations: 0 / 449 MB, free: 20 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.1776, allocations: 97.53 kB / 449.1 MB, free: 15.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.1777, allocations: 10.03 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.1777, allocations: 0 / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.892e-05/0.1777, allocations: 3.984 kB / 449.1 MB, free: 15.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.23e-05/0.1778, allocations: 12.38 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.1778, allocations: 7.938 kB / 449.1 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.557e-05/0.1779, allocations: 3.938 kB / 449.1 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1779, allocations: 8.188 kB / 449.1 MB, free: 15.88 MB / 334.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 (10): * Single equations (assignments): 10 * 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 0.0001179/0.178, allocations: 136 kB / 449.3 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.1781, allocations: 19.75 kB / 449.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.026e-05/0.1781, allocations: 16.7 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.1781, allocations: 3.938 kB / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.1781, allocations: 0 / 449.3 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.1781, allocations: 3.938 kB / 449.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.1786, allocations: 399.5 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1786, allocations: 0 / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.1786, allocations: 8 kB / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1787, allocations: 0 / 449.7 MB, free: 15.23 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1787, allocations: 11.92 kB / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1787, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1787, allocations: 0 / 449.7 MB, free: 15.21 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.1789, allocations: 204.3 kB / 449.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.764e-05/0.179, allocations: 88.92 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.179, allocations: 3.938 kB / 450 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.194e-05/0.1791, allocations: 11.98 kB / 450 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.532e-05/0.1791, allocations: 4 kB / 450 MB, free: 14.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.462e-05/0.1792, allocations: 4 kB / 450 MB, free: 14.87 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.1793, allocations: 139.2 kB / 450.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1793, allocations: 0 / 450.2 MB, free: 14.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002518/0.1796, allocations: 20 kB / 450.2 MB, free: 14.71 MB / 334.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 (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.001185/0.1808, allocations: 476.1 kB / 450.6 MB, free: 14.33 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001777/0.1809, allocations: 55.91 kB / 450.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.181, allocations: 4.062 kB / 450.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.555e-05/0.181, allocations: 35.92 kB / 450.7 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.1814, allocations: 23.92 kB / 450.8 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005852/0.182, allocations: 276.2 kB / 451 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.1824, allocations: 0.7004 MB / 451.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.143e-05/0.1824, allocations: 15.44 kB / 451.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1824, allocations: 0 / 451.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of Templates: time 0.004534/0.187, allocations: 1.885 MB / 453.6 MB, free: 11.29 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test28CalcHelperMain.o] Error 1