Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 209.2 MB / 224.8 MB, free: 304 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004494/0.0004494, allocations: 8 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3766, allocations: 48.71 MB / 331.4 MB, free: 6.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1378/0.5144, allocations: 73.96 MB / 405.3 MB, free: 4.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.5148, allocations: 63.97 kB / 405.4 MB, free: 4.273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.5381, allocations: 4.455 MB / 409.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5381, allocations: 0 / 409.8 MB, free: 15.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.5381, allocations: 0 / 409.8 MB, free: 15.82 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.001046/0.5392, allocations: 0.56 MB / 410.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.5393, allocations: 12.03 kB / 410.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.828e-05/0.5393, allocations: 42.55 kB / 410.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.362e-05/0.5394, allocations: 11.91 kB / 410.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.5396, allocations: 190.8 kB / 410.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5396, allocations: 7.938 kB / 410.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.5397, allocations: 4 kB / 410.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00049/0.5402, allocations: 175.1 kB / 410.8 MB, free: 14.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.5402, allocations: 4 kB / 410.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.769e-05/0.5402, allocations: 7.984 kB / 410.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-06/0.5403, allocations: 0 / 410.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002655/0.5405, allocations: 75.89 kB / 410.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000358/0.5409, allocations: 256.2 kB / 411.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.5414, allocations: 190.4 kB / 411.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.5415, allocations: 7.938 kB / 411.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005383/0.542, allocations: 198.8 kB / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=16): time 3.257e-06/0.542, allocations: 3.938 kB / 411.6 MB, free: 13.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.001294/0.5433, allocations: 389.2 kB / 411.9 MB, free: 13.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.454e-05/0.5435, allocations: 140.5 kB / 412.1 MB, free: 13.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002351/0.5437, allocations: 169.3 kB / 412.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.275e-05/0.5438, allocations: 33.7 kB / 412.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.507e-05/0.5439, allocations: 166.6 kB / 412.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.905e-05/0.5439, allocations: 39.59 kB / 412.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.701e-05/0.544, allocations: 0 / 412.5 MB, free: 12.87 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5441, allocations: 326.8 kB / 412.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002042/0.5443, allocations: 76.19 kB / 412.9 MB, free: 12.46 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/0.5446, allocations: 103.9 kB / 413 MB, free: 12.35 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.5449, allocations: 194.8 kB / 413.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.5449, allocations: 3.953 kB / 413.2 MB, free: 12.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008628/0.5458, allocations: 408.2 kB / 413.6 MB, free: 11.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.5459, allocations: 119.4 kB / 413.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.5459, allocations: 4 kB / 413.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.094e-05/0.5459, allocations: 3.984 kB / 413.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.855e-05/0.546, allocations: 8 kB / 413.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.546, allocations: 0 / 413.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.5462, allocations: 19.84 kB / 413.7 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.5463, allocations: 19.98 kB / 413.7 MB, free: 11.51 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.0002183/0.5465, allocations: 153.1 kB / 413.9 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.5465, allocations: 19.75 kB / 413.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.791e-05/0.5466, allocations: 20.23 kB / 413.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5466, allocations: 4 kB / 413.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.5466, allocations: 0 / 413.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.5466, allocations: 0 / 413.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002659/0.5469, allocations: 225.4 kB / 414.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.5469, allocations: 8.234 kB / 414.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.384e-05/0.547, allocations: 7.953 kB / 414.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.423e-06/0.547, allocations: 4 kB / 414.2 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.547, allocations: 15.92 kB / 414.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.442e-06/0.547, allocations: 4 kB / 414.2 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5471, allocations: 3.938 kB / 414.2 MB, free: 10.99 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009291/0.548, allocations: 386.6 kB / 414.6 MB, free: 10.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.01e-05/0.5481, allocations: 88.92 kB / 414.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.5481, allocations: 7.984 kB / 414.7 MB, free: 10.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.5483, allocations: 15.98 kB / 414.7 MB, free: 10.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.006e-05/0.5484, allocations: 11.98 kB / 414.7 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.379e-05/0.5485, allocations: 43.84 kB / 414.7 MB, free: 10.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.5487, allocations: 132.1 kB / 414.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5487, allocations: 0 / 414.9 MB, free: 10.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006278/0.5493, allocations: 95.92 kB / 415 MB, free: 10.16 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.001813/0.5511, allocations: 1.22 MB / 416.2 MB, free: 8.895 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007735/0.552, allocations: 425.4 kB / 416.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.552, allocations: 0 / 416.6 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003543/0.5523, allocations: 96.08 kB / 416.7 MB, free: 8.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001806/0.5525, allocations: 15.98 kB / 416.7 MB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.5554, allocations: 1.608 MB / 418.3 MB, free: 6.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5558, allocations: 0.716 MB / 419 MB, free: 5.887 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.22e-05/0.5559, allocations: 35.42 kB / 419.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of SimCode: time 8.41e-07/0.5559, allocations: 0 / 419.1 MB, free: 5.852 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.875/3.431, allocations: 3.262 MB / 422.3 MB, free: 2.602 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat