Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 1.823/1.823, allocations: 209.2 MB / 224.8 MB, free: 212 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007982/0.0007985, allocations: 15.98 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2894, allocations: 48.7 MB / 331.3 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1078/0.3972, allocations: 73.97 MB / 405.2 MB, free: 4.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3974, allocations: 63.91 kB / 405.3 MB, free: 4.418 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02021/0.4177, allocations: 4.454 MB / 409.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.64e-06/0.4177, allocations: 4 kB / 409.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.4177, allocations: 0 / 409.8 MB, free: 15.96 MB / 346.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.0008826/0.4186, allocations: 0.56 MB / 410.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.4187, allocations: 8.031 kB / 410.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.236e-05/0.4188, allocations: 15.89 kB / 410.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.4189, allocations: 178.9 kB / 410.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.67e-05/0.419, allocations: 11.94 kB / 410.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.613e-05/0.419, allocations: 8 kB / 410.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004157/0.4195, allocations: 172.9 kB / 410.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-06/0.4195, allocations: 4 kB / 410.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.4195, allocations: 4 kB / 410.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.968e-06/0.4195, allocations: 0 / 410.7 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002183/0.4198, allocations: 75.89 kB / 410.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.4201, allocations: 260.1 kB / 411 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004657/0.4206, allocations: 192.5 kB / 411.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.4206, allocations: 7.953 kB / 411.2 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004557/0.4211, allocations: 211.8 kB / 411.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 2.598e-06/0.4211, allocations: 0 / 411.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001098/0.4222, allocations: 389.2 kB / 411.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.4223, allocations: 144.5 kB / 412 MB, free: 13.46 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.4226, allocations: 165.3 kB / 412.1 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.692e-05/0.4226, allocations: 33.7 kB / 412.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.4227, allocations: 174.5 kB / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.268e-05/0.4228, allocations: 31.61 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.575e-05/0.4228, allocations: 4 kB / 412.4 MB, free: 13.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.423, allocations: 314.8 kB / 412.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.4232, allocations: 72.19 kB / 412.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.4234, allocations: 115.8 kB / 412.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002644/0.4237, allocations: 198.8 kB / 413 MB, free: 12.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-06/0.4237, allocations: 0 / 413 MB, free: 12.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000736/0.4244, allocations: 408.2 kB / 413.4 MB, free: 11.89 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001038/0.4246, allocations: 119.6 kB / 413.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.162e-06/0.4246, allocations: 4 kB / 413.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4246, allocations: 3.938 kB / 413.6 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.964e-05/0.4247, allocations: 7.984 kB / 413.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.774e-06/0.4247, allocations: 4 kB / 413.6 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001329/0.4248, allocations: 19.84 kB / 413.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.4249, allocations: 16 kB / 413.6 MB, free: 11.69 MB / 346.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.0001938/0.4251, allocations: 157.1 kB / 413.8 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.329e-05/0.4251, allocations: 15.77 kB / 413.8 MB, free: 11.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.4252, allocations: 16.25 kB / 413.8 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-06/0.4252, allocations: 4 kB / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.4252, allocations: 0 / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.235e-06/0.4252, allocations: 4.234 kB / 413.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002598/0.4255, allocations: 221.5 kB / 414 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.922e-06/0.4255, allocations: 15.98 kB / 414 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-06/0.4255, allocations: 0 / 414 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.245e-06/0.4256, allocations: 7.953 kB / 414 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.4256, allocations: 3.984 kB / 414.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.081e-06/0.4256, allocations: 4 kB / 414.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-06/0.4256, allocations: 0 / 414.1 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008005/0.4264, allocations: 396.3 kB / 414.4 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.383e-05/0.4265, allocations: 88.92 kB / 414.5 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.4266, allocations: 8 kB / 414.5 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.4267, allocations: 11.98 kB / 414.5 MB, free: 10.63 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.692e-05/0.4268, allocations: 15.98 kB / 414.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.101e-05/0.4269, allocations: 35.89 kB / 414.6 MB, free: 10.58 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000149/0.427, allocations: 140 kB / 414.7 MB, free: 10.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.427, allocations: 3.938 kB / 414.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005583/0.4276, allocations: 99.88 kB / 414.8 MB, free: 10.34 MB / 346.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.0004373/0.4281, allocations: 195 kB / 415 MB, free: 10.14 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007076/0.4288, allocations: 425.4 kB / 415.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.852e-06/0.4288, allocations: 0 / 415.4 MB, free: 9.68 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.4291, allocations: 103.8 kB / 415.5 MB, free: 9.578 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.4293, allocations: 8 kB / 415.6 MB, free: 9.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.4301, allocations: 386.8 kB / 415.9 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4305, allocations: 0.7238 MB / 416.7 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.4306, allocations: 11.44 kB / 416.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of SimCode: time 1.474e-06/0.4306, allocations: 0 / 416.7 MB, free: 8.383 MB / 346.7 MB Notification: Performance of Templates: time 0.005982/0.4366, allocations: 2.654 MB / 419.3 MB, free: 5.734 MB / 346.7 MB