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.091/2.091, allocations: 234.9 MB / 250.5 MB, free: 9.453 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004356/0.0004358, allocations: 12 kB / 314.4 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2742, allocations: 54.87 MB / 369.3 MB, free: 10.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1198/0.3941, allocations: 80.59 MB / 449.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002126/0.3944, allocations: 63.97 kB / 449.9 MB, free: 9.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02283/0.4172, allocations: 5.205 MB / 455.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.27e-06/0.4173, allocations: 0 / 455.1 MB, free: 4.711 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.353e-05/0.4173, allocations: 4 kB / 455.1 MB, free: 4.707 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.0009848/0.4183, allocations: 0.9082 MB / 456 MB, free: 3.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4183, allocations: 15.97 kB / 456.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.759e-05/0.4184, allocations: 35.67 kB / 456.1 MB, free: 3.602 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.4186, allocations: 186.8 kB / 456.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.4187, allocations: 16 kB / 456.3 MB, free: 3.363 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/0.4187, allocations: 20 kB / 456.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004738/0.4192, allocations: 224.4 kB / 456.5 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4193, allocations: 7.984 kB / 456.5 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.155e-05/0.4193, allocations: 4 kB / 456.5 MB, free: 3.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.4193, allocations: 4 kB / 456.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002732/0.4196, allocations: 111.8 kB / 456.6 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.42, allocations: 315.8 kB / 457 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004174/0.4205, allocations: 267 kB / 457.2 MB, free: 2.258 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.4205, allocations: 12.02 kB / 457.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006933/0.4212, allocations: 0.5268 MB / 457.8 MB, free: 1.633 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.67e-06/0.4212, allocations: 0 / 457.8 MB, free: 1.633 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002059/0.4233, allocations: 1.407 MB / 459.2 MB, free: 24 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004518/0.4237, allocations: 0.6784 MB / 459.8 MB, free: 15.19 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000209/0.424, allocations: 161.4 kB / 460 MB, free: 15.03 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.605e-05/0.4241, allocations: 49.62 kB / 460 MB, free: 14.97 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4242, allocations: 167.2 kB / 460.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.4243, allocations: 75.14 kB / 460.3 MB, free: 14.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.652e-05/0.4243, allocations: 8 kB / 460.3 MB, free: 14.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.4245, allocations: 334.8 kB / 460.6 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002356/0.4248, allocations: 88.84 kB / 460.7 MB, free: 14.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002993/0.4251, allocations: 162.8 kB / 460.9 MB, free: 14.11 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005262/0.4256, allocations: 0.5309 MB / 461.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.353e-06/0.4256, allocations: 0 / 461.4 MB, free: 13.48 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001225/0.4269, allocations: 0.8247 MB / 462.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003093/0.4272, allocations: 455.2 kB / 462.7 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4272, allocations: 8 kB / 462.7 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.4273, allocations: 4 kB / 462.7 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.985e-05/0.4273, allocations: 7.938 kB / 462.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.4273, allocations: 7.938 kB / 462.7 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002709/0.4276, allocations: 35.8 kB / 462.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.4277, allocations: 27.98 kB / 462.8 MB, free: 11.92 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.0004811/0.4282, allocations: 440.4 kB / 463.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.163e-05/0.4283, allocations: 31.81 kB / 463.2 MB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.695e-05/0.4284, allocations: 16.94 kB / 463.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.4284, allocations: 0 / 463.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.519e-06/0.4284, allocations: 4 kB / 463.2 MB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.377e-06/0.4284, allocations: 7.984 kB / 463.2 MB, free: 11.37 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.4288, allocations: 301.3 kB / 463.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.759e-06/0.4288, allocations: 0 / 463.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-06/0.4288, allocations: 4 kB / 463.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.4288, allocations: 3.938 kB / 463.5 MB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.719e-05/0.4289, allocations: 23.98 kB / 463.6 MB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.93e-06/0.4289, allocations: 8 kB / 463.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.691e-06/0.4289, allocations: 0 / 463.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.4305, allocations: 0.9377 MB / 464.5 MB, free: 9.914 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.975e-05/0.4306, allocations: 96.83 kB / 464.6 MB, free: 9.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.4307, allocations: 24 kB / 464.6 MB, free: 9.777 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003197/0.4311, allocations: 52.45 kB / 464.7 MB, free: 9.727 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.4312, allocations: 31.86 kB / 464.7 MB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.667e-05/0.4313, allocations: 23.98 kB / 464.7 MB, free: 9.672 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001461/0.4314, allocations: 132.2 kB / 464.9 MB, free: 9.543 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4314, allocations: 0 / 464.9 MB, free: 9.543 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008455/0.4323, allocations: 195.9 kB / 465.1 MB, free: 9.352 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.000633/0.4329, allocations: 288.3 kB / 465.3 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.4343, allocations: 1.193 MB / 466.5 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.68e-06/0.4343, allocations: 0 / 466.5 MB, free: 7.668 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008054/0.4352, allocations: 0.71 MB / 467.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002245/0.4354, allocations: 20.5 kB / 467.3 MB, free: 6.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.4365, allocations: 0.5219 MB / 467.8 MB, free: 6.266 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004216/0.4369, allocations: 0.7406 MB / 468.5 MB, free: 5.496 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.437, allocations: 15.44 kB / 468.5 MB, free: 5.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.682e-06/0.437, allocations: 0 / 468.5 MB, free: 5.48 MB / 394.7 MB Notification: Performance of Templates: time 0.008864/0.4459, allocations: 4.36 MB / 472.9 MB, free: 1.125 MB / 394.7 MB