Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001186/0.001186, allocations: 182.3 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.442/1.442, allocations: 194.3 MB / 207.5 MB, free: 3.461 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001664/0.001664, allocations: 105.5 kB / 252.6 MB, free: 4.848 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1981/0.1981, allocations: 39.94 MB / 337.5 MB, free: 488 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.869e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09768, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3496/0.4473, allocations: 80.51 MB / 0.5231 GB, free: 10.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002046/0.4476, allocations: 65.09 kB / 0.5231 GB, free: 10.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.4619, allocations: 5.18 MB / 0.5282 GB, free: 5.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4619, allocations: 0 / 0.5282 GB, free: 5.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.462, allocations: 4 kB / 0.5282 GB, free: 5.684 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.0006013/0.4626, allocations: 0.8922 MB / 0.5291 GB, free: 4.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.4626, allocations: 8.031 kB / 0.5291 GB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.556e-05/0.4627, allocations: 39.7 kB / 0.5291 GB, free: 4.633 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.4628, allocations: 183.8 kB / 0.5293 GB, free: 4.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/0.4628, allocations: 15.36 kB / 0.5293 GB, free: 4.406 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.163e-05/0.4629, allocations: 20 kB / 0.5293 GB, free: 4.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003263/0.4632, allocations: 221.2 kB / 0.5295 GB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.4632, allocations: 4 kB / 0.5295 GB, free: 4.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.545e-05/0.4633, allocations: 4 kB / 0.5296 GB, free: 4.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.4633, allocations: 4 kB / 0.5296 GB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.4634, allocations: 100.3 kB / 0.5297 GB, free: 4.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002794/0.4637, allocations: 323.5 kB / 0.53 GB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.464, allocations: 265.1 kB / 0.5302 GB, free: 3.469 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/0.4642, allocations: 164.9 kB / 0.5304 GB, free: 3.328 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.4642, allocations: 11.92 kB / 0.5304 GB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.4646, allocations: 0.5254 MB / 0.5309 GB, free: 2.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 1.794e-06/0.4646, allocations: 0 / 0.5309 GB, free: 2.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007582/0.4654, allocations: 0.6653 MB / 0.5315 GB, free: 2.148 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001478/0.4655, allocations: 0.6772 MB / 0.5322 GB, free: 1.336 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001106/0.4656, allocations: 168.9 kB / 0.5324 GB, free: 1.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.122e-05/0.4657, allocations: 39.27 kB / 0.5324 GB, free: 1.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.346e-05/0.4657, allocations: 113.2 kB / 0.5325 GB, free: 1.047 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.4658, allocations: 74.14 kB / 0.5326 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.384e-05/0.4658, allocations: 10.38 kB / 0.5326 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.4659, allocations: 332.7 kB / 0.5329 GB, free: 0.6641 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.466, allocations: 87.44 kB / 0.533 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.4662, allocations: 164.7 kB / 0.5332 GB, free: 464 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.4665, allocations: 0.5239 MB / 0.5337 GB, free: 15.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.466e-05/0.4665, allocations: 0 / 0.5337 GB, free: 15.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008337/0.4673, allocations: 0.8268 MB / 0.5345 GB, free: 15.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.4676, allocations: 454.3 kB / 0.5349 GB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.4676, allocations: 3.938 kB / 0.5349 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.4676, allocations: 4 kB / 0.5349 GB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.4677, allocations: 19.8 kB / 0.5349 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.4677, allocations: 3.984 kB / 0.5349 GB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.4679, allocations: 47.67 kB / 0.535 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.413e-05/0.4679, allocations: 23.77 kB / 0.535 GB, free: 14.4 MB / 362.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.0002712/0.4682, allocations: 410.3 kB / 0.5354 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.4683, allocations: 31.81 kB / 0.5354 GB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.4683, allocations: 16.81 kB / 0.5354 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.4683, allocations: 4 kB / 0.5354 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4683, allocations: 4 kB / 0.5354 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.4683, allocations: 7.984 kB / 0.5355 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.4686, allocations: 306.7 kB / 0.5357 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4686, allocations: 4 kB / 0.5358 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-06/0.4686, allocations: 0 / 0.5358 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.4686, allocations: 4 kB / 0.5358 GB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.731e-05/0.4687, allocations: 23.92 kB / 0.5358 GB, free: 13.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.4687, allocations: 4 kB / 0.5358 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.4687, allocations: 0 / 0.5358 GB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009901/0.4697, allocations: 0.9231 MB / 0.5367 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.853e-05/0.4698, allocations: 101.3 kB / 0.5368 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.4698, allocations: 19.69 kB / 0.5368 GB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.4701, allocations: 43.97 kB / 0.5368 GB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.347e-05/0.4702, allocations: 42.78 kB / 0.5369 GB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.246e-05/0.4702, allocations: 27.73 kB / 0.5369 GB, free: 12.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001067/0.4703, allocations: 127.8 kB / 0.537 GB, free: 12.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4703, allocations: 0 / 0.537 GB, free: 12.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007834/0.4711, allocations: 206.6 kB / 0.5372 GB, free: 12.12 MB / 362.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.0005045/0.4716, allocations: 284.2 kB / 0.5375 GB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009237/0.4726, allocations: 1.181 MB / 0.5387 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.4726, allocations: 4 kB / 0.5387 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005648/0.4732, allocations: 0.7118 MB / 0.5394 GB, free: 9.898 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.4734, allocations: 23.81 kB / 0.5394 GB, free: 9.879 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006283/0.474, allocations: 385.7 kB / 0.5397 GB, free: 9.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.4743, allocations: 0.7367 MB / 0.5405 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.493e-05/0.4744, allocations: 9.203 kB / 0.5405 GB, free: 8.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.244e-05/0.4744, allocations: 15.44 kB / 0.5405 GB, free: 8.734 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4744, allocations: 0 / 0.5405 GB, free: 8.734 MB / 362.7 MB Notification: Performance of Templates: time 0.00813/0.4825, allocations: 4.877 MB / 0.5452 GB, free: 3.891 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.pipe 2>&1)