Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009463/0.0009463, allocations: 95.11 kB / 18 MB, free: 5.602 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.001095/0.001095, allocations: 180.9 kB / 18.91 MB, free: 4.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.3 MB / 242.9 MB, free: 14.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2635/0.2635, allocations: 44.24 MB / 338.3 MB, free: 2.461 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004869, allocations: 15.98 kB / 411 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1507, allocations: 61.92 MB / 472.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002563/0.1533, allocations: 1.437 MB / 474.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001606/0.1549, allocations: 0.846 MB / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1551, allocations: 0 / 475.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004086/0.1555, allocations: 103.7 kB / 475.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002373/0.1557, allocations: 83.77 kB / 475.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.156, allocations: 95.2 kB / 475.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.1562, allocations: 123.6 kB / 475.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1563, allocations: 15.98 kB / 475.6 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.257e-05/0.1564, allocations: 51.77 kB / 475.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001213/0.1566, allocations: 59.81 kB / 475.7 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.015e-05/0.1566, allocations: 7.938 kB / 475.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.1567, allocations: 51.97 kB / 475.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.447e-05/0.1568, allocations: 27.91 kB / 475.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.486e-05/0.1569, allocations: 73.33 kB / 475.9 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.1571, allocations: 112 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.1571, allocations: 0 / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1571, allocations: 3.938 kB / 476 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.1571, allocations: 0 / 476 MB, free: 10.2 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005631/0.1577, allocations: 430.8 kB / 476.4 MB, free: 9.727 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1577, allocations: 8.031 kB / 476.4 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.1578, allocations: 12.84 kB / 476.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.158, allocations: 219.8 kB / 476.6 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/0.158, allocations: 12.31 kB / 476.7 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.76e-05/0.1581, allocations: 12.03 kB / 476.7 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.1582, allocations: 69.66 kB / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.1583, allocations: 0 / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1583, allocations: 0 / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.1583, allocations: 0 / 476.7 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.1584, allocations: 35.97 kB / 476.8 MB, free: 9.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004174/0.1588, allocations: 320.7 kB / 477.1 MB, free: 8.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.1591, allocations: 66.55 kB / 477.1 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.354e-05/0.1592, allocations: 28.84 kB / 477.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.1592, allocations: 4 kB / 477.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.1594, allocations: 71.42 kB / 477.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.413e-06/0.1594, allocations: 4 kB / 477.3 MB, free: 8.762 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000818/0.1602, allocations: 281.5 kB / 477.5 MB, free: 8.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.006e-05/0.1603, allocations: 59.33 kB / 477.6 MB, free: 8.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/0.1605, allocations: 243.2 kB / 477.8 MB, free: 8.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.1606, allocations: 29.7 kB / 477.9 MB, free: 8.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.52e-05/0.1606, allocations: 112.1 kB / 478 MB, free: 8.012 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.1607, allocations: 39.45 kB / 478 MB, free: 7.973 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.1607, allocations: 17.7 kB / 478 MB, free: 7.949 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.1609, allocations: 334.8 kB / 478.3 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.368e-05/0.1609, allocations: 31.98 kB / 478.4 MB, free: 7.582 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.161, allocations: 45.7 kB / 478.4 MB, free: 7.531 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.1612, allocations: 93.69 kB / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1612, allocations: 0 / 478.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002334/0.1615, allocations: 149.4 kB / 478.7 MB, free: 7.281 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1615, allocations: 8 kB / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.1615, allocations: 0 / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.1615, allocations: 0 / 478.7 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.682e-05/0.1616, allocations: 23.98 kB / 478.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1616, allocations: 7.875 kB / 478.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.697e-05/0.1617, allocations: 4 kB / 478.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.1617, allocations: 8 kB / 478.7 MB, free: 7.23 MB / 350.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 (14): * Single equations (assignments): 14 * 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.0001097/0.1618, allocations: 138.3 kB / 478.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.481e-05/0.1618, allocations: 23.81 kB / 478.9 MB, free: 7.062 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.055e-05/0.1619, allocations: 21.41 kB / 478.9 MB, free: 7.043 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1619, allocations: 4 kB / 478.9 MB, free: 7.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1619, allocations: 3.938 kB / 478.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1619, allocations: 3.984 kB / 478.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.1624, allocations: 479.9 kB / 479.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.1625, allocations: 8.062 kB / 479.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.867e-05/0.1625, allocations: 15.98 kB / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.1625, allocations: 0 / 479.4 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/0.1625, allocations: 7.938 kB / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.1626, allocations: 0 / 479.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1626, allocations: 4 kB / 479.4 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.1628, allocations: 248.9 kB / 479.6 MB, free: 6.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.109e-05/0.1629, allocations: 92.92 kB / 479.7 MB, free: 6.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.1629, allocations: 7.984 kB / 479.7 MB, free: 6.082 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.163, allocations: 8 kB / 479.8 MB, free: 6.074 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.241e-05/0.163, allocations: 7.984 kB / 479.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.1631, allocations: 4 kB / 479.8 MB, free: 6.062 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001503/0.1632, allocations: 188.2 kB / 479.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1632, allocations: 0 / 479.9 MB, free: 5.879 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.1635, allocations: 35.98 kB / 480 MB, free: 5.844 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001232/0.1648, allocations: 0.5108 MB / 480.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002192/0.165, allocations: 87.91 kB / 480.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.165, allocations: 3.938 kB / 480.6 MB, free: 5.445 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.313e-05/0.1651, allocations: 47.92 kB / 480.6 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003666/0.1655, allocations: 32.28 kB / 480.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005921/0.1661, allocations: 381.5 kB / 481 MB, free: 4.953 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002881/0.1664, allocations: 0.7204 MB / 481.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.561e-05/0.1664, allocations: 15.44 kB / 481.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1664, allocations: 0 / 481.8 MB, free: 4.191 MB / 350.1 MB Notification: Performance of Templates: time 0.004634/0.1711, allocations: 2.346 MB / 484.1 MB, free: 1.852 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8CalcHelperMain.o] Error 1