Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.158/2.158, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.908e-05/1.898e-05, allocations: 4 kB / 303.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2728, allocations: 54.85 MB / 358 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1211/0.3939, allocations: 79.59 MB / 437.6 MB, free: 15.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.3942, allocations: 59.97 kB / 437.7 MB, free: 15.1 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02052/0.4147, allocations: 4.432 MB / 442.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4147, allocations: 4 kB / 442.1 MB, free: 10.65 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.559e-06/0.4148, allocations: 0 / 442.1 MB, free: 10.65 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.0008817/0.4157, allocations: 0.5359 MB / 442.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.4157, allocations: 12.03 kB / 442.7 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.127e-05/0.4158, allocations: 15.86 kB / 442.7 MB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.416, allocations: 182.8 kB / 442.9 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.416, allocations: 4 kB / 442.9 MB, free: 9.797 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.91e-05/0.4161, allocations: 8 kB / 442.9 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001536/0.4163, allocations: 59.97 kB / 442.9 MB, free: 9.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.4166, allocations: 157 kB / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.4166, allocations: 0 / 443.1 MB, free: 9.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4166, allocations: 7.938 kB / 443.1 MB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.533e-06/0.4167, allocations: 3.953 kB / 443.1 MB, free: 9.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.417, allocations: 244.8 kB / 443.3 MB, free: 9.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.4173, allocations: 156.5 kB / 443.5 MB, free: 9.074 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.4174, allocations: 79.52 kB / 443.6 MB, free: 8.984 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.038e-05/0.4175, allocations: 3.938 kB / 443.6 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003769/0.4179, allocations: 190.7 kB / 443.8 MB, free: 8.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.952e-06/0.4179, allocations: 4 kB / 443.8 MB, free: 8.766 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.0006572/0.4185, allocations: 281.3 kB / 444 MB, free: 8.484 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.888e-05/0.4187, allocations: 140.5 kB / 444.2 MB, free: 8.316 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4189, allocations: 153.3 kB / 444.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.548e-05/0.4189, allocations: 37.69 kB / 444.4 MB, free: 8.117 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.419, allocations: 166.6 kB / 444.5 MB, free: 7.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.82e-05/0.4191, allocations: 35.5 kB / 444.6 MB, free: 7.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.294e-05/0.4191, allocations: 4 kB / 444.6 MB, free: 7.914 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000174/0.4193, allocations: 326.8 kB / 444.9 MB, free: 7.586 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4195, allocations: 68.2 kB / 444.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.4197, allocations: 99.81 kB / 445 MB, free: 7.406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.42, allocations: 75.94 kB / 445.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.581e-06/0.42, allocations: 0 / 445.1 MB, free: 7.332 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007106/0.4207, allocations: 285.3 kB / 445.4 MB, free: 7.047 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.4209, allocations: 122.8 kB / 445.5 MB, free: 6.902 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.4209, allocations: 4 kB / 445.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.4209, allocations: 192 / 445.5 MB, free: 6.898 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.922e-05/0.421, allocations: 7.984 kB / 445.5 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.149e-06/0.421, allocations: 4 kB / 445.5 MB, free: 6.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000134/0.4211, allocations: 11.91 kB / 445.5 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.198e-05/0.4212, allocations: 19.98 kB / 445.6 MB, free: 6.855 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 () * 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.0001549/0.4214, allocations: 132 kB / 445.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.973e-05/0.4214, allocations: 16.06 kB / 445.7 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.4215, allocations: 24.27 kB / 445.7 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.62e-06/0.4215, allocations: 4 kB / 445.7 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.529e-06/0.4215, allocations: 4 kB / 445.7 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.916e-06/0.4215, allocations: 4 kB / 445.7 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002469/0.4218, allocations: 194.1 kB / 445.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.775e-06/0.4218, allocations: 0 / 445.9 MB, free: 6.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.298e-05/0.4218, allocations: 4 kB / 445.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.1e-06/0.4218, allocations: 0 / 445.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.614e-05/0.4219, allocations: 7.984 kB / 445.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.496e-06/0.4219, allocations: 4 kB / 445.9 MB, free: 6.426 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4219, allocations: 7.938 kB / 445.9 MB, free: 6.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006227/0.4225, allocations: 360.4 kB / 446.3 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.4226, allocations: 92.92 kB / 446.4 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.4227, allocations: 8 kB / 446.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4228, allocations: 15.97 kB / 446.4 MB, free: 5.887 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.71e-05/0.4229, allocations: 15.94 kB / 446.4 MB, free: 5.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-05/0.423, allocations: 31.91 kB / 446.5 MB, free: 5.84 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001367/0.4231, allocations: 127.2 kB / 446.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.347e-06/0.4232, allocations: 0 / 446.6 MB, free: 5.715 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.4237, allocations: 91.86 kB / 446.7 MB, free: 5.625 MB / 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) * 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.0004569/0.4242, allocations: 199.9 kB / 446.9 MB, free: 5.418 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005634/0.4248, allocations: 405.4 kB / 447.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.954e-06/0.4248, allocations: 0 / 447.3 MB, free: 4.973 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001774/0.425, allocations: 83.91 kB / 447.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.4252, allocations: 4 kB / 447.4 MB, free: 4.887 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006249/0.4258, allocations: 285.6 kB / 447.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004153/0.4263, allocations: 0.7274 MB / 448.4 MB, free: 3.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.4263, allocations: 11.44 kB / 448.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of SimCode: time 1.64e-06/0.4263, allocations: 0 / 448.4 MB, free: 3.809 MB / 378.7 MB Notification: Performance of Templates: time 0.006162/0.4325, allocations: 2.678 MB / 451 MB, free: 1.137 MB / 378.7 MB