Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/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.1_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004605/0.004611, allocations: 347.1 kB / 15.93 MB, free: 6.223 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.81/3.81, allocations: 341.5 MB / 358.2 MB, free: 28.6 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003686/0.003686, allocations: 220.4 kB / 397.8 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5912/0.5912, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004913/0.0004915, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0917/0.09222, allocations: 48.7 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4858/0.5781, allocations: 74.22 MB / 0.6792 GB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/0.5785, allocations: 69.91 kB / 0.6793 GB, free: 12.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04077/0.6193, allocations: 5.205 MB / 0.6844 GB, free: 8.141 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.496e-06/0.6193, allocations: 4 kB / 0.6844 GB, free: 8.137 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.6194, allocations: 0 / 0.6844 GB, free: 8.137 MB / 314.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.001227/0.6206, allocations: 0.9157 MB / 0.6853 GB, free: 7.105 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/0.6207, allocations: 8.031 kB / 0.6853 GB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001488/0.6209, allocations: 35.81 kB / 0.6853 GB, free: 7.062 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.6211, allocations: 187.3 kB / 0.6855 GB, free: 6.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.213e-05/0.6211, allocations: 8 kB / 0.6855 GB, free: 6.832 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.082e-05/0.6212, allocations: 19.5 kB / 0.6855 GB, free: 6.816 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.622, allocations: 228.5 kB / 0.6857 GB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.622, allocations: 0 / 0.6857 GB, free: 6.605 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.398e-05/0.6221, allocations: 8 kB / 0.6857 GB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.6221, allocations: 0 / 0.6857 GB, free: 6.598 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004338/0.6226, allocations: 105.7 kB / 0.6858 GB, free: 6.523 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.6231, allocations: 331.6 kB / 0.6861 GB, free: 6.172 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.6237, allocations: 268.1 kB / 0.6864 GB, free: 5.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.6243, allocations: 162.4 kB / 0.6866 GB, free: 5.742 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.6243, allocations: 4 kB / 0.6866 GB, free: 5.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000926/0.6252, allocations: 0.53 MB / 0.6871 GB, free: 5.188 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 6.633e-06/0.6253, allocations: 0 / 0.6871 GB, free: 5.188 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002459/0.6278, allocations: 0.7957 MB / 0.6879 GB, free: 4.484 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002959/0.6281, allocations: 0.682 MB / 0.6885 GB, free: 3.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002637/0.6284, allocations: 185.5 kB / 0.6887 GB, free: 3.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.6285, allocations: 48.19 kB / 0.6887 GB, free: 3.453 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.029e-05/0.6286, allocations: 101.6 kB / 0.6888 GB, free: 3.367 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.6287, allocations: 75.5 kB / 0.6889 GB, free: 3.312 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.399e-05/0.6288, allocations: 3.438 kB / 0.6889 GB, free: 3.312 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.6289, allocations: 341.2 kB / 0.6892 GB, free: 2.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003588/0.6293, allocations: 93.45 kB / 0.6893 GB, free: 2.914 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.6298, allocations: 162.1 kB / 0.6895 GB, free: 2.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006701/0.6305, allocations: 0.5262 MB / 0.69 GB, free: 2.188 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6305, allocations: 4 kB / 0.69 GB, free: 2.184 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001694/0.6322, allocations: 0.8469 MB / 0.6908 GB, free: 1.336 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002549/0.6325, allocations: 457.9 kB / 0.6913 GB, free: 0.8008 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.6326, allocations: 7.938 kB / 0.6913 GB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.034e-05/0.6326, allocations: 0 / 0.6913 GB, free: 0.793 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.936e-05/0.6327, allocations: 8 kB / 0.6913 GB, free: 0.7852 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.87e-05/0.6328, allocations: 7.938 kB / 0.6913 GB, free: 0.7773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004717/0.6332, allocations: 31.27 kB / 0.6913 GB, free: 0.75 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001097/0.6334, allocations: 27.67 kB / 0.6913 GB, free: 0.7266 MB / 314.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.0006918/0.6341, allocations: 426.2 kB / 0.6917 GB, free: 292 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.6343, allocations: 35.77 kB / 0.6918 GB, free: 256 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.379e-05/0.6343, allocations: 16.55 kB / 0.6918 GB, free: 244 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6344, allocations: 7.984 kB / 0.6918 GB, free: 236 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.189e-05/0.6344, allocations: 4 kB / 0.6918 GB, free: 232 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.6344, allocations: 0 / 0.6918 GB, free: 232 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005815/0.635, allocations: 300.8 kB / 0.6921 GB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.6351, allocations: 4 kB / 0.6921 GB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.614e-06/0.6351, allocations: 8 kB / 0.6921 GB, free: 15.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.254e-05/0.6351, allocations: 3.953 kB / 0.6921 GB, free: 15.9 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.882e-05/0.6352, allocations: 23.67 kB / 0.6921 GB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.274e-05/0.6353, allocations: 4 kB / 0.6921 GB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6353, allocations: 3.938 kB / 0.6921 GB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00261/0.6379, allocations: 0.8528 MB / 0.693 GB, free: 15.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.6381, allocations: 101.3 kB / 0.6931 GB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001875/0.6383, allocations: 31.39 kB / 0.6931 GB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007005/0.639, allocations: 43.16 kB / 0.6931 GB, free: 14.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000193/0.6392, allocations: 35.89 kB / 0.6932 GB, free: 14.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001045/0.6394, allocations: 30.86 kB / 0.6932 GB, free: 14.87 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.6396, allocations: 123.9 kB / 0.6933 GB, free: 14.76 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6396, allocations: 0 / 0.6933 GB, free: 14.76 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001486/0.6411, allocations: 198.5 kB / 0.6935 GB, free: 14.57 MB / 330.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.001213/0.6424, allocations: 290.3 kB / 0.6938 GB, free: 14.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/0.6448, allocations: 1.195 MB / 0.695 GB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/0.6449, allocations: 3.938 kB / 0.695 GB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.6464, allocations: 0.7069 MB / 0.6957 GB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006017/0.647, allocations: 44.08 kB / 0.6957 GB, free: 12.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001858/0.6489, allocations: 0.4964 MB / 0.6962 GB, free: 11.83 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.6495, allocations: 0.7361 MB / 0.6969 GB, free: 11.07 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.6496, allocations: 13.42 kB / 0.6969 GB, free: 11.05 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.6497, allocations: 11.44 kB / 0.6969 GB, free: 11.04 MB / 330.7 MB Notification: Performance of SimCode: time 2.184e-06/0.6497, allocations: 4 kB / 0.6969 GB, free: 11.04 MB / 330.7 MB Notification: Performance of Templates: time 0.01571/0.6654, allocations: 4.87 MB / 0.7017 GB, free: 6.207 MB / 330.7 MB