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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002449/0.002449, allocations: 178.6 kB / 7.451 MB, free: 2.512 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.145/1.145, allocations: 170.6 MB / 178.4 MB, free: 15.4 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.00174/0.00174, allocations: 115.8 kB / 217.7 MB, free: 8.168 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.1609/0.1609, allocations: 37.97 MB / 294.8 MB, free: 9.625 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.554e-06/7.674e-06, allocations: 0 / 349.5 MB, free: 37.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 48.71 MB / 398.2 MB, free: 5.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3404/0.4493, allocations: 73.38 MB / 471.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002085/0.4496, allocations: 60.88 kB / 471.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.015/0.4646, allocations: 4.978 MB / 476.6 MB, free: 13.3 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.51e-05/0.4647, allocations: 3.875 kB / 476.6 MB, free: 13.3 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.0007398/0.4655, allocations: 0.8832 MB / 477.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/0.4655, allocations: 7.688 kB / 477.5 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.02e-05/0.4656, allocations: 27.5 kB / 477.5 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4658, allocations: 193.1 kB / 477.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.278e-05/0.4658, allocations: 7.844 kB / 477.7 MB, free: 12.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.916e-05/0.4658, allocations: 19.45 kB / 477.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001925/0.466, allocations: 79.09 kB / 477.8 MB, free: 12.17 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4663, allocations: 209.5 kB / 478 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4663, allocations: 7.938 kB / 478.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.4664, allocations: 11.66 kB / 478.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.4664, allocations: 3.906 kB / 478.1 MB, free: 12.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.4666, allocations: 290.8 kB / 478.4 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.4669, allocations: 252.3 kB / 478.6 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.4671, allocations: 155.6 kB / 478.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.4671, allocations: 3.969 kB / 478.8 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000314/0.4674, allocations: 473.9 kB / 479.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.683e-06/0.4674, allocations: 0 / 479.2 MB, free: 11.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0005065/0.4679, allocations: 299.8 kB / 479.5 MB, free: 11.15 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.4681, allocations: 0.6819 MB / 480.2 MB, free: 10.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.4683, allocations: 163 kB / 480.4 MB, free: 10.26 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.92e-05/0.4683, allocations: 39.77 kB / 480.4 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.675e-05/0.4684, allocations: 94.23 kB / 480.5 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.344e-05/0.4685, allocations: 65.91 kB / 480.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.4685, allocations: 3.906 kB / 480.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.389e-05/0.4686, allocations: 336.1 kB / 480.9 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001623/0.4687, allocations: 89.98 kB / 481 MB, free: 9.793 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.4689, allocations: 144.4 kB / 481.1 MB, free: 9.723 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.4692, allocations: 102.3 kB / 481.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4692, allocations: 2.812 kB / 481.2 MB, free: 9.719 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005217/0.4697, allocations: 308.4 kB / 481.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.4698, allocations: 3.812 kB / 481.5 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.4698, allocations: 4 kB / 481.5 MB, free: 9.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.4698, allocations: 7.875 kB / 481.5 MB, free: 9.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.23e-05/0.4698, allocations: 21.61 kB / 481.5 MB, free: 9.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4699, allocations: 7.859 kB / 481.6 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.47, allocations: 25.97 kB / 481.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.39e-05/0.4701, allocations: 16.77 kB / 481.6 MB, free: 9.641 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.0002045/0.4703, allocations: 404.9 kB / 482 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.4703, allocations: 35.09 kB / 482 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.609e-05/0.4704, allocations: 14.36 kB / 482 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.4704, allocations: 3.875 kB / 482 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.4704, allocations: 3.875 kB / 482 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.4704, allocations: 2.703 kB / 482.1 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.4706, allocations: 269.4 kB / 482.3 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.4706, allocations: 7.812 kB / 482.3 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.345e-06/0.4706, allocations: 7.984 kB / 482.3 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.4706, allocations: 7.875 kB / 482.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.4707, allocations: 22.34 kB / 482.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.4707, allocations: 3.875 kB / 482.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.4707, allocations: 7.844 kB / 482.4 MB, free: 9.059 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005166/0.4712, allocations: 0.5031 MB / 482.9 MB, free: 8.797 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.399e-05/0.4713, allocations: 96.7 kB / 483 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.703e-05/0.4713, allocations: 18.78 kB / 483 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002418/0.4716, allocations: 54.66 kB / 483 MB, free: 8.688 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/0.4717, allocations: 31.94 kB / 483.1 MB, free: 8.684 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.62e-05/0.4717, allocations: 26.05 kB / 483.1 MB, free: 8.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.681e-05/0.4718, allocations: 123.4 kB / 483.2 MB, free: 8.605 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005796/0.4724, allocations: 176.7 kB / 483.4 MB, free: 8.578 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.0005543/0.473, allocations: 277.4 kB / 483.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004924/0.4735, allocations: 0.6717 MB / 484.3 MB, free: 7.949 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.4735, allocations: 7.312 kB / 484.3 MB, free: 7.945 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.4738, allocations: 493.7 kB / 484.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001709/0.474, allocations: 18.69 kB / 484.8 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005707/0.4746, allocations: 375.1 kB / 485.2 MB, free: 7.527 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.4749, allocations: 0.7467 MB / 486 MB, free: 22.83 MB / 346.7 MB Notification: Performance of SimCode: time 4.2e-07/0.4749, allocations: 0 / 486 MB, free: 22.83 MB / 346.7 MB Notification: Performance of Templates: time 0.008732/0.4836, allocations: 4.825 MB / 490.8 MB, free: 22.35 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)