Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001413/0.001414, allocations: 102.7 kB / 16.52 MB, free: 6.707 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.001491/0.001491, allocations: 191.3 kB / 17.44 MB, free: 6.055 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.841/1.841, allocations: 205.1 MB / 223.3 MB, free: 12.49 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.2631/0.2631, allocations: 43.5 MB / 314.1 MB, free: 0.7773 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.001489/0.001489, allocations: 65.3 kB / 382.7 MB, free: 57.15 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1578, allocations: 57.79 MB / 440.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.004214/0.1621, allocations: 1.758 MB / 442.2 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001496/0.1636, allocations: 0.7888 MB / 443 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.697e-05/0.1637, allocations: 0 / 443 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003855/0.1641, allocations: 43.83 kB / 443.1 MB, free: 5.039 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002222/0.1644, allocations: 47.83 kB / 443.1 MB, free: 4.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.1647, allocations: 71.86 kB / 443.2 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001819/0.1649, allocations: 95.67 kB / 443.3 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.165, allocations: 8.516 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.482e-05/0.1651, allocations: 35.8 kB / 443.3 MB, free: 4.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.1652, allocations: 35.84 kB / 443.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.1652, allocations: 0 / 443.4 MB, free: 4.75 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001094/0.1653, allocations: 39.92 kB / 443.4 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.1654, allocations: 19.92 kB / 443.4 MB, free: 4.691 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.1655, allocations: 39.72 kB / 443.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.1656, allocations: 83.84 kB / 443.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1657, allocations: 3.984 kB / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.1657, allocations: 0 / 443.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1657, allocations: 3.938 kB / 443.5 MB, free: 4.562 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.0006231/0.1663, allocations: 415 kB / 443.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1664, allocations: 8.031 kB / 444 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.378e-05/0.1664, allocations: 12.83 kB / 444 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002165/0.1666, allocations: 216.6 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/0.1667, allocations: 4.375 kB / 444.2 MB, free: 3.836 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.1667, allocations: 4.125 kB / 444.2 MB, free: 3.832 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.1669, allocations: 57.66 kB / 444.2 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.781e-05/0.1669, allocations: 3.984 kB / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.422e-05/0.1669, allocations: 0 / 444.2 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1669, allocations: 4 kB / 444.3 MB, free: 3.762 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.542e-05/0.167, allocations: 19.98 kB / 444.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003857/0.1674, allocations: 288.8 kB / 444.6 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001864/0.1676, allocations: 54.69 kB / 444.6 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.1677, allocations: 20.84 kB / 444.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.1677, allocations: 4 kB / 444.6 MB, free: 3.32 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000213/0.1679, allocations: 67.39 kB / 444.7 MB, free: 3.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1679, allocations: 3.938 kB / 444.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005831/0.1685, allocations: 177.2 kB / 444.9 MB, free: 3.059 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.1685, allocations: 51.41 kB / 444.9 MB, free: 2.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.1687, allocations: 200.9 kB / 445.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.1687, allocations: 33.64 kB / 445.2 MB, free: 2.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.1688, allocations: 112 kB / 445.3 MB, free: 2.641 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1688, allocations: 19.75 kB / 445.3 MB, free: 2.621 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.1689, allocations: 25.7 kB / 445.3 MB, free: 2.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.1689, allocations: 330.8 kB / 445.6 MB, free: 2.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.169, allocations: 15.98 kB / 445.6 MB, free: 2.242 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.1691, allocations: 33.72 kB / 445.7 MB, free: 2.203 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/0.1692, allocations: 61.7 kB / 445.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.183e-06/0.1692, allocations: 4.312 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000149/0.1693, allocations: 101.5 kB / 445.8 MB, free: 2.027 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1694, allocations: 4 kB / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1694, allocations: 0 / 445.8 MB, free: 2.023 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.926e-05/0.1694, allocations: 4 kB / 445.8 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1695, allocations: 23.94 kB / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1695, allocations: 0 / 445.9 MB, free: 1.996 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.1696, allocations: 11.95 kB / 445.9 MB, free: 1.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.1696, allocations: 4 kB / 445.9 MB, free: 1.98 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 (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 8.592e-05/0.1697, allocations: 129.8 kB / 446 MB, free: 1.844 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.086e-05/0.1697, allocations: 15.8 kB / 446 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/0.1697, allocations: 13.41 kB / 446 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1698, allocations: 4 kB / 446 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1698, allocations: 0 / 446 MB, free: 1.809 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1698, allocations: 3.938 kB / 446.1 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003587/0.1701, allocations: 395.3 kB / 446.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1701, allocations: 0 / 446.4 MB, free: 1.359 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.944e-05/0.1702, allocations: 11.98 kB / 446.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1702, allocations: 0 / 446.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.079e-05/0.1702, allocations: 3.938 kB / 446.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.1702, allocations: 4 kB / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1702, allocations: 0 / 446.5 MB, free: 1.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001848/0.1704, allocations: 208.5 kB / 446.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.1704, allocations: 92.91 kB / 446.8 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1705, allocations: 3.938 kB / 446.8 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.1706, allocations: 4 kB / 446.8 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.1706, allocations: 7.984 kB / 446.8 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.1706, allocations: 4.188 kB / 446.8 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.1707, allocations: 160.8 kB / 446.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 3.938 kB / 446.9 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000238/0.171, allocations: 20 kB / 447 MB, free: 0.8086 MB / 318.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.001241/0.1722, allocations: 478.5 kB / 447.4 MB, free: 436 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002112/0.1725, allocations: 59.97 kB / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1725, allocations: 0 / 447.5 MB, free: 376 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.1725, allocations: 31.92 kB / 447.5 MB, free: 344 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.1729, allocations: 23.98 kB / 447.5 MB, free: 320 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005776/0.1735, allocations: 282.8 kB / 447.8 MB, free: 4 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004411/0.174, allocations: 0.7043 MB / 448.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.337e-05/0.174, allocations: 15.44 kB / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.174, allocations: 0 / 448.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Templates: time 0.004333/0.1784, allocations: 1.924 MB / 450.5 MB, free: 13.34 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23CalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test23CalcHelperMain.o] Error 1