Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_1_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.1+maint.om/package.mo): time 0.009962/0.009962, allocations: 165.7 kB / 15.11 MB, free: 6.051 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.77/1.77, allocations: 170.8 MB / 186.6 MB, free: 1.129 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001946/0.001946, allocations: 102.6 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4402/0.4402, allocations: 38.04 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004806/0.0004805, allocations: 15.98 kB / 363 MB, free: 5.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1048, allocations: 48.71 MB / 411.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3966/0.5014, allocations: 74.22 MB / 485.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/0.5017, allocations: 63.66 kB / 486 MB, free: 13.54 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02938/0.5311, allocations: 5.214 MB / 491.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.5312, allocations: 0 / 491.2 MB, free: 8.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.961e-05/0.5312, allocations: 4 kB / 491.2 MB, free: 8.844 MB / 330.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.000801/0.532, allocations: 0.9061 MB / 492.1 MB, free: 7.816 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.5321, allocations: 12.03 kB / 492.1 MB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.493e-05/0.5321, allocations: 46.48 kB / 492.1 MB, free: 7.754 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.899e-05/0.5322, allocations: 23.81 kB / 492.2 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001158/0.5323, allocations: 201.3 kB / 492.4 MB, free: 7.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.194e-05/0.5324, allocations: 15.88 kB / 492.4 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.594e-05/0.5324, allocations: 16 kB / 492.4 MB, free: 7.473 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000445/0.5329, allocations: 222.2 kB / 492.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.5329, allocations: 0 / 492.6 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.533, allocations: 8 kB / 492.6 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.533, allocations: 4 kB / 492.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.5333, allocations: 106.8 kB / 492.7 MB, free: 7.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003263/0.5336, allocations: 335 kB / 493.1 MB, free: 6.824 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.534, allocations: 265.6 kB / 493.3 MB, free: 6.539 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.674e-06/0.534, allocations: 4 kB / 493.3 MB, free: 6.535 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005708/0.5346, allocations: 0.5239 MB / 493.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.615e-06/0.5346, allocations: 0 / 493.8 MB, free: 5.984 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001866/0.5365, allocations: 1.411 MB / 495.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002034/0.5367, allocations: 0.6778 MB / 495.9 MB, free: 3.703 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001691/0.5369, allocations: 156.9 kB / 496.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.582e-05/0.537, allocations: 49.31 kB / 496.1 MB, free: 3.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.369e-05/0.537, allocations: 108 kB / 496.2 MB, free: 3.426 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.54e-05/0.5371, allocations: 70.8 kB / 496.3 MB, free: 3.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.86e-05/0.5372, allocations: 7.938 kB / 496.3 MB, free: 3.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.982e-05/0.5373, allocations: 337.8 kB / 496.6 MB, free: 3.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.5375, allocations: 95.58 kB / 496.7 MB, free: 2.969 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.5378, allocations: 161.3 kB / 496.9 MB, free: 2.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003866/0.5382, allocations: 0.5285 MB / 497.4 MB, free: 2.246 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5382, allocations: 4 kB / 497.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001115/0.5393, allocations: 0.8399 MB / 498.3 MB, free: 1.391 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001811/0.5395, allocations: 454.9 kB / 498.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.5396, allocations: 0.6562 kB / 498.7 MB, free: 0.8594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.94e-05/0.5396, allocations: 7.984 kB / 498.7 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.13e-05/0.5397, allocations: 19.92 kB / 498.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5397, allocations: 0 / 498.7 MB, free: 0.832 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.54, allocations: 35.45 kB / 498.8 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.142e-05/0.5401, allocations: 19.94 kB / 498.8 MB, free: 0.7852 MB / 330.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.0003722/0.5405, allocations: 436.3 kB / 499.2 MB, free: 332 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9e-05/0.5406, allocations: 39.7 kB / 499.3 MB, free: 292 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.231e-05/0.5406, allocations: 16.73 kB / 499.3 MB, free: 276 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.5407, allocations: 8 kB / 499.3 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.992e-06/0.5407, allocations: 0 / 499.3 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5407, allocations: 7.984 kB / 499.3 MB, free: 260 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.541, allocations: 295.2 kB / 499.6 MB, free: 15.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.541, allocations: 7.984 kB / 499.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.665e-06/0.5411, allocations: 0 / 499.6 MB, free: 15.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.5411, allocations: 7.953 kB / 499.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.738e-05/0.5411, allocations: 19.38 kB / 499.6 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.5412, allocations: 3.984 kB / 499.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/0.5412, allocations: 4 kB / 499.6 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001713/0.5429, allocations: 0.9295 MB / 0.4888 GB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.543, allocations: 96.88 kB / 0.4889 GB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.5431, allocations: 29.86 kB / 0.4889 GB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.5436, allocations: 43.97 kB / 0.489 GB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.5438, allocations: 41.19 kB / 0.489 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.239e-05/0.5438, allocations: 19.55 kB / 0.489 GB, free: 14.79 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001794/0.544, allocations: 130.6 kB / 0.4892 GB, free: 14.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5441, allocations: 0 / 0.4892 GB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009391/0.545, allocations: 199 kB / 0.4894 GB, free: 14.49 MB / 346.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.002995/0.548, allocations: 2.136 MB / 0.4914 GB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001522/0.5496, allocations: 1.186 MB / 0.4926 GB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.5496, allocations: 3.938 kB / 0.4926 GB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009213/0.5506, allocations: 0.7142 MB / 0.4933 GB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.5509, allocations: 19.5 kB / 0.4933 GB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/0.555, allocations: 2.605 MB / 0.4959 GB, free: 8.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.5554, allocations: 0.7435 MB / 0.4966 GB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.577e-05/0.5555, allocations: 9.438 kB / 0.4966 GB, free: 7.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.205e-05/0.5556, allocations: 38.61 kB / 0.4966 GB, free: 7.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/0.5556, allocations: 0 / 0.4966 GB, free: 7.23 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.5935, allocations: 6.673 MB / 0.5032 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000359/0.5939, allocations: 171.5 kB / 0.5033 GB, free: 412 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.72/3.314, allocations: 4 kB / 0.5033 GB, free: 408 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat