Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable.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: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.index|booleanTable1.nextTime|booleanTable1.y|booleanTable2a.index|booleanTable2a.nextTime|booleanTable2a.y|booleanTable2b.index|booleanTable2b.nextTime|booleanTable2b.y|booleanTable3a.index|booleanTable3a.nextTime|booleanTable3a.y|booleanTable3b.index|booleanTable3b.nextTime|booleanTable3b.y|booleanTable3c.index|booleanTable3c.nextTime|booleanTable3c.y|booleanTable4a.index|booleanTable4a.nextTime|booleanTable4a.y|booleanTable4b.index|booleanTable4b.nextTime|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.103/2.103, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006373/0.0006374, allocations: 12 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3523, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4893, allocations: 74.21 MB / 406 MB, free: 4.219 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.4896, allocations: 67.97 kB / 406.1 MB, free: 4.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02846/0.5181, allocations: 5.218 MB / 411.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.5182, allocations: 0 / 411.3 MB, free: 14.93 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.5182, allocations: 0 / 411.3 MB, free: 14.93 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001066/0.5193, allocations: 0.9186 MB / 412.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.5193, allocations: 8.031 kB / 412.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.5194, allocations: 27.81 kB / 412.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/0.5196, allocations: 183.4 kB / 412.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.23e-05/0.5197, allocations: 12 kB / 412.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.5198, allocations: 23.98 kB / 412.5 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/0.5204, allocations: 224.4 kB / 412.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5204, allocations: 0 / 412.7 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.225e-05/0.5204, allocations: 15.94 kB / 412.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.5205, allocations: 0 / 412.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003067/0.5208, allocations: 103.9 kB / 412.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004473/0.5212, allocations: 323.7 kB / 413.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004764/0.5217, allocations: 271 kB / 413.4 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.5218, allocations: 8.031 kB / 413.4 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.5225, allocations: 0.5269 MB / 413.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/0.5226, allocations: 0 / 413.9 MB, free: 11.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002354/0.5249, allocations: 1.414 MB / 415.3 MB, free: 10.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003909/0.5254, allocations: 0.6821 MB / 416 MB, free: 9.414 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.5256, allocations: 182.1 kB / 416.2 MB, free: 9.227 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.5257, allocations: 41.95 kB / 416.2 MB, free: 9.18 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.5258, allocations: 171.2 kB / 416.4 MB, free: 9.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.526, allocations: 71.23 kB / 416.5 MB, free: 8.941 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.526, allocations: 8 kB / 416.5 MB, free: 8.934 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.5262, allocations: 326.8 kB / 416.8 MB, free: 8.605 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.5265, allocations: 92.83 kB / 416.9 MB, free: 8.512 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003526/0.5268, allocations: 166.8 kB / 417 MB, free: 8.324 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005617/0.5274, allocations: 0.527 MB / 417.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.5274, allocations: 0 / 417.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001448/0.5289, allocations: 0.8362 MB / 418.4 MB, free: 6.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003002/0.5292, allocations: 459.2 kB / 418.9 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.5292, allocations: 3.938 kB / 418.9 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5293, allocations: 4 kB / 418.9 MB, free: 6.203 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.15e-05/0.5293, allocations: 8 kB / 418.9 MB, free: 6.195 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/0.5294, allocations: 7.938 kB / 418.9 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.5297, allocations: 35.89 kB / 418.9 MB, free: 6.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.156e-05/0.5298, allocations: 23.98 kB / 418.9 MB, free: 6.129 MB / 346.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.0005753/0.5304, allocations: 429.5 kB / 419.4 MB, free: 5.652 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.5305, allocations: 39.75 kB / 419.4 MB, free: 5.613 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.151e-05/0.5305, allocations: 12.88 kB / 419.4 MB, free: 5.602 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.5306, allocations: 4 kB / 419.4 MB, free: 5.598 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.5306, allocations: 8 kB / 419.4 MB, free: 5.59 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5306, allocations: 3.984 kB / 419.4 MB, free: 5.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004174/0.531, allocations: 301.3 kB / 419.7 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.531, allocations: 4 kB / 419.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.064e-06/0.5311, allocations: 0 / 419.7 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.5311, allocations: 7.953 kB / 419.7 MB, free: 5.23 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.323e-05/0.5311, allocations: 23.98 kB / 419.8 MB, free: 5.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.037e-05/0.5312, allocations: 11.92 kB / 419.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5312, allocations: 0.5 kB / 419.8 MB, free: 5.195 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.5329, allocations: 0.848 MB / 420.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.668e-05/0.5331, allocations: 96.83 kB / 420.7 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.5332, allocations: 27.95 kB / 420.7 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004496/0.5337, allocations: 55.95 kB / 420.8 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.5338, allocations: 27.97 kB / 420.8 MB, free: 4.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.922e-05/0.5339, allocations: 27.97 kB / 420.8 MB, free: 4.008 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000153/0.5341, allocations: 128.2 kB / 421 MB, free: 3.883 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5341, allocations: 0 / 421 MB, free: 3.883 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009572/0.535, allocations: 199.9 kB / 421.2 MB, free: 3.688 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.0007802/0.5358, allocations: 292.2 kB / 421.5 MB, free: 3.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001641/0.5375, allocations: 1.186 MB / 422.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.5375, allocations: 0 / 422.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009669/0.5385, allocations: 0.71 MB / 423.3 MB, free: 1.199 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.5388, allocations: 24.45 kB / 423.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001302/0.5401, allocations: 0.5298 MB / 423.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000437/0.5406, allocations: 0.7406 MB / 424.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.5406, allocations: 15.44 kB / 424.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.293e-06/0.5406, allocations: 0 / 424.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of Templates: time 0.01129/0.5519, allocations: 4.357 MB / 429 MB, free: 11.45 MB / 362.7 MB