Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.846/1.846, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.084e-05, allocations: 7.984 kB / 277.8 MB, free: 12.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1165, allocations: 48.7 MB / 326.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3154/0.432, allocations: 74.13 MB / 400.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4323, allocations: 66.12 kB / 400.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.4556, allocations: 5.184 MB / 405.9 MB, free: 7.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.131e-06/0.4556, allocations: 0 / 405.9 MB, free: 7.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.4556, allocations: 4 kB / 405.9 MB, free: 7.852 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.0009535/0.4566, allocations: 0.8879 MB / 406.8 MB, free: 6.82 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.4567, allocations: 8.031 kB / 406.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/0.4568, allocations: 23.81 kB / 406.8 MB, free: 6.789 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.457, allocations: 199.2 kB / 407 MB, free: 6.555 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.457, allocations: 12 kB / 407 MB, free: 6.543 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.41e-05/0.4571, allocations: 20 kB / 407.1 MB, free: 6.523 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004678/0.4575, allocations: 220.4 kB / 407.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4576, allocations: 11.88 kB / 407.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4576, allocations: 8 kB / 407.3 MB, free: 6.258 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.4576, allocations: 8 kB / 407.3 MB, free: 6.25 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.4579, allocations: 95.91 kB / 407.4 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004437/0.4584, allocations: 327.7 kB / 407.7 MB, free: 5.766 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.4588, allocations: 265.5 kB / 408 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.4591, allocations: 166.9 kB / 408.1 MB, free: 5.246 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.4591, allocations: 3.938 kB / 408.1 MB, free: 5.242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007077/0.4599, allocations: 0.523 MB / 408.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.529e-06/0.4599, allocations: 0 / 408.7 MB, free: 4.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001351/0.4612, allocations: 0.6629 MB / 409.3 MB, free: 3.914 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004332/0.4617, allocations: 0.6862 MB / 410 MB, free: 3.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.4619, allocations: 165.3 kB / 410.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.462, allocations: 41.7 kB / 410.2 MB, free: 2.859 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00011/0.4621, allocations: 167.3 kB / 410.4 MB, free: 2.695 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.4622, allocations: 69.89 kB / 410.4 MB, free: 2.629 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.712e-05/0.4623, allocations: 8 kB / 410.4 MB, free: 2.621 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.4625, allocations: 330.8 kB / 410.8 MB, free: 2.289 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.4627, allocations: 88.88 kB / 410.9 MB, free: 2.199 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002926/0.463, allocations: 158.9 kB / 411 MB, free: 2.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.4636, allocations: 0.5304 MB / 411.5 MB, free: 1.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4636, allocations: 3.953 kB / 411.5 MB, free: 1.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001285/0.4649, allocations: 0.8207 MB / 412.4 MB, free: 476 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003285/0.4652, allocations: 455.8 kB / 412.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.4653, allocations: 8 kB / 412.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.4653, allocations: 4.5 kB / 412.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.138e-05/0.4654, allocations: 11.92 kB / 412.8 MB, free: 15.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4654, allocations: 4 kB / 412.8 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002658/0.4657, allocations: 39.73 kB / 412.9 MB, free: 15.86 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.488e-05/0.4657, allocations: 28 kB / 412.9 MB, free: 15.83 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 () * 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.0004342/0.4662, allocations: 419.1 kB / 413.3 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.4663, allocations: 35.77 kB / 413.4 MB, free: 15.33 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.4664, allocations: 12.94 kB / 413.4 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.476e-06/0.4664, allocations: 4 kB / 413.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.843e-06/0.4664, allocations: 0 / 413.4 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.84e-06/0.4664, allocations: 7.984 kB / 413.4 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.4668, allocations: 301.2 kB / 413.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.912e-06/0.4668, allocations: 4 kB / 413.7 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.339e-06/0.4668, allocations: 3.953 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.362e-06/0.4669, allocations: 4 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-05/0.4669, allocations: 23.98 kB / 413.7 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.813e-06/0.4669, allocations: 4 kB / 413.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.996e-06/0.467, allocations: 7.938 kB / 413.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.4685, allocations: 0.9182 MB / 414.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.505e-05/0.4686, allocations: 92.91 kB / 414.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/0.4687, allocations: 24 kB / 414.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003336/0.4691, allocations: 47.97 kB / 414.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.4692, allocations: 39.88 kB / 414.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/0.4693, allocations: 23.98 kB / 414.9 MB, free: 13.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001436/0.4694, allocations: 124.3 kB / 415 MB, free: 13.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.4694, allocations: 0 / 415 MB, free: 13.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008427/0.4703, allocations: 199.9 kB / 415.2 MB, free: 13.3 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) * 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.0006478/0.471, allocations: 293.2 kB / 415.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001398/0.4724, allocations: 1.182 MB / 416.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.884e-06/0.4724, allocations: 0 / 416.6 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000815/0.4732, allocations: 0.7023 MB / 417.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.4735, allocations: 28.41 kB / 417.4 MB, free: 10.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009376/0.4744, allocations: 406.1 kB / 417.8 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004253/0.4749, allocations: 0.7445 MB / 418.5 MB, free: 9.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.4749, allocations: 11.44 kB / 418.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.876e-06/0.4749, allocations: 0 / 418.5 MB, free: 9.57 MB / 346.7 MB Notification: Performance of Templates: time 0.008998/0.4839, allocations: 4.34 MB / 422.9 MB, free: 5.234 MB / 346.7 MB