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.774/2.774, allocations: 234.9 MB / 250.5 MB, free: 9.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006441/0.0006442, allocations: 12 kB / 314.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4142/0.4149, allocations: 54.85 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2073/0.6223, allocations: 80.6 MB / 449.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.6227, allocations: 63.97 kB / 450 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02723/0.6499, allocations: 5.205 MB / 455.2 MB, free: 6.797 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.65, allocations: 8 kB / 455.2 MB, free: 6.789 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.65, allocations: 0 / 455.2 MB, free: 6.789 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.001085/0.6511, allocations: 0.9158 MB / 456.1 MB, free: 5.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.133e-05/0.6512, allocations: 8.031 kB / 456.1 MB, free: 5.719 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.6512, allocations: 46.55 kB / 456.2 MB, free: 5.664 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.782e-05/0.6514, allocations: 35.77 kB / 456.2 MB, free: 5.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.6515, allocations: 178.9 kB / 456.4 MB, free: 5.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.6516, allocations: 11.98 kB / 456.4 MB, free: 5.402 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.6517, allocations: 20 kB / 456.4 MB, free: 5.383 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005438/0.6522, allocations: 224.4 kB / 456.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.6522, allocations: 0 / 456.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.112e-05/0.6523, allocations: 12 kB / 456.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.6523, allocations: 3.953 kB / 456.7 MB, free: 5.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003003/0.6526, allocations: 107.8 kB / 456.8 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.6531, allocations: 319.8 kB / 457.1 MB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.6536, allocations: 263.2 kB / 457.3 MB, free: 4.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.6536, allocations: 15.91 kB / 457.4 MB, free: 4.285 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007823/0.6544, allocations: 0.5308 MB / 457.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 3.447e-06/0.6544, allocations: 0 / 457.9 MB, free: 3.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.002386/0.6568, allocations: 1.415 MB / 459.3 MB, free: 2.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004014/0.6573, allocations: 0.6744 MB / 460 MB, free: 1.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002373/0.6575, allocations: 169.4 kB / 460.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.703e-05/0.6576, allocations: 41.7 kB / 460.2 MB, free: 1.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001062/0.6577, allocations: 171.5 kB / 460.4 MB, free: 0.832 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.6579, allocations: 71.22 kB / 460.4 MB, free: 0.7617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.976e-05/0.6579, allocations: 8 kB / 460.4 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.6581, allocations: 330.8 kB / 460.8 MB, free: 432 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/0.6583, allocations: 92.78 kB / 460.8 MB, free: 336 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.6587, allocations: 158.8 kB / 461 MB, free: 152 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005771/0.6593, allocations: 0.5309 MB / 461.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.96e-06/0.6593, allocations: 0 / 461.5 MB, free: 15.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001398/0.6607, allocations: 0.8207 MB / 462.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002995/0.661, allocations: 463.1 kB / 462.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.6611, allocations: 0 / 462.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.345e-05/0.6611, allocations: 4 kB / 462.8 MB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.461e-05/0.6612, allocations: 15.94 kB / 462.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.6612, allocations: 4 kB / 462.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.6615, allocations: 39.8 kB / 462.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.474e-05/0.6616, allocations: 27.92 kB / 462.9 MB, free: 13.95 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.0005124/0.6621, allocations: 428.5 kB / 463.3 MB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.6623, allocations: 35.8 kB / 463.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.6623, allocations: 12.94 kB / 463.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6623, allocations: 7.984 kB / 463.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.6623, allocations: 4 kB / 463.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.6624, allocations: 4 kB / 463.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000385/0.6628, allocations: 305.2 kB / 463.7 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6628, allocations: 4 kB / 463.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-06/0.6628, allocations: 3.938 kB / 463.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.6628, allocations: 4 kB / 463.7 MB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.169e-05/0.6629, allocations: 24.48 kB / 463.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.6629, allocations: 4 kB / 463.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.6629, allocations: 0 / 463.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/0.6647, allocations: 0.9455 MB / 464.7 MB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.843e-05/0.6648, allocations: 92.83 kB / 464.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/0.665, allocations: 24 kB / 464.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004435/0.6654, allocations: 43.95 kB / 464.8 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.6656, allocations: 39.92 kB / 464.9 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.755e-05/0.6657, allocations: 23.98 kB / 464.9 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001492/0.6658, allocations: 128.2 kB / 465 MB, free: 11.58 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6658, allocations: 0 / 465 MB, free: 11.58 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000997/0.6668, allocations: 203.8 kB / 465.2 MB, free: 11.38 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.003283/0.6701, allocations: 2.137 MB / 467.3 MB, free: 9.113 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001544/0.6717, allocations: 1.178 MB / 468.5 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.6718, allocations: 0 / 468.5 MB, free: 7.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009207/0.6727, allocations: 0.7143 MB / 469.2 MB, free: 6.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.673, allocations: 23.98 kB / 469.3 MB, free: 6.902 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.6773, allocations: 2.615 MB / 471.9 MB, free: 4.176 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.6777, allocations: 0.7405 MB / 472.6 MB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.234e-05/0.6778, allocations: 39.42 kB / 472.6 MB, free: 3.367 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.6778, allocations: 4 kB / 472.7 MB, free: 3.363 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.806/3.484, allocations: 5.041 MB / 477.7 MB, free: 14.33 MB / 410.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