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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.558/2.558, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.771e-05/1.77e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.376, allocations: 54.86 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1838/0.5599, allocations: 79.83 MB / 437.9 MB, free: 14.9 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5602, allocations: 55.98 kB / 438 MB, free: 14.85 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02897/0.5892, allocations: 5.182 MB / 443.2 MB, free: 9.656 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5893, allocations: 0 / 443.2 MB, free: 9.656 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.178e-06/0.5893, allocations: 0 / 443.2 MB, free: 9.656 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.001067/0.5904, allocations: 0.8899 MB / 444.1 MB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.5904, allocations: 19.97 kB / 444.1 MB, free: 8.605 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.5906, allocations: 35.7 kB / 444.1 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002266/0.5908, allocations: 186.8 kB / 444.3 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.5909, allocations: 12 kB / 444.3 MB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.427e-05/0.5909, allocations: 16 kB / 444.3 MB, free: 8.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002935/0.5912, allocations: 79.98 kB / 444.4 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.5917, allocations: 212.4 kB / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.5917, allocations: 0 / 444.6 MB, free: 8.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.101e-05/0.5918, allocations: 11.98 kB / 444.6 MB, free: 7.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.5918, allocations: 3.953 kB / 444.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.5922, allocations: 284.4 kB / 444.9 MB, free: 7.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004324/0.5927, allocations: 251.1 kB / 445.2 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003217/0.593, allocations: 155 kB / 445.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.5931, allocations: 0 / 445.3 MB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007423/0.5938, allocations: 0.5229 MB / 445.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.394e-06/0.5938, allocations: 0 / 445.8 MB, free: 6.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001316/0.5952, allocations: 421.5 kB / 446.2 MB, free: 6.133 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003632/0.5955, allocations: 0.6743 MB / 446.9 MB, free: 5.305 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.5958, allocations: 149.4 kB / 447.1 MB, free: 5.152 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.5959, allocations: 37.7 kB / 447.1 MB, free: 5.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.596, allocations: 167.3 kB / 447.3 MB, free: 4.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001157/0.5961, allocations: 71.2 kB / 447.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.5962, allocations: 0 / 447.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5963, allocations: 338.7 kB / 447.7 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.5966, allocations: 84.88 kB / 447.8 MB, free: 4.449 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003041/0.5969, allocations: 146.5 kB / 447.9 MB, free: 4.281 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004979/0.5974, allocations: 100.4 kB / 448 MB, free: 4.184 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5974, allocations: 0 / 448 MB, free: 4.184 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001213/0.5987, allocations: 385.2 kB / 448.4 MB, free: 3.801 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003275/0.599, allocations: 455.2 kB / 448.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.599, allocations: 0 / 448.8 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.872e-05/0.5991, allocations: 4 kB / 448.8 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.848e-05/0.5992, allocations: 19.88 kB / 448.8 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.5992, allocations: 3.984 kB / 448.8 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003232/0.5995, allocations: 31.83 kB / 448.9 MB, free: 3.199 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.5996, allocations: 27.94 kB / 448.9 MB, free: 3.172 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.0004378/0.6001, allocations: 399.7 kB / 449.3 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001418/0.6015, allocations: 0.5011 MB / 449.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.675e-05/0.6016, allocations: 31.81 kB / 449.8 MB, free: 2.184 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.4e-05/0.6017, allocations: 17.55 kB / 449.8 MB, free: 2.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.6017, allocations: 4 kB / 449.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.6017, allocations: 0 / 449.8 MB, free: 2.164 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.6017, allocations: 4 kB / 449.8 MB, free: 2.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000347/0.6021, allocations: 277.7 kB / 450.1 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.6021, allocations: 3.938 kB / 450.1 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.322e-06/0.6021, allocations: 12.23 kB / 450.1 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.6021, allocations: 0 / 450.1 MB, free: 1.836 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.6022, allocations: 20 kB / 450.2 MB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.016e-06/0.6022, allocations: 8.484 kB / 450.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.6022, allocations: 0 / 450.2 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00151/0.6038, allocations: 0.6498 MB / 450.8 MB, free: 1.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.248e-05/0.6039, allocations: 100.8 kB / 450.9 MB, free: 0.9609 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/0.604, allocations: 24 kB / 450.9 MB, free: 0.9375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004434/0.6045, allocations: 43.95 kB / 451 MB, free: 0.8945 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/0.6046, allocations: 39.91 kB / 451 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.731e-05/0.6047, allocations: 23.98 kB / 451 MB, free: 0.832 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001483/0.6049, allocations: 128.2 kB / 451.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.809e-06/0.6049, allocations: 0 / 451.2 MB, free: 0.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00104/0.606, allocations: 191.8 kB / 451.4 MB, free: 0.5195 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.002869/0.6089, allocations: 1.84 MB / 453.2 MB, free: 14.6 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.6104, allocations: 1.143 MB / 454.3 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.6105, allocations: 0 / 454.3 MB, free: 13.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009208/0.6114, allocations: 0.6788 MB / 455 MB, free: 12.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002928/0.6117, allocations: 21.25 kB / 455 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.6135, allocations: 0.5029 MB / 455.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.6139, allocations: 0.7403 MB / 456.3 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.218e-05/0.614, allocations: 43.42 kB / 456.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.614, allocations: 4 kB / 456.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.78/3.394, allocations: 5.133 MB / 461.5 MB, free: 5.953 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