Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008816/0.0008817, allocations: 88.16 kB / 17.63 MB, free: 6.293 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.0008819/0.0008819, allocations: 180.2 kB / 18.52 MB, free: 5.445 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.47/1.47, allocations: 223.2 MB / 242.5 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2202/0.2202, allocations: 44.22 MB / 337.9 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.0003501, allocations: 12.81 kB / 410.3 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1501, allocations: 61.92 MB / 472.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.002362/0.1525, allocations: 1.562 MB / 473.8 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001485/0.154, allocations: 0.905 MB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1541, allocations: 7.938 kB / 474.7 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003789/0.1545, allocations: 147.7 kB / 474.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.1548, allocations: 115.6 kB / 474.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.1552, allocations: 150.4 kB / 475.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002708/0.1555, allocations: 195.3 kB / 475.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.1556, allocations: 29.61 kB / 475.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.1557, allocations: 91.61 kB / 475.4 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1559, allocations: 111.6 kB / 475.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.177e-05/0.1559, allocations: 4 kB / 475.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.1561, allocations: 51.98 kB / 475.5 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1561, allocations: 43.81 kB / 475.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.1562, allocations: 61.52 kB / 475.6 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.1564, allocations: 151.9 kB / 475.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.1564, allocations: 0 / 475.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1565, allocations: 4 kB / 475.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.1565, allocations: 0 / 475.8 MB, free: 10.11 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007386/0.1572, allocations: 0.4904 MB / 476.3 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1573, allocations: 12.03 kB / 476.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.526e-05/0.1573, allocations: 19.72 kB / 476.3 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.1577, allocations: 270.4 kB / 476.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.1577, allocations: 0 / 476.6 MB, free: 9.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.031e-05/0.1578, allocations: 12 kB / 476.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.1581, allocations: 115.3 kB / 476.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1581, allocations: 0 / 476.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.1581, allocations: 0 / 476.7 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.1582, allocations: 4 kB / 476.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001368/0.1583, allocations: 47.91 kB / 476.8 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006526/0.159, allocations: 468.8 kB / 477.2 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003647/0.1593, allocations: 125.1 kB / 477.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.828e-05/0.1594, allocations: 37.83 kB / 477.4 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.309e-05/0.1595, allocations: 12 kB / 477.4 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003037/0.1598, allocations: 124.9 kB / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.1598, allocations: 0 / 477.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001277/0.1611, allocations: 493 kB / 478 MB, free: 7.711 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.1612, allocations: 81.06 kB / 478.1 MB, free: 7.613 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003947/0.1616, allocations: 355 kB / 478.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.904e-05/0.1616, allocations: 33.7 kB / 478.5 MB, free: 7.215 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.1617, allocations: 144.5 kB / 478.6 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.659e-05/0.1618, allocations: 67.09 kB / 478.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.1618, allocations: 0 / 478.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.162, allocations: 342.8 kB / 479 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.1621, allocations: 59.98 kB / 479.1 MB, free: 6.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001348/0.1623, allocations: 99.27 kB / 479.1 MB, free: 6.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.1624, allocations: 63.94 kB / 479.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1624, allocations: 0 / 479.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000375/0.1628, allocations: 229.1 kB / 479.4 MB, free: 6.199 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1628, allocations: 8 kB / 479.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1629, allocations: 0 / 479.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.1629, allocations: 0 / 479.4 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.163, allocations: 47.92 kB / 479.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.163, allocations: 7.953 kB / 479.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.1631, allocations: 11.98 kB / 479.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.1632, allocations: 4 kB / 479.5 MB, free: 6.121 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/0.1633, allocations: 170.3 kB / 479.7 MB, free: 5.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.619e-05/0.1634, allocations: 27.62 kB / 479.7 MB, free: 5.918 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.089e-05/0.1634, allocations: 33.73 kB / 479.7 MB, free: 5.883 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.1635, allocations: 4 kB / 479.7 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1635, allocations: 3.984 kB / 479.7 MB, free: 5.875 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.1635, allocations: 3.953 kB / 479.8 MB, free: 5.871 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008723/0.1644, allocations: 0.7155 MB / 480.5 MB, free: 5.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.1644, allocations: 7.953 kB / 480.5 MB, free: 5.078 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.378e-05/0.1645, allocations: 20 kB / 480.5 MB, free: 5.059 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1645, allocations: 4 kB / 480.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.1645, allocations: 11.98 kB / 480.5 MB, free: 5.043 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.521e-06/0.1645, allocations: 7.938 kB / 480.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1645, allocations: 128 / 480.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.165, allocations: 416.8 kB / 480.9 MB, free: 4.602 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.1651, allocations: 104.7 kB / 481 MB, free: 4.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.137e-05/0.1651, allocations: 15.98 kB / 481 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.1652, allocations: 12 kB / 481.1 MB, free: 4.453 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.692e-05/0.1653, allocations: 23.97 kB / 481.1 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1653, allocations: 8 kB / 481.1 MB, free: 4.422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002675/0.1656, allocations: 265.9 kB / 481.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1656, allocations: 0 / 481.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003515/0.166, allocations: 47.98 kB / 481.4 MB, free: 4.117 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.1673, allocations: 0.5124 MB / 481.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.1676, allocations: 155.8 kB / 482.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.107e-06/0.1676, allocations: 0 / 482.1 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.1678, allocations: 87.72 kB / 482.1 MB, free: 3.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005274/0.1683, allocations: 66.67 kB / 482.2 MB, free: 3.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009725/0.1693, allocations: 0.5366 MB / 482.7 MB, free: 2.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.1697, allocations: 0.7599 MB / 483.5 MB, free: 2.133 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.1698, allocations: 31.44 kB / 483.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1698, allocations: 0 / 483.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of Templates: time 0.00604/0.1758, allocations: 3.474 MB / 487 MB, free: 14.64 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.o OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test77CalcHelperMain.o] Error 1