Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 235 MB / 248.1 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.79e-05, allocations: 4 kB / 309.8 MB, free: 1.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4069/0.4069, allocations: 54.85 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1448/0.5518, allocations: 80.5 MB / 445.1 MB, free: 15.99 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.5521, allocations: 64.67 kB / 445.2 MB, free: 15.93 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02657/0.5787, allocations: 5.189 MB / 450.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5788, allocations: 0 / 450.4 MB, free: 10.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.5788, allocations: 4 kB / 450.4 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.001219/0.58, allocations: 0.8957 MB / 451.3 MB, free: 9.723 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.5801, allocations: 11.97 kB / 451.3 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.037e-05/0.5802, allocations: 43.38 kB / 451.3 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.5803, allocations: 31.77 kB / 451.4 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.5805, allocations: 191.2 kB / 451.5 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.009e-05/0.5805, allocations: 12 kB / 451.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.984e-05/0.5806, allocations: 20 kB / 451.6 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005433/0.5812, allocations: 224.4 kB / 451.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5812, allocations: 0 / 451.8 MB, free: 9.121 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.5813, allocations: 8 kB / 451.8 MB, free: 9.113 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.705e-05/0.5813, allocations: 7.953 kB / 451.8 MB, free: 9.105 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.5816, allocations: 103.9 kB / 451.9 MB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.582, allocations: 311.8 kB / 452.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004523/0.5825, allocations: 269.5 kB / 452.5 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.5829, allocations: 174.1 kB / 452.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.5829, allocations: 4 kB / 452.7 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007696/0.5837, allocations: 0.532 MB / 453.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.316e-06/0.5837, allocations: 0 / 453.2 MB, free: 7.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001512/0.5852, allocations: 0.659 MB / 453.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003592/0.5856, allocations: 0.6859 MB / 454.5 MB, free: 5.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.5858, allocations: 157.9 kB / 454.7 MB, free: 5.766 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.137e-05/0.5859, allocations: 41.7 kB / 454.7 MB, free: 5.719 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.828e-05/0.586, allocations: 171.6 kB / 454.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5861, allocations: 71.2 kB / 455 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.796e-05/0.5862, allocations: 8 kB / 455 MB, free: 5.473 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5863, allocations: 330.8 kB / 455.3 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002741/0.5866, allocations: 88.88 kB / 455.4 MB, free: 5.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003294/0.587, allocations: 158.8 kB / 455.5 MB, free: 4.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005288/0.5875, allocations: 0.5265 MB / 456.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.5875, allocations: 0 / 456.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001386/0.5889, allocations: 0.8324 MB / 456.9 MB, free: 3.305 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002799/0.5892, allocations: 455.2 kB / 457.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.5893, allocations: 0 / 457.3 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.508e-05/0.5893, allocations: 7.938 kB / 457.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.739e-05/0.5894, allocations: 11.92 kB / 457.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5894, allocations: 4 kB / 457.4 MB, free: 2.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.5897, allocations: 47.69 kB / 457.4 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.147e-05/0.5898, allocations: 24 kB / 457.4 MB, free: 2.668 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.0004167/0.5903, allocations: 403.7 kB / 457.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.5904, allocations: 35.8 kB / 457.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.662e-05/0.5904, allocations: 12.94 kB / 457.9 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.5905, allocations: 7.984 kB / 457.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.5905, allocations: 4 kB / 457.9 MB, free: 2.148 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5905, allocations: 7.984 kB / 457.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003671/0.5909, allocations: 301.2 kB / 458.2 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5909, allocations: 7.938 kB / 458.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-06/0.5909, allocations: 0 / 458.2 MB, free: 1.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.5909, allocations: 4 kB / 458.2 MB, free: 1.785 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.301e-05/0.591, allocations: 23.98 kB / 458.2 MB, free: 1.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.591, allocations: 3.938 kB / 458.2 MB, free: 1.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.591, allocations: 4 kB / 458.2 MB, free: 1.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5928, allocations: 0.9221 MB / 459.2 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.588e-05/0.5929, allocations: 96.91 kB / 459.2 MB, free: 0.5859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.593, allocations: 20 kB / 459.3 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/0.5935, allocations: 47.97 kB / 459.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.5936, allocations: 39.89 kB / 459.4 MB, free: 492 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-05/0.5937, allocations: 24.48 kB / 459.4 MB, free: 468 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001547/0.5939, allocations: 128.3 kB / 459.5 MB, free: 340 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5939, allocations: 0 / 459.5 MB, free: 340 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009151/0.5948, allocations: 199.9 kB / 459.7 MB, free: 140 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.003132/0.598, allocations: 2.13 MB / 461.8 MB, free: 13.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.5996, allocations: 1.186 MB / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.5996, allocations: 0 / 463 MB, free: 12.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009015/0.6005, allocations: 0.6949 MB / 463.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.6008, allocations: 24.06 kB / 463.7 MB, free: 11.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.6026, allocations: 0.5346 MB / 464.3 MB, free: 11.08 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.6029, allocations: 0.7367 MB / 465 MB, free: 10.31 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.758e-05/0.6031, allocations: 43.42 kB / 465 MB, free: 10.27 MB / 394.7 MB Notification: Performance of SimCode: time 1.083e-06/0.6031, allocations: 0 / 465 MB, free: 10.27 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.678/3.281, allocations: 5.058 MB / 470.1 MB, free: 5.215 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat