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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.063e-05/4.089e-05, allocations: 4 kB / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.406, allocations: 54.85 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.5742, allocations: 80.26 MB / 444.9 MB, free: 112 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/0.5744, allocations: 60.77 kB / 444.9 MB, free: 52 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02386/0.5983, allocations: 4.441 MB / 449.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5984, allocations: 0 / 449.4 MB, free: 11.63 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.5984, allocations: 4 kB / 449.4 MB, free: 11.63 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.001017/0.5994, allocations: 0.5437 MB / 449.9 MB, free: 11.02 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.5995, allocations: 8.688 kB / 449.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.55e-05/0.5996, allocations: 38.56 kB / 450 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.881e-05/0.5997, allocations: 19.84 kB / 450 MB, free: 10.94 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.5998, allocations: 190.7 kB / 450.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.632e-05/0.5999, allocations: 8 kB / 450.2 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-05/0.6, allocations: 11.98 kB / 450.2 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003962/0.6004, allocations: 157.7 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.6004, allocations: 4.688 kB / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.6004, allocations: 0 / 450.4 MB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.26e-05/0.6005, allocations: 15.94 kB / 450.4 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.6006, allocations: 55.97 kB / 450.4 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003699/0.601, allocations: 260.1 kB / 450.7 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003592/0.6014, allocations: 170.4 kB / 450.8 MB, free: 9.934 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.6016, allocations: 79.59 kB / 450.9 MB, free: 9.844 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.6016, allocations: 4 kB / 450.9 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004812/0.6021, allocations: 197.4 kB / 451.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 3.146e-06/0.6022, allocations: 0 / 451.1 MB, free: 9.625 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.000869/0.603, allocations: 293.2 kB / 451.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.891e-05/0.6031, allocations: 148.4 kB / 451.6 MB, free: 9.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002172/0.6034, allocations: 157.4 kB / 451.7 MB, free: 8.996 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.449e-05/0.6034, allocations: 45.69 kB / 451.7 MB, free: 8.945 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.6036, allocations: 158.6 kB / 451.9 MB, free: 8.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.239e-05/0.6036, allocations: 43.53 kB / 451.9 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.696e-05/0.6037, allocations: 4 kB / 452 MB, free: 8.742 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.6038, allocations: 318.8 kB / 452.3 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.604, allocations: 72.2 kB / 452.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.6043, allocations: 104.7 kB / 452.4 MB, free: 8.234 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002827/0.6046, allocations: 190.8 kB / 452.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.6046, allocations: 0 / 452.6 MB, free: 8.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008228/0.6054, allocations: 414.6 kB / 453 MB, free: 7.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.6055, allocations: 118.8 kB / 453.1 MB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.6056, allocations: 4 kB / 453.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.6056, allocations: 0 / 453.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.6056, allocations: 4 kB / 453.2 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.6057, allocations: 7.891 kB / 453.2 MB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001709/0.6059, allocations: 28.67 kB / 453.2 MB, free: 7.406 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.065e-05/0.6059, allocations: 16 kB / 453.2 MB, free: 7.391 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.0001493/0.6061, allocations: 124.3 kB / 453.3 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.258e-05/0.6061, allocations: 19.8 kB / 453.3 MB, free: 7.242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.307e-05/0.6062, allocations: 16.03 kB / 453.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.6062, allocations: 0 / 453.4 MB, free: 7.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.6062, allocations: 4 kB / 453.4 MB, free: 7.219 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6063, allocations: 3.953 kB / 453.4 MB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.6065, allocations: 225.5 kB / 453.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.6065, allocations: 4.562 kB / 453.6 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.701e-05/0.6066, allocations: 7.938 kB / 453.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.6066, allocations: 0 / 453.6 MB, free: 6.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.6066, allocations: 7.984 kB / 453.6 MB, free: 6.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.6066, allocations: 4 kB / 453.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6067, allocations: 0 / 453.6 MB, free: 6.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.6074, allocations: 375.6 kB / 454 MB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.29e-05/0.6075, allocations: 96.88 kB / 454.1 MB, free: 6.398 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.884e-05/0.6076, allocations: 12.86 kB / 454.1 MB, free: 6.387 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.6078, allocations: 11.98 kB / 454.1 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.941e-05/0.6078, allocations: 15.92 kB / 454.1 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/0.608, allocations: 31.95 kB / 454.1 MB, free: 6.328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001777/0.6082, allocations: 136.1 kB / 454.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6082, allocations: 0 / 454.3 MB, free: 6.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006335/0.6088, allocations: 95.94 kB / 454.4 MB, free: 6.102 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.001622/0.6105, allocations: 1.201 MB / 455.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006663/0.6112, allocations: 415.9 kB / 456 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6112, allocations: 0 / 456 MB, free: 4.402 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002416/0.6114, allocations: 92.09 kB / 456.1 MB, free: 4.312 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.6116, allocations: 15.98 kB / 456.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.6128, allocations: 372.3 kB / 456.4 MB, free: 3.883 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.6132, allocations: 0.7199 MB / 457.2 MB, free: 3.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.113e-05/0.6133, allocations: 39.42 kB / 457.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6133, allocations: 0 / 457.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.593/3.207, allocations: 3.268 MB / 460.5 MB, free: 15.83 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat