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.799/1.799, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004334/0.0004336, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 48.7 MB / 331.3 MB, free: 6.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.11/0.3914, allocations: 74.22 MB / 405.5 MB, free: 4.09 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/0.3916, allocations: 67.97 kB / 405.6 MB, free: 4.023 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02287/0.4145, allocations: 5.201 MB / 410.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.165e-06/0.4146, allocations: 0 / 410.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.4146, allocations: 0 / 410.8 MB, free: 14.82 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.0009689/0.4156, allocations: 0.9158 MB / 411.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.4156, allocations: 8.031 kB / 411.7 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.4157, allocations: 31.81 kB / 411.7 MB, free: 13.71 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.4159, allocations: 187.4 kB / 411.9 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.416, allocations: 8 kB / 411.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.416, allocations: 19.94 kB / 411.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004842/0.4165, allocations: 232.4 kB / 412.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.4165, allocations: 3.938 kB / 412.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.4166, allocations: 12 kB / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.403e-06/0.4166, allocations: 0 / 412.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002603/0.4169, allocations: 99.88 kB / 412.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004189/0.4173, allocations: 327.6 kB / 412.6 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004231/0.4178, allocations: 274.9 kB / 412.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.316e-06/0.4178, allocations: 0 / 412.9 MB, free: 12.36 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007011/0.4185, allocations: 0.5348 MB / 413.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.372e-06/0.4185, allocations: 0 / 413.4 MB, free: 11.74 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002072/0.4206, allocations: 1.406 MB / 414.8 MB, free: 10.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004222/0.421, allocations: 0.6785 MB / 415.5 MB, free: 9.301 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002077/0.4213, allocations: 169.3 kB / 415.6 MB, free: 9.129 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.4213, allocations: 45.7 kB / 415.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.4215, allocations: 163.2 kB / 415.8 MB, free: 8.918 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.4216, allocations: 79.22 kB / 415.9 MB, free: 8.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.4216, allocations: 4 kB / 415.9 MB, free: 8.836 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.4218, allocations: 322.8 kB / 416.2 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.422, allocations: 96.83 kB / 416.3 MB, free: 8.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003079/0.4224, allocations: 166.8 kB / 416.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005134/0.4229, allocations: 0.5154 MB / 417 MB, free: 7.613 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.4229, allocations: 0 / 417 MB, free: 7.613 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001265/0.4242, allocations: 0.8404 MB / 417.8 MB, free: 6.668 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.4245, allocations: 460.1 kB / 418.3 MB, free: 6.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.827e-06/0.4245, allocations: 4.188 kB / 418.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.4246, allocations: 7.984 kB / 418.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.04e-05/0.4246, allocations: 17.06 kB / 418.3 MB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.171e-06/0.4246, allocations: 4 kB / 418.3 MB, free: 6.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.4249, allocations: 31.89 kB / 418.4 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.425, allocations: 20 kB / 418.4 MB, free: 6.039 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.0004646/0.4255, allocations: 436.5 kB / 418.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.431e-05/0.4256, allocations: 39.77 kB / 418.8 MB, free: 5.512 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.4256, allocations: 16.92 kB / 418.9 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.4256, allocations: 4 kB / 418.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.956e-06/0.4256, allocations: 0 / 418.9 MB, free: 5.488 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.517e-06/0.4257, allocations: 4 kB / 418.9 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003669/0.426, allocations: 301.2 kB / 419.2 MB, free: 5.141 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.736e-06/0.4261, allocations: 4 kB / 419.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.578e-06/0.4261, allocations: 0 / 419.2 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.661e-06/0.4261, allocations: 4 kB / 419.2 MB, free: 5.133 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.82e-05/0.4262, allocations: 27.94 kB / 419.2 MB, free: 5.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.783e-06/0.4262, allocations: 11.88 kB / 419.2 MB, free: 5.094 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.4262, allocations: 4 kB / 419.2 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001536/0.4277, allocations: 0.9261 MB / 420.1 MB, free: 4.031 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.244e-05/0.4278, allocations: 104.8 kB / 420.2 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.4279, allocations: 24 kB / 420.3 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003152/0.4283, allocations: 43.97 kB / 420.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.4284, allocations: 35.95 kB / 420.3 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.726e-05/0.4285, allocations: 19.98 kB / 420.4 MB, free: 3.789 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001374/0.4286, allocations: 128.2 kB / 420.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.57e-07/0.4286, allocations: 0 / 420.5 MB, free: 3.664 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007914/0.4294, allocations: 199.9 kB / 420.7 MB, free: 3.469 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.0006284/0.4301, allocations: 296.2 kB / 421 MB, free: 3.172 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.4315, allocations: 1.186 MB / 422.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4315, allocations: 0 / 422.2 MB, free: 1.789 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008163/0.4323, allocations: 0.6983 MB / 422.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.4325, allocations: 28.44 kB / 422.9 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4336, allocations: 0.5258 MB / 423.4 MB, free: 388 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004367/0.4341, allocations: 0.7406 MB / 424.2 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.4341, allocations: 11.44 kB / 424.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.52e-06/0.4341, allocations: 3.938 kB / 424.2 MB, free: 15.59 MB / 362.7 MB Notification: Performance of Templates: time 0.008937/0.4431, allocations: 4.363 MB / 428.5 MB, free: 11.23 MB / 362.7 MB