Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 234.9 MB / 251.1 MB, free: 10.52 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004244/0.0004248, allocations: 20 kB / 314.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3782, allocations: 54.88 MB / 369.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1497/0.528, allocations: 80.58 MB / 450.4 MB, free: 10.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5283, allocations: 63.97 kB / 450.4 MB, free: 10.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02718/0.5555, allocations: 5.209 MB / 455.7 MB, free: 4.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.5555, allocations: 4 kB / 455.7 MB, free: 4.863 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.078e-06/0.5555, allocations: 7.938 kB / 455.7 MB, free: 4.855 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.00108/0.5566, allocations: 0.9081 MB / 456.6 MB, free: 3.801 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5567, allocations: 8.031 kB / 456.6 MB, free: 3.793 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.5568, allocations: 35.67 kB / 456.6 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.557, allocations: 182.9 kB / 456.8 MB, free: 3.539 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.676e-05/0.557, allocations: 8 kB / 456.8 MB, free: 3.531 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.314e-05/0.5571, allocations: 20 kB / 456.8 MB, free: 3.512 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005707/0.5577, allocations: 229 kB / 457 MB, free: 3.258 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.5577, allocations: 3.938 kB / 457 MB, free: 3.254 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.866e-05/0.5578, allocations: 8 kB / 457.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5578, allocations: 0 / 457.1 MB, free: 3.246 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.5581, allocations: 99.84 kB / 457.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5586, allocations: 331.7 kB / 457.5 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004915/0.5591, allocations: 267.2 kB / 457.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.5591, allocations: 0 / 457.7 MB, free: 2.422 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007851/0.5599, allocations: 0.5308 MB / 458.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.154e-06/0.5599, allocations: 0 / 458.3 MB, free: 1.805 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002333/0.5622, allocations: 1.415 MB / 459.7 MB, free: 192 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004331/0.5627, allocations: 0.6743 MB / 460.4 MB, free: 15.36 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.563, allocations: 186.2 kB / 460.5 MB, free: 15.17 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.897e-05/0.5631, allocations: 45.69 kB / 460.6 MB, free: 15.12 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5632, allocations: 167.2 kB / 460.7 MB, free: 14.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.5633, allocations: 71.41 kB / 460.8 MB, free: 14.88 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.752e-05/0.5634, allocations: 12 kB / 460.8 MB, free: 14.87 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.5635, allocations: 330.8 kB / 461.2 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002867/0.5638, allocations: 84.84 kB / 461.2 MB, free: 14.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003684/0.5642, allocations: 166.8 kB / 461.4 MB, free: 14.26 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.5648, allocations: 0.5349 MB / 461.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.5648, allocations: 0 / 461.9 MB, free: 13.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001484/0.5663, allocations: 0.8324 MB / 462.8 MB, free: 12.69 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.5667, allocations: 451.2 kB / 463.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.5667, allocations: 4.438 kB / 463.2 MB, free: 12.15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.536e-05/0.5667, allocations: 4 kB / 463.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.789e-05/0.5668, allocations: 19.92 kB / 463.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.5668, allocations: 7.938 kB / 463.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003128/0.5671, allocations: 43.8 kB / 463.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.5672, allocations: 23.95 kB / 463.3 MB, free: 12.05 MB / 394.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.0005184/0.5678, allocations: 428.5 kB / 463.7 MB, free: 11.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.5679, allocations: 31.81 kB / 463.8 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.5679, allocations: 16.92 kB / 463.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.568, allocations: 7.984 kB / 463.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.568, allocations: 4 kB / 463.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.97e-06/0.568, allocations: 0 / 463.8 MB, free: 11.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/0.5684, allocations: 305.2 kB / 464.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.5684, allocations: 4 kB / 464.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.5684, allocations: 0 / 464.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.5684, allocations: 4 kB / 464.1 MB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-05/0.5685, allocations: 23.98 kB / 464.1 MB, free: 11.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.5685, allocations: 3.938 kB / 464.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5685, allocations: 4 kB / 464.1 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00173/0.5703, allocations: 0.8557 MB / 465 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.5704, allocations: 100.8 kB / 465.1 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.5705, allocations: 27.98 kB / 465.1 MB, free: 10.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.571, allocations: 43.97 kB / 465.1 MB, free: 9.988 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.5711, allocations: 31.95 kB / 465.2 MB, free: 9.957 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.817e-05/0.5712, allocations: 27.94 kB / 465.2 MB, free: 9.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001516/0.5714, allocations: 128.2 kB / 465.3 MB, free: 9.805 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5714, allocations: 0 / 465.3 MB, free: 9.805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009318/0.5723, allocations: 199.9 kB / 465.5 MB, free: 9.609 MB / 394.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.0007876/0.5731, allocations: 296.2 kB / 465.8 MB, free: 9.312 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.5747, allocations: 1.183 MB / 467 MB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5747, allocations: 0 / 467 MB, free: 7.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009245/0.5757, allocations: 0.7061 MB / 467.7 MB, free: 7.129 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002542/0.5759, allocations: 23.98 kB / 467.7 MB, free: 7.105 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.5772, allocations: 0.5342 MB / 468.3 MB, free: 6.516 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5777, allocations: 0.7328 MB / 469 MB, free: 5.754 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.5777, allocations: 15.44 kB / 469 MB, free: 5.738 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5777, allocations: 4 kB / 469 MB, free: 5.734 MB / 394.7 MB Notification: Performance of Templates: time 0.01118/0.5889, allocations: 4.363 MB / 473.4 MB, free: 1.379 MB / 394.7 MB