Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.197/2.197, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.084e-05/3.103e-05, allocations: 7.938 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3228, allocations: 54.85 MB / 364.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4448, allocations: 80.5 MB / 445 MB, free: 15.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002088/0.445, allocations: 67.81 kB / 445.1 MB, free: 15.92 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02385/0.4689, allocations: 5.183 MB / 450.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.278e-06/0.469, allocations: 0 / 450.3 MB, free: 10.76 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.469, allocations: 4 kB / 450.3 MB, free: 10.76 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.001052/0.4701, allocations: 0.8917 MB / 451.2 MB, free: 9.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.4701, allocations: 8.031 kB / 451.2 MB, free: 9.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.4702, allocations: 35.61 kB / 451.2 MB, free: 9.684 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.4704, allocations: 183.4 kB / 451.4 MB, free: 9.465 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.4705, allocations: 8 kB / 451.4 MB, free: 9.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.84e-05/0.4706, allocations: 20 kB / 451.4 MB, free: 9.438 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004849/0.4711, allocations: 224.4 kB / 451.7 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.4711, allocations: 4 kB / 451.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.4711, allocations: 11.97 kB / 451.7 MB, free: 9.172 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.4712, allocations: 7.953 kB / 451.7 MB, free: 9.164 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002594/0.4714, allocations: 99.86 kB / 451.8 MB, free: 9.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.4719, allocations: 319.8 kB / 452.1 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.4723, allocations: 269.3 kB / 452.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003118/0.4726, allocations: 166.2 kB / 452.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.047e-05/0.4727, allocations: 0 / 452.5 MB, free: 8.164 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007468/0.4734, allocations: 0.5359 MB / 453 MB, free: 7.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.714e-06/0.4734, allocations: 0 / 453 MB, free: 7.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.00134/0.4748, allocations: 0.6629 MB / 453.7 MB, free: 6.824 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004514/0.4753, allocations: 0.6743 MB / 454.4 MB, free: 5.996 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002166/0.4755, allocations: 165.9 kB / 454.5 MB, free: 5.828 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.96e-05/0.4756, allocations: 41.7 kB / 454.6 MB, free: 5.781 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.4757, allocations: 167.6 kB / 454.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.4758, allocations: 79.19 kB / 454.8 MB, free: 5.539 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.031e-05/0.4759, allocations: 8 kB / 454.8 MB, free: 5.531 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001774/0.4761, allocations: 330.8 kB / 455.2 MB, free: 5.199 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.4763, allocations: 92.86 kB / 455.2 MB, free: 5.105 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.4766, allocations: 150.9 kB / 455.4 MB, free: 4.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.4772, allocations: 0.5304 MB / 455.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.776e-06/0.4772, allocations: 0 / 455.9 MB, free: 4.305 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001272/0.4785, allocations: 0.8246 MB / 456.8 MB, free: 3.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003251/0.4788, allocations: 457.1 kB / 457.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4789, allocations: 7.938 kB / 457.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4789, allocations: 4 kB / 457.2 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.479, allocations: 11.94 kB / 457.2 MB, free: 2.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.479, allocations: 7.984 kB / 457.2 MB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002649/0.4793, allocations: 47.69 kB / 457.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.4793, allocations: 20 kB / 457.3 MB, free: 2.734 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 () * 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.000434/0.4798, allocations: 407.7 kB / 457.7 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.675e-05/0.4799, allocations: 31.81 kB / 457.7 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.093e-05/0.48, allocations: 12.92 kB / 457.7 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.887e-06/0.48, allocations: 4 kB / 457.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.117e-06/0.48, allocations: 0 / 457.7 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.48, allocations: 4 kB / 457.7 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.4804, allocations: 313.2 kB / 458 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4804, allocations: 3.984 kB / 458.1 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.844e-06/0.4804, allocations: 7.938 kB / 458.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.031e-06/0.4805, allocations: 4 kB / 458.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.4805, allocations: 20 kB / 458.1 MB, free: 1.828 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-06/0.4805, allocations: 3.984 kB / 458.1 MB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.329e-06/0.4806, allocations: 4 kB / 458.1 MB, free: 1.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001591/0.4822, allocations: 0.9266 MB / 459 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.894e-05/0.4823, allocations: 92.83 kB / 459.1 MB, free: 0.6523 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.4824, allocations: 27.98 kB / 459.1 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003236/0.4827, allocations: 39.97 kB / 459.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.4828, allocations: 47.84 kB / 459.2 MB, free: 0.5391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.694e-05/0.4829, allocations: 20.88 kB / 459.2 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.4831, allocations: 132.2 kB / 459.4 MB, free: 400 kB / 378.7 MB Notification: Performance of sort global known variables: time 7.88e-07/0.4831, allocations: 0 / 459.4 MB, free: 400 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008238/0.4839, allocations: 203.8 kB / 459.6 MB, free: 196 kB / 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) * 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.0006903/0.4846, allocations: 285.3 kB / 459.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.4861, allocations: 1.183 MB / 461 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.698e-06/0.4861, allocations: 4 kB / 461 MB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008303/0.487, allocations: 0.6945 MB / 461.7 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.4872, allocations: 24 kB / 461.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009542/0.4882, allocations: 418.5 kB / 462.2 MB, free: 13.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.4886, allocations: 0.7367 MB / 462.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.4887, allocations: 11.44 kB / 462.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of SimCode: time 2.015e-06/0.4887, allocations: 0 / 462.9 MB, free: 12.47 MB / 394.7 MB Notification: Performance of Templates: time 0.00929/0.498, allocations: 4.348 MB / 467.3 MB, free: 8.133 MB / 394.7 MB