Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.056/2.056, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004624/0.0004624, allocations: 19.98 kB / 282.7 MB, free: 9.559 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3419/0.3424, allocations: 48.7 MB / 331.4 MB, free: 6.391 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.4946, allocations: 74.22 MB / 405.6 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003055/0.495, allocations: 59.98 kB / 405.6 MB, free: 4.012 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03062/0.5257, allocations: 5.212 MB / 410.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5257, allocations: 0 / 410.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.5257, allocations: 4 kB / 410.8 MB, free: 14.8 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.001297/0.527, allocations: 0.912 MB / 411.8 MB, free: 13.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.341e-05/0.5271, allocations: 12.03 kB / 411.8 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001002/0.5272, allocations: 46.55 kB / 411.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.5274, allocations: 27.81 kB / 411.8 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000219/0.5276, allocations: 199.3 kB / 412 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.5277, allocations: 8 kB / 412 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.982e-05/0.5277, allocations: 23.98 kB / 412.1 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005779/0.5283, allocations: 224.4 kB / 412.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.5284, allocations: 0 / 412.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.915e-05/0.5284, allocations: 11.94 kB / 412.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/0.5285, allocations: 3.984 kB / 412.3 MB, free: 13.11 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.5288, allocations: 107.8 kB / 412.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.5293, allocations: 327.7 kB / 412.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005066/0.5298, allocations: 267.1 kB / 413 MB, free: 12.29 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.592e-05/0.5299, allocations: 4 kB / 413 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008375/0.5307, allocations: 0.5231 MB / 413.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 3.356e-06/0.5307, allocations: 0 / 413.5 MB, free: 11.67 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.002523/0.5333, allocations: 1.411 MB / 414.9 MB, free: 10.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004782/0.5338, allocations: 0.6784 MB / 415.6 MB, free: 9.227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000259/0.5341, allocations: 169.3 kB / 415.8 MB, free: 9.055 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001011/0.5342, allocations: 41.7 kB / 415.8 MB, free: 9.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001172/0.5343, allocations: 167.2 kB / 416 MB, free: 8.844 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.5344, allocations: 75.17 kB / 416 MB, free: 8.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.5345, allocations: 8 kB / 416.1 MB, free: 8.762 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.5347, allocations: 330.8 kB / 416.4 MB, free: 8.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002962/0.535, allocations: 92.84 kB / 416.5 MB, free: 8.336 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.5353, allocations: 162.8 kB / 416.6 MB, free: 8.156 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006097/0.536, allocations: 0.527 MB / 417.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.322e-06/0.536, allocations: 0 / 417.2 MB, free: 7.531 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001495/0.5375, allocations: 0.8362 MB / 418 MB, free: 6.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003296/0.5379, allocations: 455.2 kB / 418.4 MB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.267e-05/0.5379, allocations: 7.984 kB / 418.4 MB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.623e-05/0.5379, allocations: 4 kB / 418.4 MB, free: 6.035 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.425e-05/0.538, allocations: 7.938 kB / 418.5 MB, free: 6.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.538, allocations: 7.938 kB / 418.5 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/0.5384, allocations: 31.89 kB / 418.5 MB, free: 5.988 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.579e-05/0.5385, allocations: 27.98 kB / 418.5 MB, free: 5.961 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.0005624/0.539, allocations: 436.4 kB / 419 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001154/0.5392, allocations: 35.77 kB / 419 MB, free: 5.438 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.5392, allocations: 16.92 kB / 419 MB, free: 5.418 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5392, allocations: 4 kB / 419 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5393, allocations: 3.938 kB / 419 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5393, allocations: 4 kB / 419 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000404/0.5397, allocations: 297.3 kB / 419.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5397, allocations: 0 / 419.3 MB, free: 5.066 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.925e-06/0.5397, allocations: 4 kB / 419.3 MB, free: 5.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.5397, allocations: 7.953 kB / 419.3 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.398e-05/0.5398, allocations: 23.98 kB / 419.3 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.5398, allocations: 4 kB / 419.3 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.5398, allocations: 4 kB / 419.3 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.5417, allocations: 0.9261 MB / 420.3 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.677e-05/0.5418, allocations: 104.8 kB / 420.4 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.542, allocations: 28.5 kB / 420.4 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004553/0.5425, allocations: 43.97 kB / 420.4 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.5426, allocations: 31.89 kB / 420.5 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.599e-05/0.5427, allocations: 27.98 kB / 420.5 MB, free: 3.715 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001576/0.5429, allocations: 128.2 kB / 420.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5429, allocations: 0 / 420.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009864/0.5439, allocations: 195.9 kB / 420.8 MB, free: 3.398 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.003328/0.5472, allocations: 2.137 MB / 423 MB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.5491, allocations: 1.193 MB / 424.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5491, allocations: 0 / 424.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.5501, allocations: 0.7061 MB / 424.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.5504, allocations: 16 kB / 424.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.555, allocations: 2.631 MB / 427.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004525/0.5556, allocations: 0.7405 MB / 428.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.5557, allocations: 47.42 kB / 428.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5557, allocations: 0 / 428.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.002/3.558, allocations: 5.044 MB / 433.3 MB, free: 6.32 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat