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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.938/1.938, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.212e-05/2.224e-05, allocations: 0 / 271.3 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2623, allocations: 48.69 MB / 320 MB, free: 14.27 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1106/0.3729, allocations: 73.47 MB / 393.5 MB, free: 6.875 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/0.3732, allocations: 63.97 kB / 393.5 MB, free: 6.812 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02243/0.3956, allocations: 5.159 MB / 398.7 MB, free: 1.645 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3957, allocations: 3.938 kB / 398.7 MB, free: 1.641 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.3957, allocations: 8 kB / 398.7 MB, free: 1.633 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.0009426/0.3966, allocations: 0.8912 MB / 399.6 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.3967, allocations: 8.031 kB / 399.6 MB, free: 0.5938 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.3968, allocations: 23.81 kB / 399.6 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/0.397, allocations: 199.2 kB / 399.8 MB, free: 344 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.397, allocations: 4 kB / 399.8 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.3971, allocations: 16 kB / 399.8 MB, free: 324 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002407/0.3973, allocations: 83.92 kB / 399.9 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003998/0.3978, allocations: 209.8 kB / 400.1 MB, free: 0 / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.3978, allocations: 4.047 kB / 400.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.796e-05/0.3978, allocations: 8 kB / 400.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.256e-06/0.3979, allocations: 0 / 400.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003974/0.3983, allocations: 288.4 kB / 400.4 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003897/0.3987, allocations: 251.1 kB / 400.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.399, allocations: 154.8 kB / 400.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.399, allocations: 4 kB / 400.8 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.3997, allocations: 0.519 MB / 401.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.967e-06/0.3997, allocations: 0 / 401.3 MB, free: 14.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.001093/0.4008, allocations: 417.2 kB / 401.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004461/0.4013, allocations: 0.6821 MB / 402.4 MB, free: 13.29 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.4015, allocations: 153.3 kB / 402.6 MB, free: 13.14 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.564e-05/0.4016, allocations: 41.69 kB / 402.6 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4017, allocations: 171.6 kB / 402.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000103/0.4018, allocations: 71.05 kB / 402.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/0.4018, allocations: 4 kB / 402.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.402, allocations: 326.8 kB / 403.2 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.4025, allocations: 76.88 kB / 403.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006056/0.4031, allocations: 146.5 kB / 403.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009788/0.4041, allocations: 112.3 kB / 403.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.601e-06/0.4042, allocations: 0 / 403.5 MB, free: 12.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002325/0.4065, allocations: 377.2 kB / 403.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005218/0.4071, allocations: 459.9 kB / 404.3 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.4071, allocations: 4.5 kB / 404.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.181e-05/0.4072, allocations: 4 kB / 404.3 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.761e-05/0.4073, allocations: 11.92 kB / 404.3 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/0.4073, allocations: 4 kB / 404.3 MB, free: 11.22 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004698/0.4078, allocations: 43.67 kB / 404.4 MB, free: 11.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.4079, allocations: 24 kB / 404.4 MB, free: 11.16 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.0006922/0.4087, allocations: 395.7 kB / 404.8 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001922/0.4089, allocations: 39.78 kB / 404.8 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.991e-05/0.4089, allocations: 21.52 kB / 404.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.348e-06/0.409, allocations: 0 / 404.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/0.409, allocations: 4 kB / 404.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.409, allocations: 8 kB / 404.9 MB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.4097, allocations: 261.8 kB / 405.1 MB, free: 10.35 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.285e-06/0.4097, allocations: 4 kB / 405.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.421e-06/0.4097, allocations: 0 / 405.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/0.4098, allocations: 4 kB / 405.1 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/0.4099, allocations: 23.98 kB / 405.2 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.4099, allocations: 7.938 kB / 405.2 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.068e-05/0.4099, allocations: 7.891 kB / 405.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002503/0.4125, allocations: 0.6511 MB / 405.8 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.4126, allocations: 96.84 kB / 405.9 MB, free: 9.453 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.4129, allocations: 27.95 kB / 405.9 MB, free: 9.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006046/0.4135, allocations: 39.97 kB / 406 MB, free: 9.387 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.4137, allocations: 35.95 kB / 406 MB, free: 9.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001186/0.4138, allocations: 23.98 kB / 406 MB, free: 9.328 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002256/0.4141, allocations: 120.3 kB / 406.2 MB, free: 9.211 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.127e-06/0.4141, allocations: 4 kB / 406.2 MB, free: 9.207 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001525/0.4157, allocations: 187.9 kB / 406.3 MB, free: 9.023 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.001205/0.4169, allocations: 289.2 kB / 406.6 MB, free: 8.73 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00232/0.4192, allocations: 1.143 MB / 407.8 MB, free: 7.391 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.111e-06/0.4193, allocations: 4 kB / 407.8 MB, free: 7.387 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001445/0.4207, allocations: 0.6749 MB / 408.5 MB, free: 6.613 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.4212, allocations: 39.83 kB / 408.5 MB, free: 6.574 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.4228, allocations: 394.6 kB / 408.9 MB, free: 6.141 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007061/0.4236, allocations: 0.7364 MB / 409.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.297e-05/0.4237, allocations: 15.44 kB / 409.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4237, allocations: 0 / 409.6 MB, free: 5.363 MB / 346.7 MB Notification: Performance of Templates: time 0.01638/0.4401, allocations: 4.403 MB / 414 MB, free: 0.9688 MB / 346.7 MB