Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009879/0.0009882, allocations: 96.83 kB / 16.67 MB, free: 6.25 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.001185/0.001186, allocations: 175.9 kB / 17.57 MB, free: 5.887 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.955/1.955, allocations: 205.4 MB / 223.8 MB, free: 13.07 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.2896/0.2896, allocations: 43.58 MB / 315.6 MB, free: 432 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.0006147/0.000615, allocations: 17.97 kB / 385.2 MB, free: 56.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1578, allocations: 58.86 MB / 444.1 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002894/0.1607, allocations: 1.96 MB / 446 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002824/0.1636, allocations: 1.439 MB / 447.5 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004673/0.1641, allocations: 7.938 kB / 447.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006502/0.1648, allocations: 127.5 kB / 447.6 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007197/0.1655, allocations: 187.3 kB / 447.8 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001747/0.1673, allocations: 0.5746 MB / 448.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008291/0.1681, allocations: 494.6 kB / 448.9 MB, free: 408 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002209/0.1684, allocations: 69.02 kB / 448.9 MB, free: 332 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003885/0.1688, allocations: 199 kB / 449.1 MB, free: 132 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002698/0.1691, allocations: 207.1 kB / 449.3 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.822e-05/0.1691, allocations: 8 kB / 449.3 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003429/0.1695, allocations: 119.7 kB / 449.4 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1696, allocations: 119.6 kB / 449.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002207/0.1699, allocations: 204.5 kB / 449.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004977/0.1704, allocations: 423 kB / 450.2 MB, free: 15.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1704, allocations: 8 kB / 450.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1704, allocations: 0 / 450.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.175e-06/0.1704, allocations: 0 / 450.2 MB, free: 15.05 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001238/0.1717, allocations: 0.805 MB / 451 MB, free: 14.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.1717, allocations: 8.031 kB / 451 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.992e-05/0.1718, allocations: 52.28 kB / 451 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005608/0.1724, allocations: 456.1 kB / 451.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.1724, allocations: 16.61 kB / 451.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.1725, allocations: 20.11 kB / 451.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.173, allocations: 269.3 kB / 451.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.173, allocations: 0 / 451.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.173, allocations: 0 / 451.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.173, allocations: 4 kB / 451.8 MB, free: 13.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002817/0.1733, allocations: 111.9 kB / 451.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001152/0.1745, allocations: 0.8717 MB / 452.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.1751, allocations: 298.5 kB / 453.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002272/0.1754, allocations: 111.4 kB / 453.2 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.1754, allocations: 12.16 kB / 453.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004598/0.1759, allocations: 222.6 kB / 453.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 1.553e-06/0.1759, allocations: 0 / 453.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.000929/0.1768, allocations: 405.7 kB / 453.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002145/0.1771, allocations: 342.1 kB / 454.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007585/0.1778, allocations: 0.6316 MB / 454.8 MB, free: 10.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.1779, allocations: 41.7 kB / 454.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1781, allocations: 220.6 kB / 455 MB, free: 9.816 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.578e-05/0.1782, allocations: 71.17 kB / 455.1 MB, free: 9.746 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.123e-05/0.1782, allocations: 29.7 kB / 455.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.1784, allocations: 362.8 kB / 455.5 MB, free: 9.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002043/0.1787, allocations: 79.95 kB / 455.6 MB, free: 9.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.179, allocations: 253 kB / 455.8 MB, free: 8.961 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004631/0.1795, allocations: 234.6 kB / 456 MB, free: 8.707 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/0.1795, allocations: 0 / 456 MB, free: 8.707 MB / 334.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0005963/0.1801, allocations: 321 kB / 456.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.1801, allocations: 4 kB / 456.4 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1801, allocations: 4 kB / 456.4 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.1802, allocations: 8 kB / 456.4 MB, free: 8.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002566/0.1804, allocations: 59.89 kB / 456.4 MB, free: 8.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1805, allocations: 4 kB / 456.4 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.1806, allocations: 27.83 kB / 456.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/0.1807, allocations: 20.12 kB / 456.5 MB, free: 8.262 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002697/0.181, allocations: 221.6 kB / 456.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.259e-05/0.181, allocations: 55.34 kB / 456.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.1811, allocations: 51.91 kB / 456.8 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1812, allocations: 7.938 kB / 456.8 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.806e-06/0.1812, allocations: 0 / 456.8 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.1812, allocations: 4 kB / 456.8 MB, free: 7.914 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004465/0.1816, allocations: 401.3 kB / 457.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1817, allocations: 0 / 457.2 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001168/0.1818, allocations: 35.91 kB / 457.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1818, allocations: 0 / 457.2 MB, free: 7.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.1818, allocations: 8 kB / 457.2 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/0.1818, allocations: 11.92 kB / 457.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1818, allocations: 0 / 457.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006811/0.1825, allocations: 366.7 kB / 457.6 MB, free: 7.031 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001557/0.1827, allocations: 144.4 kB / 457.8 MB, free: 6.871 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.642e-05/0.1828, allocations: 8 kB / 457.8 MB, free: 6.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001707/0.1829, allocations: 23.92 kB / 457.8 MB, free: 6.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.1831, allocations: 31.95 kB / 457.8 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.013e-05/0.1831, allocations: 19.98 kB / 457.8 MB, free: 6.789 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.1837, allocations: 462.8 kB / 458.3 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1837, allocations: 7.938 kB / 458.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004617/0.1842, allocations: 92 kB / 458.4 MB, free: 6.242 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001266/0.1854, allocations: 467.8 kB / 458.8 MB, free: 5.844 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000569/0.186, allocations: 227.6 kB / 459.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.186, allocations: 256 / 459.1 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002807/0.1863, allocations: 123.9 kB / 459.2 MB, free: 5.5 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.1871, allocations: 131.8 kB / 459.3 MB, free: 5.379 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1887, allocations: 0.9266 MB / 460.2 MB, free: 4.41 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005194/0.1892, allocations: 0.843 MB / 461.1 MB, free: 3.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.1893, allocations: 47.42 kB / 461.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1894, allocations: 0 / 461.1 MB, free: 3.496 MB / 334.1 MB Notification: Performance of Templates: time 0.01248/0.2018, allocations: 6.963 MB / 468.1 MB, free: 12.54 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTableCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1