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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.25/2.25, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.95e-05, allocations: 4 kB / 303.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2699, allocations: 54.86 MB / 358 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1194/0.3893, allocations: 79.84 MB / 437.9 MB, free: 14.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000196/0.3896, allocations: 59.97 kB / 437.9 MB, free: 14.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02262/0.4122, allocations: 5.162 MB / 443.1 MB, free: 9.742 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.581e-06/0.4122, allocations: 4 kB / 443.1 MB, free: 9.738 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.472e-06/0.4123, allocations: 3.938 kB / 443.1 MB, free: 9.734 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.0009442/0.4132, allocations: 0.8917 MB / 444 MB, free: 8.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.4133, allocations: 8.031 kB / 444 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.025e-05/0.4134, allocations: 31.77 kB / 444 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.4136, allocations: 182.9 kB / 444.2 MB, free: 8.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.739e-05/0.4136, allocations: 8 kB / 444.2 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.926e-05/0.4137, allocations: 23.98 kB / 444.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002493/0.4139, allocations: 79.92 kB / 444.3 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004097/0.4143, allocations: 213.1 kB / 444.5 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.4144, allocations: 3.938 kB / 444.5 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.394e-05/0.4144, allocations: 8 kB / 444.5 MB, free: 8.082 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.285e-06/0.4144, allocations: 3.953 kB / 444.5 MB, free: 8.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.4148, allocations: 284.3 kB / 444.8 MB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003881/0.4152, allocations: 250.9 kB / 445.1 MB, free: 7.426 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/0.4155, allocations: 151.1 kB / 445.2 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.4155, allocations: 11.98 kB / 445.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.4162, allocations: 0.5151 MB / 445.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.31e-06/0.4162, allocations: 4 kB / 445.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001074/0.4173, allocations: 413.2 kB / 446.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004176/0.4178, allocations: 0.6743 MB / 446.8 MB, free: 5.398 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.418, allocations: 153.4 kB / 447 MB, free: 5.242 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.646e-05/0.4181, allocations: 45.94 kB / 447 MB, free: 5.191 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.4182, allocations: 163.3 kB / 447.2 MB, free: 5.031 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.4183, allocations: 75.16 kB / 447.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.961e-05/0.4183, allocations: 0 / 447.3 MB, free: 4.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4185, allocations: 334.8 kB / 447.6 MB, free: 4.621 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002075/0.4187, allocations: 80.88 kB / 447.7 MB, free: 4.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.419, allocations: 146.5 kB / 447.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004394/0.4194, allocations: 104.3 kB / 447.9 MB, free: 4.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-06/0.4195, allocations: 4 kB / 447.9 MB, free: 4.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001071/0.4206, allocations: 381.2 kB / 448.3 MB, free: 3.887 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/0.4209, allocations: 455.2 kB / 448.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.323e-06/0.4209, allocations: 0 / 448.7 MB, free: 3.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.4209, allocations: 4 kB / 448.7 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.096e-05/0.421, allocations: 15.92 kB / 448.7 MB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.709e-06/0.421, allocations: 8 kB / 448.8 MB, free: 3.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4213, allocations: 35.77 kB / 448.8 MB, free: 3.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.4213, allocations: 16 kB / 448.8 MB, free: 3.266 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.0004062/0.4218, allocations: 405.2 kB / 449.2 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.665e-05/0.4219, allocations: 35.72 kB / 449.2 MB, free: 2.777 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.4219, allocations: 17.55 kB / 449.2 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.148e-06/0.4219, allocations: 4 kB / 449.3 MB, free: 2.758 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.616e-06/0.4219, allocations: 12.44 kB / 449.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.79e-06/0.422, allocations: 0 / 449.3 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003345/0.4223, allocations: 269.9 kB / 449.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.754e-06/0.4223, allocations: 4 kB / 449.5 MB, free: 2.441 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-06/0.4223, allocations: 4 kB / 449.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.736e-06/0.4224, allocations: 4 kB / 449.5 MB, free: 2.434 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.4224, allocations: 19.98 kB / 449.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.416e-06/0.4224, allocations: 7.938 kB / 449.6 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.306e-06/0.4225, allocations: 4 kB / 449.6 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.4237, allocations: 0.6536 MB / 450.2 MB, free: 1.668 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-05/0.4238, allocations: 92.92 kB / 450.3 MB, free: 1.559 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.424, allocations: 23.98 kB / 450.3 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003016/0.4243, allocations: 51.91 kB / 450.4 MB, free: 1.484 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4244, allocations: 35.94 kB / 450.4 MB, free: 1.449 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.08e-05/0.4245, allocations: 27.94 kB / 450.5 MB, free: 1.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.4246, allocations: 120.3 kB / 450.6 MB, free: 1.305 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.93e-07/0.4246, allocations: 0 / 450.6 MB, free: 1.305 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007983/0.4254, allocations: 187.9 kB / 450.8 MB, free: 1.121 MB / 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.0006692/0.4261, allocations: 289.2 kB / 451 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001312/0.4275, allocations: 1.139 MB / 452.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.67e-06/0.4275, allocations: 0 / 452.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007765/0.4283, allocations: 0.6866 MB / 452.9 MB, free: 14.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.4285, allocations: 19.98 kB / 452.9 MB, free: 14.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008764/0.4294, allocations: 401.5 kB / 453.3 MB, free: 14.24 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004204/0.4298, allocations: 0.7364 MB / 454 MB, free: 13.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.4299, allocations: 11.44 kB / 454 MB, free: 13.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4299, allocations: 0 / 454 MB, free: 13.47 MB / 394.7 MB Notification: Performance of Templates: time 0.009111/0.439, allocations: 4.41 MB / 458.4 MB, free: 9.062 MB / 394.7 MB