Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009356/0.0009356, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.276/1.276, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001611/0.001611, allocations: 106.8 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1837/0.1837, allocations: 38 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.026e-05/3.027e-05, allocations: 4 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09114/0.09119, allocations: 48.7 MB / 405.7 MB, free: 15.66 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4363, allocations: 74.12 MB / 479.8 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002049/0.4366, allocations: 64.11 kB / 479.9 MB, free: 18.64 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01582/0.4524, allocations: 5.185 MB / 485.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4525, allocations: 0 / 485.1 MB, free: 18.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.4525, allocations: 6.875 kB / 485.1 MB, free: 18.14 MB / 330.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.0006427/0.4531, allocations: 0.8866 MB / 486 MB, free: 17.23 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.974e-05/0.4532, allocations: 8.438 kB / 486 MB, free: 17.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.409e-05/0.4533, allocations: 26.56 kB / 486 MB, free: 17.22 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001166/0.4534, allocations: 187.9 kB / 486.2 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.4534, allocations: 18.72 kB / 486.2 MB, free: 17.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.261e-05/0.4535, allocations: 22.55 kB / 486.2 MB, free: 17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003036/0.4538, allocations: 223.7 kB / 486.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.4538, allocations: 0 / 486.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.4538, allocations: 7.75 kB / 486.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-06/0.4539, allocations: 3.844 kB / 486.4 MB, free: 16.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.454, allocations: 97.28 kB / 486.5 MB, free: 16.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002505/0.4543, allocations: 324 kB / 486.9 MB, free: 16.64 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.4545, allocations: 265 kB / 487.1 MB, free: 16.44 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000165/0.4547, allocations: 166.4 kB / 487.3 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.034e-05/0.4547, allocations: 7.906 kB / 487.3 MB, free: 16.37 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.4551, allocations: 0.5246 MB / 487.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.4551, allocations: 0 / 487.8 MB, free: 15.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007138/0.4558, allocations: 0.6592 MB / 488.5 MB, free: 15.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001542/0.456, allocations: 0.6816 MB / 489.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4561, allocations: 164.9 kB / 489.3 MB, free: 14.81 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.4561, allocations: 48.39 kB / 489.4 MB, free: 14.77 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.4562, allocations: 106 kB / 489.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.4562, allocations: 70.94 kB / 489.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.4563, allocations: 10.88 kB / 489.5 MB, free: 14.66 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.811e-05/0.4563, allocations: 336.6 kB / 489.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001311/0.4565, allocations: 87.42 kB / 490 MB, free: 14.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/0.4567, allocations: 164.6 kB / 490.1 MB, free: 14.27 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.4571, allocations: 0.5236 MB / 490.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4571, allocations: 0 / 490.6 MB, free: 13.76 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007983/0.4579, allocations: 0.8347 MB / 491.5 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.458, allocations: 460.6 kB / 491.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.4581, allocations: 3.875 kB / 491.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4581, allocations: 3.875 kB / 491.9 MB, free: 12.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.4581, allocations: 10.02 kB / 491.9 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.096e-05/0.4581, allocations: 7.875 kB / 492 MB, free: 12.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001603/0.4583, allocations: 37.56 kB / 492 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.287e-05/0.4584, allocations: 30.36 kB / 492 MB, free: 12.67 MB / 330.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.0001907/0.4586, allocations: 403 kB / 492.4 MB, free: 12.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.4586, allocations: 38.61 kB / 492.4 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.29e-05/0.4587, allocations: 15.23 kB / 492.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.4587, allocations: 3.938 kB / 492.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4587, allocations: 4 kB / 492.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.4587, allocations: 3.938 kB / 492.5 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000307/0.459, allocations: 305 kB / 492.8 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.459, allocations: 7.859 kB / 492.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.333e-06/0.459, allocations: 0 / 492.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.459, allocations: 7.891 kB / 492.8 MB, free: 12.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.661e-05/0.4591, allocations: 26.05 kB / 492.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4591, allocations: 7.875 kB / 492.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.624e-06/0.4591, allocations: 0 / 492.8 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007891/0.4599, allocations: 0.9145 MB / 493.7 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.786e-05/0.4599, allocations: 104.3 kB / 493.8 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.658e-05/0.46, allocations: 25.75 kB / 493.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.4602, allocations: 45.62 kB / 493.9 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.339e-05/0.4603, allocations: 32.12 kB / 493.9 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.624e-05/0.4604, allocations: 21.86 kB / 494 MB, free: 11.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.608e-05/0.4605, allocations: 125.8 kB / 494.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4605, allocations: 0 / 494.1 MB, free: 11.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006931/0.4612, allocations: 199.1 kB / 494.3 MB, free: 11.35 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) * 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.0004616/0.4616, allocations: 290.4 kB / 494.6 MB, free: 11.23 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.4623, allocations: 1.178 MB / 495.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.4623, allocations: 0 / 495.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003982/0.4627, allocations: 0.7101 MB / 496.4 MB, free: 9.707 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001692/0.4629, allocations: 30.17 kB / 496.5 MB, free: 9.699 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005654/0.4635, allocations: 395.5 kB / 496.9 MB, free: 9.531 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000163/0.4636, allocations: 0.7328 MB / 497.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.8e-05/0.4637, allocations: 8.234 kB / 497.6 MB, free: 8.832 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.704e-05/0.4637, allocations: 14.91 kB / 497.6 MB, free: 8.824 MB / 330.7 MB Notification: Performance of SimCode: time 3.31e-07/0.4637, allocations: 4 kB / 497.6 MB, free: 8.82 MB / 330.7 MB Notification: Performance of Templates: time 0.00768/0.4714, allocations: 4.884 MB / 0.4907 GB, free: 8.324 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.pipe 2>&1)