Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.index|integerTable.nextTime|integerTable.y|integerTable2.index|integerTable2.nextTime|integerTable2.y|integerTable3.index|integerTable3.nextTime|integerTable3.y|integerTable4.index|integerTable4.nextTime|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.406/2.406, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 12 kB / 314.9 MB, free: 9.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3334/0.3338, allocations: 54.86 MB / 369.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4759, allocations: 80.33 MB / 450.1 MB, free: 10.31 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.4761, allocations: 67.91 kB / 450.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.4994, allocations: 4.463 MB / 454.7 MB, free: 5.773 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.957e-06/0.4994, allocations: 8 kB / 454.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.4994, allocations: 0 / 454.7 MB, free: 5.766 MB / 378.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.001/0.5005, allocations: 0.56 MB / 455.2 MB, free: 5.133 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.5005, allocations: 8.031 kB / 455.2 MB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.055e-05/0.5006, allocations: 15.86 kB / 455.2 MB, free: 5.109 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.5007, allocations: 186.8 kB / 455.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.5008, allocations: 4 kB / 455.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.915e-05/0.5008, allocations: 8 kB / 455.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004787/0.5013, allocations: 171.2 kB / 455.6 MB, free: 4.691 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5014, allocations: 4 kB / 455.6 MB, free: 4.688 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.5014, allocations: 3.984 kB / 455.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.5014, allocations: 3.938 kB / 455.6 MB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002726/0.5017, allocations: 75.86 kB / 455.7 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003442/0.502, allocations: 268.1 kB / 456 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005323/0.5026, allocations: 186.4 kB / 456.1 MB, free: 4.066 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.5026, allocations: 8 kB / 456.1 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005741/0.5032, allocations: 202.7 kB / 456.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.855e-06/0.5032, allocations: 0 / 456.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001354/0.5046, allocations: 389.9 kB / 456.7 MB, free: 3.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.5047, allocations: 144.5 kB / 456.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.505, allocations: 182.2 kB / 457 MB, free: 3.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.505, allocations: 33.7 kB / 457.1 MB, free: 3.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.369e-05/0.5051, allocations: 166.6 kB / 457.2 MB, free: 2.887 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.5052, allocations: 39.59 kB / 457.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.475e-05/0.5052, allocations: 0 / 457.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.5054, allocations: 326.8 kB / 457.6 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.5056, allocations: 72.2 kB / 457.7 MB, free: 2.445 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002268/0.5058, allocations: 111.9 kB / 457.8 MB, free: 2.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.5061, allocations: 186.8 kB / 458 MB, free: 2.117 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.5061, allocations: 3.938 kB / 458 MB, free: 2.113 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008017/0.5069, allocations: 416.2 kB / 458.4 MB, free: 1.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001195/0.5071, allocations: 126.7 kB / 458.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.5071, allocations: 0 / 458.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.5071, allocations: 0 / 458.5 MB, free: 1.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.031e-05/0.5072, allocations: 11.98 kB / 458.5 MB, free: 1.516 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.5072, allocations: 7.938 kB / 458.5 MB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.5074, allocations: 23.8 kB / 458.5 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.748e-05/0.5075, allocations: 15.98 kB / 458.5 MB, free: 1.469 MB / 378.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.0002337/0.5077, allocations: 148.5 kB / 458.7 MB, free: 1.312 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5078, allocations: 15.81 kB / 458.7 MB, free: 1.297 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.963e-05/0.5078, allocations: 16.23 kB / 458.7 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5079, allocations: 8 kB / 458.7 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.5079, allocations: 0 / 458.7 MB, free: 1.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.5079, allocations: 4.25 kB / 458.7 MB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002699/0.5082, allocations: 225.5 kB / 459 MB, free: 0.9961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.962e-06/0.5082, allocations: 4 kB / 459 MB, free: 0.9922 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.5082, allocations: 7.922 kB / 459 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/0.5082, allocations: 4 kB / 459 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.655e-05/0.5083, allocations: 7.984 kB / 459 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5083, allocations: 0 / 459 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5083, allocations: 0 / 459 MB, free: 0.9727 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009578/0.5093, allocations: 359.3 kB / 459.3 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.298e-05/0.5094, allocations: 88.92 kB / 459.4 MB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.073e-05/0.5094, allocations: 7.938 kB / 459.4 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001717/0.5096, allocations: 27.91 kB / 459.5 MB, free: 464 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.219e-05/0.5097, allocations: 11.98 kB / 459.5 MB, free: 452 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.397e-05/0.5098, allocations: 27.97 kB / 459.5 MB, free: 424 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000165/0.51, allocations: 131.2 kB / 459.6 MB, free: 292 kB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.51, allocations: 0 / 459.6 MB, free: 292 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.000613/0.5106, allocations: 99.88 kB / 459.7 MB, free: 192 kB / 378.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.0005588/0.5112, allocations: 203 kB / 459.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/0.5119, allocations: 423.3 kB / 460.3 MB, free: 15.52 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.5119, allocations: 4 kB / 460.3 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003279/0.5123, allocations: 99.88 kB / 460.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001683/0.5125, allocations: 10.03 kB / 460.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009003/0.5134, allocations: 390.3 kB / 460.8 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.5137, allocations: 0.716 MB / 461.5 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.5137, allocations: 19.38 kB / 461.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of SimCode: time 6.61e-07/0.5138, allocations: 0 / 461.6 MB, free: 14.22 MB / 394.7 MB Notification: Performance of Templates: time 0.006918/0.5207, allocations: 2.658 MB / 464.2 MB, free: 11.56 MB / 394.7 MB