Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01083/0.01083, allocations: 109.6 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001184/0.001184, allocations: 176.9 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.048/2.048, allocations: 194.6 MB / 211.3 MB, free: 11.19 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2752/0.2752, allocations: 40.04 MB / 296.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007913/0.0007915, allocations: 16 kB / 361.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1705, allocations: 54.89 MB / 416 MB, free: 2.586 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002568/0.1731, allocations: 1.129 MB / 417.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001587/0.1747, allocations: 494.9 kB / 417.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.582e-05/0.1749, allocations: 0 / 417.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.1751, allocations: 51.92 kB / 417.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.1753, allocations: 59.84 kB / 417.7 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002191/0.1775, allocations: 371.2 kB / 418.1 MB, free: 488 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.1778, allocations: 79.89 kB / 418.2 MB, free: 408 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.921e-05/0.1778, allocations: 7.938 kB / 418.2 MB, free: 400 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.178, allocations: 55.81 kB / 418.2 MB, free: 344 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.1782, allocations: 79.83 kB / 418.3 MB, free: 264 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.1783, allocations: 4 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.1788, allocations: 203.8 kB / 418.5 MB, free: 56 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.015e-05/0.179, allocations: 39.89 kB / 418.6 MB, free: 16 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.397e-05/0.1791, allocations: 37.64 kB / 418.6 MB, free: 15.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004347/0.1795, allocations: 195.9 kB / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1795, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1795, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1796, allocations: 0 / 418.8 MB, free: 15.78 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009884/0.1806, allocations: 0.5367 MB / 419.3 MB, free: 15.17 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.1806, allocations: 8.031 kB / 419.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.824e-05/0.1807, allocations: 42.5 kB / 419.4 MB, free: 15.11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.1808, allocations: 19.8 kB / 419.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1809, allocations: 174.9 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.181, allocations: 4 kB / 419.6 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.902e-05/0.181, allocations: 11.98 kB / 419.6 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.1815, allocations: 180.8 kB / 419.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1815, allocations: 0 / 419.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.1816, allocations: 0 / 419.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.1816, allocations: 4 kB / 419.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.1819, allocations: 75.89 kB / 419.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003223/0.1822, allocations: 244.3 kB / 420.1 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.1827, allocations: 186.5 kB / 420.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16e-05/0.1828, allocations: 0 / 420.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005321/0.1833, allocations: 218.5 kB / 420.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.1833, allocations: 0 / 420.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=16): time 0.001294/0.1846, allocations: 397.9 kB / 420.9 MB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/0.1848, allocations: 136.5 kB / 421 MB, free: 13.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002354/0.185, allocations: 186.1 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/0.1851, allocations: 33.7 kB / 421.2 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.148e-05/0.1852, allocations: 104.1 kB / 421.3 MB, free: 12.95 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.1852, allocations: 31.59 kB / 421.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.1853, allocations: 8 kB / 421.3 MB, free: 12.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1854, allocations: 334.8 kB / 421.7 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1856, allocations: 52.22 kB / 421.7 MB, free: 12.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.1858, allocations: 99.8 kB / 421.8 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.186, allocations: 174.8 kB / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.186, allocations: 0 / 422 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006355/0.1867, allocations: 380.1 kB / 422.4 MB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/0.1868, allocations: 130.8 kB / 422.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1868, allocations: 0 / 422.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.1868, allocations: 4 kB / 422.5 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.983e-05/0.1869, allocations: 11.92 kB / 422.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1869, allocations: 3.938 kB / 422.5 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.1871, allocations: 19.84 kB / 422.5 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.1871, allocations: 8 kB / 422.5 MB, free: 11.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002118/0.1873, allocations: 156.4 kB / 422.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.443e-05/0.1874, allocations: 11.91 kB / 422.7 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.334e-05/0.1874, allocations: 24.2 kB / 422.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1875, allocations: 0 / 422.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.007e-05/0.1875, allocations: 4 kB / 422.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.1875, allocations: 3.984 kB / 422.7 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.1878, allocations: 221.4 kB / 423 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.1878, allocations: 0 / 423 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.436e-05/0.1878, allocations: 4 kB / 423 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.1878, allocations: 3.984 kB / 423 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.1879, allocations: 12.25 kB / 423 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.078e-05/0.1879, allocations: 11.95 kB / 423 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1879, allocations: 3.984 kB / 423 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.1889, allocations: 392.5 kB / 423.4 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.477e-05/0.189, allocations: 88.92 kB / 423.5 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.1891, allocations: 8 kB / 423.5 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.1892, allocations: 11.98 kB / 423.5 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.1893, allocations: 15.97 kB / 423.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/0.1894, allocations: 28 kB / 423.5 MB, free: 10.51 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001625/0.1896, allocations: 140 kB / 423.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1896, allocations: 4 kB / 423.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005336/0.1902, allocations: 87.98 kB / 423.7 MB, free: 10.28 MB / 362.7 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,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.001681/0.1919, allocations: 1.209 MB / 425 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000774/0.1927, allocations: 425.4 kB / 425.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1927, allocations: 0 / 425.4 MB, free: 8.559 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.193, allocations: 95.89 kB / 425.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.1932, allocations: 11.95 kB / 425.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002596/0.1958, allocations: 1.585 MB / 427.1 MB, free: 6.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003771/0.1962, allocations: 0.7277 MB / 427.8 MB, free: 6.039 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.632e-05/0.1963, allocations: 8.891 kB / 427.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.1964, allocations: 31.42 kB / 427.8 MB, free: 6 MB / 362.7 MB Notification: Performance of SimCode: time 8.01e-07/0.1964, allocations: 0 / 427.8 MB, free: 6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02468/0.2211, allocations: 3.968 MB / 431.8 MB, free: 2.094 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003726/0.2215, allocations: 158.9 kB / 432 MB, free: 1.859 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/2.917, allocations: 0 / 432 MB, free: 1.859 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat