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.002197/0.002197, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.434/1.434, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.00139/0.00139, allocations: 103.5 kB / 218 MB, free: 8.344 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.1772/0.1772, allocations: 37.98 MB / 295.1 MB, free: 9.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.747e-05/1.751e-05, allocations: 3.797 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4844, allocations: 73.46 MB / 472.2 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.4847, allocations: 59.28 kB / 472.2 MB, free: 17.85 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01821/0.5029, allocations: 5.163 MB / 477.4 MB, free: 33.37 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.176e-06/0.503, allocations: 0 / 477.4 MB, free: 33.37 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.357e-05/0.503, allocations: 5.344 kB / 477.4 MB, free: 33.36 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.000951/0.504, allocations: 0.8845 MB / 478.3 MB, free: 32.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.504, allocations: 9.344 kB / 478.3 MB, free: 32.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.5042, allocations: 25.28 kB / 478.3 MB, free: 32.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.5044, allocations: 200.5 kB / 478.5 MB, free: 32.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.12e-05/0.5044, allocations: 9.094 kB / 478.5 MB, free: 32.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.822e-05/0.5045, allocations: 19.84 kB / 478.6 MB, free: 32.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002559/0.5048, allocations: 83.19 kB / 478.6 MB, free: 32.22 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/0.5051, allocations: 212.6 kB / 478.8 MB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.5051, allocations: 0 / 478.8 MB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/0.5051, allocations: 8.516 kB / 478.8 MB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.5052, allocations: 1.375 kB / 478.8 MB, free: 32.12 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003188/0.5055, allocations: 283.2 kB / 479.1 MB, free: 31.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002932/0.5058, allocations: 246.9 kB / 479.4 MB, free: 31.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.506, allocations: 161.6 kB / 479.5 MB, free: 31.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.506, allocations: 5.344 kB / 479.5 MB, free: 31.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004304/0.5065, allocations: 0.5099 MB / 480 MB, free: 31.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 2.324e-06/0.5065, allocations: 0 / 480 MB, free: 31.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.000843/0.5073, allocations: 415.6 kB / 480.4 MB, free: 31.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/0.5075, allocations: 0.6768 MB / 481.1 MB, free: 30.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.5077, allocations: 161.5 kB / 481.3 MB, free: 30.33 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.761e-05/0.5077, allocations: 38.53 kB / 481.3 MB, free: 30.3 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.782e-05/0.5078, allocations: 108.2 kB / 481.4 MB, free: 30.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.009e-05/0.5079, allocations: 75.73 kB / 481.5 MB, free: 30.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.5079, allocations: 1.094 kB / 481.5 MB, free: 30.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.508, allocations: 334.7 kB / 481.8 MB, free: 29.87 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.5082, allocations: 82.86 kB / 481.9 MB, free: 29.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.5084, allocations: 146.3 kB / 482 MB, free: 29.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.5088, allocations: 108.2 kB / 482.2 MB, free: 29.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.5088, allocations: 1.062 kB / 482.2 MB, free: 29.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001235/0.5101, allocations: 388.3 kB / 482.5 MB, free: 29.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/0.5103, allocations: 461.3 kB / 483 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.5103, allocations: 1 kB / 483 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.261e-05/0.5104, allocations: 8.734 kB / 483 MB, free: 29.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.5105, allocations: 14.97 kB / 483 MB, free: 29.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.222e-05/0.5105, allocations: 3.688 kB / 483 MB, free: 29.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003484/0.5109, allocations: 39.47 kB / 483.1 MB, free: 29.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/0.511, allocations: 25.53 kB / 483.1 MB, free: 29.2 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 () * 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.0004135/0.5114, allocations: 402.5 kB / 483.5 MB, free: 28.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.5116, allocations: 31.59 kB / 483.5 MB, free: 28.82 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.622e-05/0.5116, allocations: 20.17 kB / 483.5 MB, free: 28.81 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.5116, allocations: 3.219 kB / 483.5 MB, free: 28.81 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/0.5117, allocations: 2.125 kB / 483.5 MB, free: 28.81 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5117, allocations: 6.656 kB / 483.5 MB, free: 28.8 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003552/0.512, allocations: 263.5 kB / 483.8 MB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.5121, allocations: 2.281 kB / 483.8 MB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.362e-06/0.5121, allocations: 6.312 kB / 483.8 MB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.5121, allocations: 5.172 kB / 483.8 MB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.938e-05/0.5122, allocations: 24.7 kB / 483.8 MB, free: 28.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.5122, allocations: 6.25 kB / 483.8 MB, free: 28.63 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.5122, allocations: 6.203 kB / 483.8 MB, free: 28.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.5136, allocations: 0.645 MB / 484.5 MB, free: 28.37 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.299e-05/0.5137, allocations: 101.2 kB / 484.6 MB, free: 28.26 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5139, allocations: 34.72 kB / 484.6 MB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.5143, allocations: 41.77 kB / 484.7 MB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/0.5144, allocations: 28.11 kB / 484.7 MB, free: 28.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.591e-05/0.5145, allocations: 26.88 kB / 484.7 MB, free: 28.25 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.5146, allocations: 120.5 kB / 484.8 MB, free: 28.17 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5146, allocations: 0 / 484.8 MB, free: 28.17 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00126/0.5159, allocations: 191.5 kB / 485 MB, free: 28.14 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) * 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.001144/0.5171, allocations: 288.1 kB / 485.3 MB, free: 28.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001132/0.5182, allocations: 1.14 MB / 486.4 MB, free: 27.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5182, allocations: 0 / 486.4 MB, free: 27.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000701/0.5189, allocations: 0.6855 MB / 487.1 MB, free: 26.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.5193, allocations: 27.66 kB / 487.2 MB, free: 26.51 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009875/0.5203, allocations: 373 kB / 487.5 MB, free: 26.34 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.5207, allocations: 0.7368 MB / 488.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.787e-05/0.5208, allocations: 11.02 kB / 488.3 MB, free: 25.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.864e-05/0.5208, allocations: 12.72 kB / 488.3 MB, free: 25.63 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.5208, allocations: 0 / 488.3 MB, free: 25.63 MB / 346.7 MB Notification: Performance of Templates: time 0.01399/0.5348, allocations: 4.804 MB / 493.1 MB, free: 25.11 MB / 346.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)