Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") translateModel(ModelicaTest.Tables.CombiTimeTable.Test67,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_s.y.1.|d_t_s.y|t_min.y.1.|d_t_min.y|t_h.y.1.|d_t_h.y|t_d.y.1.|d_t_d.y|t_ms.y.1.|d_t_ms.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 102.6 kB / 16.52 MB, free: 6.672 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.001617/0.001617, allocations: 199.4 kB / 17.44 MB, free: 6.059 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.854/1.854, allocations: 205.1 MB / 223.3 MB, free: 12.47 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.2895/0.2895, allocations: 43.52 MB / 314.1 MB, free: 0.7617 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.001523/0.001523, allocations: 74.88 kB / 382.7 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1602, allocations: 57.78 MB / 440.5 MB, free: 7.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test67): time 0.004414/0.1647, allocations: 2.342 MB / 442.8 MB, free: 5.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.1669, allocations: 1.162 MB / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.1671, allocations: 3.938 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007139/0.1678, allocations: 271.3 kB / 444.3 MB, free: 3.703 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000411/0.1683, allocations: 243.1 kB / 444.5 MB, free: 3.465 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006524/0.1689, allocations: 314.8 kB / 444.8 MB, free: 3.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004503/0.1694, allocations: 498.4 kB / 445.3 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.1696, allocations: 57.3 kB / 445.3 MB, free: 2.617 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002615/0.1699, allocations: 211 kB / 445.6 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002737/0.1702, allocations: 258.9 kB / 445.8 MB, free: 2.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.192e-05/0.1702, allocations: 12 kB / 445.8 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1704, allocations: 51.97 kB / 445.9 MB, free: 2.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1705, allocations: 107.5 kB / 446 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001375/0.1706, allocations: 166.7 kB / 446.1 MB, free: 1.824 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002635/0.1709, allocations: 283.5 kB / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1709, allocations: 0 / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1709, allocations: 0 / 446.4 MB, free: 1.547 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.284e-06/0.1709, allocations: 3.938 kB / 446.4 MB, free: 1.543 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001164/0.1721, allocations: 0.7553 MB / 447.2 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/0.1722, allocations: 15.97 kB / 447.2 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.1723, allocations: 56.27 kB / 447.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005355/0.1728, allocations: 396 kB / 447.6 MB, free: 248 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.1729, allocations: 16.36 kB / 447.6 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.789e-05/0.1729, allocations: 20.06 kB / 447.7 MB, free: 212 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.1734, allocations: 207.1 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.1734, allocations: 0 / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.1734, allocations: 4 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.1734, allocations: 4 kB / 447.9 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.1737, allocations: 99.86 kB / 448 MB, free: 15.88 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.175, allocations: 0.8526 MB / 448.8 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007435/0.1758, allocations: 297.2 kB / 449.1 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002365/0.176, allocations: 92.25 kB / 449.2 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.629e-05/0.176, allocations: 4 kB / 449.2 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006695/0.1767, allocations: 231.5 kB / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 1.493e-06/0.1767, allocations: 0 / 449.4 MB, free: 14.26 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002571/0.1793, allocations: 0.9831 MB / 450.4 MB, free: 13.26 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002435/0.1796, allocations: 158.2 kB / 450.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001116/0.1807, allocations: 0.6121 MB / 451.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.027e-05/0.1808, allocations: 37.7 kB / 451.2 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/0.1811, allocations: 221 kB / 451.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.1813, allocations: 122.4 kB / 451.6 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.1814, allocations: 74.12 kB / 451.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0003308/0.1818, allocations: 366.8 kB / 452 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000294/0.1821, allocations: 104.8 kB / 452.1 MB, free: 11.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003436/0.1824, allocations: 188.8 kB / 452.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006239/0.1831, allocations: 302.7 kB / 452.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.1831, allocations: 0 / 452.6 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000912/0.184, allocations: 400.9 kB / 453 MB, free: 10.58 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.1841, allocations: 7.984 kB / 453 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.1841, allocations: 4 kB / 453 MB, free: 10.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.146e-05/0.1841, allocations: 4 kB / 453 MB, free: 10.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.1845, allocations: 88 kB / 453.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.817e-05/0.1845, allocations: 4 kB / 453.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002276/0.1848, allocations: 27.92 kB / 453.1 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.646e-05/0.1848, allocations: 19.98 kB / 453.1 MB, free: 10.43 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.t_s.nextTimeEvent,$whenCondition5,t_s.nextTimeEventScaled,$PRE.t_s.nextTimeEventScaled,t_s.nextTimeEvent,$PRE.t_min.nextTimeEvent,$whenCondition4,t_min.nextTimeEventScaled,$PRE.t_min.nextTimeEventScaled,t_min.nextTimeEvent,$PRE.t_h.nextTimeEvent,$whenCondition3,t_h.nextTimeEventScaled,$PRE.t_h.nextTimeEventScaled,t_h.nextTimeEvent,$PRE.t_d.nextTimeEvent,$whenCondition2,t_d.nextTimeEventScaled,$PRE.t_d.nextTimeEventScaled,t_d.nextTimeEvent,$PRE.t_ms.nextTimeEvent,$whenCondition1,t_ms.nextTimeEventScaled,$PRE.t_ms.nextTimeEventScaled,t_ms.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0003302/0.1852, allocations: 200.4 kB / 453.3 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.1853, allocations: 63.17 kB / 453.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.1855, allocations: 67.91 kB / 453.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.1855, allocations: 8 kB / 453.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/0.1855, allocations: 3.938 kB / 453.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.1855, allocations: 4 kB / 453.5 MB, free: 10.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001962/0.1875, allocations: 1.257 MB / 454.7 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/0.1875, allocations: 4 kB / 454.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1877, allocations: 51.91 kB / 454.8 MB, free: 8.684 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.1877, allocations: 4 kB / 454.8 MB, free: 8.68 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/0.1877, allocations: 19.92 kB / 454.8 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1877, allocations: 4 kB / 454.8 MB, free: 8.656 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.1877, allocations: 12.09 kB / 454.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.189, allocations: 0.8087 MB / 455.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.1891, allocations: 116.5 kB / 455.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.094e-05/0.1892, allocations: 23.92 kB / 455.7 MB, free: 7.648 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.1895, allocations: 15.98 kB / 455.8 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.1896, allocations: 39.95 kB / 455.8 MB, free: 7.594 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.498e-05/0.1897, allocations: 20 kB / 455.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007033/0.1904, allocations: 454.8 kB / 456.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1904, allocations: 0 / 456.3 MB, free: 7.133 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005697/0.191, allocations: 80 kB / 456.3 MB, free: 7.055 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled,$whenCondition2,t_d.nextTimeEvent,t_d.nextTimeEventScaled,$whenCondition3,t_h.nextTimeEvent,t_h.nextTimeEventScaled,$whenCondition4,t_min.nextTimeEvent,t_min.nextTimeEventScaled,$whenCondition5,t_s.nextTimeEvent,t_s.nextTimeEventScaled) * Number of discrete states: 10 (t_s.nextTimeEvent,t_s.nextTimeEventScaled,t_min.nextTimeEvent,t_min.nextTimeEventScaled,t_h.nextTimeEvent,t_h.nextTimeEventScaled,t_d.nextTimeEvent,t_d.nextTimeEventScaled,t_ms.nextTimeEvent,t_ms.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001513/0.1925, allocations: 0.4926 MB / 456.8 MB, free: 6.637 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007428/0.1932, allocations: 287.6 kB / 457.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.1933, allocations: 320 / 457.1 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.1936, allocations: 151.8 kB / 457.3 MB, free: 6.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.1948, allocations: 133.3 kB / 457.4 MB, free: 6.082 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001778/0.1965, allocations: 1.04 MB / 458.4 MB, free: 4.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006197/0.1972, allocations: 0.8476 MB / 459.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000135/0.1973, allocations: 55.41 kB / 459.3 MB, free: 4.051 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1973, allocations: 4 kB / 459.3 MB, free: 4.047 MB / 334.1 MB Notification: Performance of Templates: time 0.01192/0.2093, allocations: 6.278 MB / 465.6 MB, free: 13.78 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67.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.Test67CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test67CalcHelperMain.o] Error 1