Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 90.44 kB / 16.66 MB, free: 6.105 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.001372/0.001372, allocations: 176.5 kB / 17.57 MB, free: 5.824 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.922/1.922, allocations: 205.4 MB / 223.8 MB, free: 13.06 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.2802/0.2802, allocations: 43.6 MB / 315.6 MB, free: 420 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.0005569/0.0005569, allocations: 21.36 kB / 385.2 MB, free: 56.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1557, allocations: 58.86 MB / 444.1 MB, free: 5.176 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.002259/0.158, allocations: 1.424 MB / 445.5 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001341/0.1594, allocations: 0.773 MB / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.984e-05/0.1595, allocations: 0 / 446.3 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003504/0.1599, allocations: 31.91 kB / 446.3 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001742/0.1601, allocations: 43.83 kB / 446.4 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002457/0.1603, allocations: 79.23 kB / 446.4 MB, free: 2.809 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1605, allocations: 99.67 kB / 446.5 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000117/0.1606, allocations: 4.234 kB / 446.5 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.519e-05/0.1607, allocations: 39.73 kB / 446.6 MB, free: 2.668 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.1608, allocations: 31.84 kB / 446.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.1608, allocations: 0 / 446.6 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.531e-05/0.1609, allocations: 39.98 kB / 446.7 MB, free: 2.598 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.161, allocations: 19.92 kB / 446.7 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1611, allocations: 61.48 kB / 446.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1612, allocations: 75.83 kB / 446.8 MB, free: 2.438 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1612, allocations: 3.938 kB / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1612, allocations: 0 / 446.8 MB, free: 2.434 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.1612, allocations: 0 / 446.8 MB, free: 2.434 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.0004908/0.1617, allocations: 391.1 kB / 447.2 MB, free: 2.004 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.1618, allocations: 8.031 kB / 447.2 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.547e-05/0.1618, allocations: 8.844 kB / 447.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001861/0.162, allocations: 212.1 kB / 447.4 MB, free: 1.742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.162, allocations: 8.312 kB / 447.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.534e-05/0.1621, allocations: 8.125 kB / 447.4 MB, free: 1.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.1622, allocations: 53.67 kB / 447.5 MB, free: 1.668 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1623, allocations: 3.938 kB / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.103e-05/0.1623, allocations: 0 / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.93e-06/0.1623, allocations: 0 / 447.5 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.464e-05/0.1623, allocations: 19.98 kB / 447.5 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.1627, allocations: 280.9 kB / 447.8 MB, free: 1.32 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.1628, allocations: 62.67 kB / 447.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.676e-05/0.1629, allocations: 20.8 kB / 447.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.1629, allocations: 3.938 kB / 447.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.1631, allocations: 71.39 kB / 447.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1631, allocations: 4 kB / 447.9 MB, free: 1.137 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005023/0.1636, allocations: 169.2 kB / 448.1 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.1637, allocations: 55.41 kB / 448.2 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.1638, allocations: 182 kB / 448.3 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.1638, allocations: 25.7 kB / 448.4 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.104e-05/0.1639, allocations: 96.14 kB / 448.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.1639, allocations: 27.69 kB / 448.5 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.221e-05/0.1639, allocations: 13.72 kB / 448.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.403e-05/0.164, allocations: 330.8 kB / 448.8 MB, free: 208 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.829e-05/0.1641, allocations: 19.98 kB / 448.8 MB, free: 188 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.053e-05/0.1641, allocations: 33.7 kB / 448.9 MB, free: 148 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.27e-05/0.1642, allocations: 65.72 kB / 448.9 MB, free: 76 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1642, allocations: 0 / 448.9 MB, free: 76 kB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.1644, allocations: 97.55 kB / 449 MB, free: 15.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.1644, allocations: 14.19 kB / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1644, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1645, allocations: 0 / 449 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.572e-05/0.1646, allocations: 15.98 kB / 449.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1646, allocations: 4 kB / 449.1 MB, free: 15.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.1646, allocations: 7.938 kB / 449.1 MB, free: 15.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-06/0.1646, allocations: 4 kB / 449.1 MB, free: 15.93 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.0001094/0.1648, allocations: 121.8 kB / 449.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.1648, allocations: 19.8 kB / 449.2 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.1648, allocations: 16.7 kB / 449.2 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1649, allocations: 8.125 kB / 449.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1649, allocations: 0 / 449.2 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1649, allocations: 7.875 kB / 449.3 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.1653, allocations: 383.4 kB / 449.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1654, allocations: 3.938 kB / 449.6 MB, free: 15.3 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.342e-05/0.1654, allocations: 11.98 kB / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.1654, allocations: 4.031 kB / 449.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.1654, allocations: 7.938 kB / 449.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1654, allocations: 0 / 449.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1654, allocations: 0 / 449.7 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002515/0.1657, allocations: 204.2 kB / 449.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.38e-05/0.1658, allocations: 96.91 kB / 449.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.321e-05/0.1658, allocations: 3.938 kB / 450 MB, free: 14.94 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.764e-05/0.1659, allocations: 8.375 kB / 450 MB, free: 14.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.1659, allocations: 11.92 kB / 450 MB, free: 14.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.862e-05/0.1659, allocations: 8 kB / 450 MB, free: 14.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.1661, allocations: 131.2 kB / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1661, allocations: 0 / 450.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002548/0.1663, allocations: 24 kB / 450.1 MB, free: 14.76 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.001125/0.1675, allocations: 463 kB / 450.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001782/0.1677, allocations: 63.89 kB / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1677, allocations: 0 / 450.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.995e-05/0.1677, allocations: 27.98 kB / 450.7 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003788/0.1681, allocations: 28.11 kB / 450.7 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004757/0.1686, allocations: 263.7 kB / 451 MB, free: 13.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.1689, allocations: 0.7082 MB / 451.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.091e-05/0.169, allocations: 19.42 kB / 451.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of SimCode: time 3.71e-07/0.169, allocations: 0 / 451.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of Templates: time 0.004518/0.1735, allocations: 1.849 MB / 453.5 MB, free: 11.39 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test16CalcHelperMain.o] Error 1