Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.009681/0.009681, allocations: 175.9 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.075/2.075, allocations: 194.5 MB / 210.3 MB, free: 8.777 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002025/0.002025, allocations: 120.6 kB / 255.6 MB, free: 11.39 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2545/0.2545, allocations: 40 MB / 340.8 MB, free: 11.57 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004929, allocations: 11.97 kB / 406.3 MB, free: 52.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1028, allocations: 54.88 MB / 461.1 MB, free: 3.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.2498, allocations: 80.34 MB / 0.5288 GB, free: 2.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.2501, allocations: 59.97 kB / 0.5288 GB, free: 2.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3294/0.5796, allocations: 4.465 MB / 0.5332 GB, free: 82.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.5796, allocations: 0 / 0.5332 GB, free: 82.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.017e-06/0.5796, allocations: 1.031 kB / 0.5332 GB, free: 82.53 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.0009275/0.5806, allocations: 0.5665 MB / 0.5338 GB, free: 82.01 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.5806, allocations: 9.719 kB / 0.5338 GB, free: 82.01 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.5807, allocations: 37.45 kB / 0.5338 GB, free: 81.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.265e-05/0.5808, allocations: 21.48 kB / 0.5338 GB, free: 81.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.5809, allocations: 179.5 kB / 0.534 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.205e-05/0.5809, allocations: 6.75 kB / 0.534 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.017e-05/0.581, allocations: 13.81 kB / 0.534 GB, free: 81.76 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004386/0.5814, allocations: 171.5 kB / 0.5342 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5815, allocations: 0 / 0.5342 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.274e-05/0.5815, allocations: 3.078 kB / 0.5342 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.5815, allocations: 1.188 kB / 0.5342 GB, free: 81.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.5818, allocations: 81.86 kB / 0.5343 GB, free: 81.69 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.5821, allocations: 256.3 kB / 0.5345 GB, free: 81.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004806/0.5826, allocations: 187.7 kB / 0.5347 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.5826, allocations: 0.7969 kB / 0.5347 GB, free: 81.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004996/0.5831, allocations: 213.4 kB / 0.5349 GB, free: 81.28 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 2.445e-06/0.5831, allocations: 0 / 0.5349 GB, free: 81.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=16): time 0.001278/0.5844, allocations: 391.7 kB / 0.5353 GB, free: 81.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.5845, allocations: 142.1 kB / 0.5354 GB, free: 81.08 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.5847, allocations: 163.3 kB / 0.5356 GB, free: 80.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.936e-05/0.5848, allocations: 35.72 kB / 0.5356 GB, free: 80.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.624e-05/0.5848, allocations: 105.1 kB / 0.5357 GB, free: 80.87 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.319e-05/0.5849, allocations: 33.95 kB / 0.5357 GB, free: 80.86 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.879e-05/0.5849, allocations: 10.19 kB / 0.5357 GB, free: 80.85 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.585, allocations: 335.4 kB / 0.536 GB, free: 80.54 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001952/0.5852, allocations: 75.08 kB / 0.5361 GB, free: 80.53 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002056/0.5855, allocations: 106.1 kB / 0.5362 GB, free: 80.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002483/0.5857, allocations: 196.2 kB / 0.5364 GB, free: 80.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5857, allocations: 0 / 0.5364 GB, free: 80.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007576/0.5865, allocations: 414.3 kB / 0.5368 GB, free: 80.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.725e-05/0.5866, allocations: 129.2 kB / 0.5369 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5866, allocations: 1.797 kB / 0.5369 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.5866, allocations: 2.062 kB / 0.5369 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.5867, allocations: 11.8 kB / 0.5369 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.5867, allocations: 2.812 kB / 0.5369 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.5869, allocations: 18.69 kB / 0.537 GB, free: 80.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/0.5869, allocations: 15.95 kB / 0.537 GB, free: 80.06 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.0001731/0.5871, allocations: 152.4 kB / 0.5371 GB, free: 79.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.424e-05/0.5872, allocations: 19.2 kB / 0.5371 GB, free: 79.93 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.5872, allocations: 19.88 kB / 0.5372 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.5872, allocations: 3.109 kB / 0.5372 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.5873, allocations: 1.281 kB / 0.5372 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5873, allocations: 1.609 kB / 0.5372 GB, free: 79.92 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002351/0.5875, allocations: 233.2 kB / 0.5374 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5875, allocations: 5.797 kB / 0.5374 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.213e-05/0.5876, allocations: 6.844 kB / 0.5374 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5876, allocations: 2.312 kB / 0.5374 GB, free: 79.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.895e-05/0.5876, allocations: 12.44 kB / 0.5374 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/0.5876, allocations: 1.781 kB / 0.5374 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5876, allocations: 1.672 kB / 0.5374 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008827/0.5885, allocations: 384.7 kB / 0.5378 GB, free: 79.55 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.032e-05/0.5886, allocations: 91.23 kB / 0.5379 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.483e-05/0.5886, allocations: 12.48 kB / 0.5379 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.5888, allocations: 17.23 kB / 0.5379 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.5889, allocations: 9.938 kB / 0.5379 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/0.589, allocations: 27.2 kB / 0.5379 GB, free: 79.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.5891, allocations: 132.9 kB / 0.5381 GB, free: 79.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5892, allocations: 5.062 kB / 0.5381 GB, free: 79.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006188/0.5898, allocations: 96.84 kB / 0.5382 GB, free: 79.36 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) * 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.001501/0.5913, allocations: 1.217 MB / 0.5393 GB, free: 78.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006971/0.592, allocations: 429.6 kB / 0.5398 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.592, allocations: 3.938 kB / 0.5398 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003547/0.5924, allocations: 96.44 kB / 0.5399 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.5926, allocations: 7.859 kB / 0.5399 GB, free: 78.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002493/0.5951, allocations: 1.572 MB / 0.5414 GB, free: 77.28 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002132/0.5953, allocations: 0.7197 MB / 0.5421 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.463e-05/0.5954, allocations: 12.38 kB / 0.5421 GB, free: 76.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.393e-05/0.5955, allocations: 33.06 kB / 0.5421 GB, free: 76.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5955, allocations: 0 / 0.5421 GB, free: 76.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02953/0.625, allocations: 3.971 MB / 0.546 GB, free: 75.86 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002697/0.6254, allocations: 158.5 kB / 0.5462 GB, free: 75.63 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/3.212, allocations: 0 / 0.5462 GB, free: 75.63 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat