Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.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.BooleanTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_BooleanTable",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.00966/0.00966, allocations: 174.9 kB / 15.12 MB, free: 5.98 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.085/2.085, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001978/0.001978, allocations: 132.5 kB / 255.6 MB, free: 10.23 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.2797/0.2797, allocations: 40.02 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006518/0.0006519, allocations: 11.19 kB / 406.3 MB, free: 51.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1022, allocations: 54.88 MB / 461.1 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.2468, allocations: 80.59 MB / 0.529 GB, free: 2.488 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002473/0.2471, allocations: 63.97 kB / 0.5291 GB, free: 2.426 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3418/0.5889, allocations: 5.205 MB / 0.5342 GB, free: 82.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.5889, allocations: 0 / 0.5342 GB, free: 82.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.5889, allocations: 3.656 kB / 0.5342 GB, free: 82.14 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009069/0.5899, allocations: 0.9132 MB / 0.5351 GB, free: 81.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.5899, allocations: 13.86 kB / 0.5351 GB, free: 81.21 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.986e-05/0.59, allocations: 47.06 kB / 0.5351 GB, free: 81.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.443e-05/0.5901, allocations: 31.8 kB / 0.5352 GB, free: 81.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.5902, allocations: 183.3 kB / 0.5353 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.5903, allocations: 10.22 kB / 0.5353 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.772e-05/0.5904, allocations: 19.92 kB / 0.5354 GB, free: 80.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.5909, allocations: 230.8 kB / 0.5356 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.5909, allocations: 0 / 0.5356 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.591, allocations: 11.06 kB / 0.5356 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.591, allocations: 3.953 kB / 0.5356 GB, free: 80.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002974/0.5913, allocations: 103.1 kB / 0.5357 GB, free: 80.85 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.5917, allocations: 320.8 kB / 0.536 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.5922, allocations: 268.7 kB / 0.5363 GB, free: 80.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.5922, allocations: 3.812 kB / 0.5363 GB, free: 80.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000687/0.5929, allocations: 0.5268 MB / 0.5368 GB, free: 80.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.035e-06/0.5929, allocations: 1.031 kB / 0.5368 GB, free: 80.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00223/0.5951, allocations: 1.416 MB / 0.5382 GB, free: 78.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00023/0.5954, allocations: 0.6802 MB / 0.5388 GB, free: 78.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.5957, allocations: 162.9 kB / 0.539 GB, free: 78.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.5958, allocations: 44.48 kB / 0.539 GB, free: 78.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.5958, allocations: 105.5 kB / 0.5391 GB, free: 77.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.596, allocations: 77.75 kB / 0.5392 GB, free: 77.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.068e-05/0.596, allocations: 5.844 kB / 0.5392 GB, free: 77.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.5961, allocations: 341.3 kB / 0.5395 GB, free: 77.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.5964, allocations: 93.02 kB / 0.5396 GB, free: 77.61 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003179/0.5967, allocations: 158.1 kB / 0.5398 GB, free: 77.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.5972, allocations: 0.5315 MB / 0.5403 GB, free: 77.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.5972, allocations: 5.375 kB / 0.5403 GB, free: 77.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001303/0.5985, allocations: 0.8414 MB / 0.5411 GB, free: 76.47 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001876/0.5987, allocations: 456.1 kB / 0.5416 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5987, allocations: 1.344 kB / 0.5416 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.5988, allocations: 4.406 kB / 0.5416 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.442e-05/0.5989, allocations: 11.16 kB / 0.5416 GB, free: 75.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/0.5989, allocations: 3 kB / 0.5416 GB, free: 75.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.5992, allocations: 31.56 kB / 0.5416 GB, free: 75.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.418e-05/0.5993, allocations: 31.58 kB / 0.5416 GB, free: 75.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition8,$PRE.booleanTable1.y,booleanTable1.y,$PRE.booleanTable1.nextTime,booleanTable1.nextTime,$PRE.booleanTable1.index,booleanTable1.index,$whenCondition7,$PRE.booleanTable2a.y,booleanTable2a.y,$PRE.booleanTable2a.nextTime,booleanTable2a.nextTime,$PRE.booleanTable2a.index,booleanTable2a.index,$whenCondition6,$PRE.booleanTable2b.y,booleanTable2b.y,$PRE.booleanTable2b.nextTime,booleanTable2b.nextTime,$PRE.booleanTable2b.index,booleanTable2b.index,$whenCondition5,$PRE.booleanTable3a.y,booleanTable3a.y,$PRE.booleanTable3a.nextTime,booleanTable3a.nextTime,$PRE.booleanTable3a.index,booleanTable3a.index,$whenCondition4,$PRE.booleanTable3b.y,booleanTable3b.y,$PRE.booleanTable3b.nextTime,booleanTable3b.nextTime,$PRE.booleanTable3b.index,booleanTable3b.index,$whenCondition3,$PRE.booleanTable3c.y,booleanTable3c.y,$PRE.booleanTable3c.nextTime,booleanTable3c.nextTime,$PRE.booleanTable3c.index,booleanTable3c.index,$whenCondition2,$PRE.booleanTable4a.y,booleanTable4a.y,$PRE.booleanTable4a.nextTime,booleanTable4a.nextTime,$PRE.booleanTable4a.index,booleanTable4a.index,$whenCondition1,$PRE.booleanTable4b.y,booleanTable4b.y,$PRE.booleanTable4b.nextTime,booleanTable4b.nextTime,$PRE.booleanTable4b.index,booleanTable4b.index) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 16 * 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.0004425/0.5998, allocations: 437.8 kB / 0.542 GB, free: 75.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.5999, allocations: 34.34 kB / 0.5421 GB, free: 75.56 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.939e-05/0.5999, allocations: 14.73 kB / 0.5421 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.802e-06/0.5999, allocations: 2.188 kB / 0.5421 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6, allocations: 3.344 kB / 0.5421 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.6, allocations: 4.281 kB / 0.5421 GB, free: 75.55 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003667/0.6004, allocations: 303.1 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6004, allocations: 1.578 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-06/0.6004, allocations: 3.469 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.6004, allocations: 7.062 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.691e-05/0.6005, allocations: 22.06 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.384e-06/0.6005, allocations: 2.75 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.6005, allocations: 2.562 kB / 0.5424 GB, free: 75.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001811/0.6023, allocations: 0.9325 MB / 0.5433 GB, free: 74.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.6024, allocations: 98 kB / 0.5434 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.6026, allocations: 25.31 kB / 0.5435 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004546/0.603, allocations: 43.95 kB / 0.5435 GB, free: 74.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6032, allocations: 38.5 kB / 0.5435 GB, free: 74.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.747e-05/0.6033, allocations: 22.89 kB / 0.5436 GB, free: 74.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001531/0.6035, allocations: 132.5 kB / 0.5437 GB, free: 74.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6035, allocations: 0 / 0.5437 GB, free: 74.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001049/0.6045, allocations: 197.4 kB / 0.5439 GB, free: 74.62 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition7,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition6,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition5,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition4,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition3,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition2,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition1,booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index) * Number of discrete states: 32 (booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index,$whenCondition1,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition2,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition3,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition4,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition5,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition6,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition7,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition8) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.00295/0.6075, allocations: 2.138 MB / 0.546 GB, free: 73.08 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001317/0.6089, allocations: 1.194 MB / 0.5471 GB, free: 72.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6089, allocations: 0 / 0.5471 GB, free: 72.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007836/0.6097, allocations: 0.7102 MB / 0.5478 GB, free: 71.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.61, allocations: 20.5 kB / 0.5478 GB, free: 71.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.6136, allocations: 2.601 MB / 0.5504 GB, free: 69.59 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002195/0.6139, allocations: 0.738 MB / 0.5511 GB, free: 68.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.752e-05/0.614, allocations: 11.48 kB / 0.5511 GB, free: 68.89 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.6141, allocations: 41.91 kB / 0.5512 GB, free: 68.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.253e-06/0.6141, allocations: 0 / 0.5512 GB, free: 68.86 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03748/0.6516, allocations: 6.689 MB / 0.5577 GB, free: 66.05 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001834/0.6518, allocations: 155.5 kB / 0.5578 GB, free: 65.82 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.758/3.41, allocations: 3.969 kB / 0.5578 GB, free: 65.82 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat