Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.02711/0.02711, allocations: 104 kB / 17.47 MB, free: 4.859 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 193.9 kB / 20.62 MB, free: 1.715 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.798/4.798, allocations: 207.6 MB / 231.2 MB, free: 3.289 MB / 174.1 MB [Timeout remaining time 85] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2699/0.2699, allocations: 38.64 MB / 321.9 MB, free: 9.668 MB / 254.1 MB [Timeout remaining time 90] 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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") [Timeout 660] Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.1006/0.1006, allocations: 75.89 kB / 456.1 MB, free: 7.344 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.3297, allocations: 59.6 MB / 0.5036 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.009178/0.3389, allocations: 2.269 MB / 0.5058 GB, free: 16.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00256/0.3415, allocations: 1.471 MB / 0.5073 GB, free: 15.07 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002031/0.3417, allocations: 11.16 kB / 0.5073 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008705/0.3425, allocations: 140.7 kB / 0.5074 GB, free: 14.97 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.000787/0.3433, allocations: 224.9 kB / 0.5076 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.3446, allocations: 0.6122 MB / 0.5082 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005936/0.3452, allocations: 0.5302 MB / 0.5087 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003925/0.3456, allocations: 47.59 kB / 0.5088 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.3459, allocations: 222.6 kB / 0.509 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003765/0.3462, allocations: 231.5 kB / 0.5092 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.307e-05/0.3463, allocations: 29.5 kB / 0.5092 GB, free: 13.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002704/0.3466, allocations: 178.4 kB / 0.5094 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000113/0.3467, allocations: 132.5 kB / 0.5095 GB, free: 13.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.3468, allocations: 196.6 kB / 0.5097 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008269/0.3476, allocations: 0.5766 MB / 0.5103 GB, free: 13.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0002908/0.3479, allocations: 4 kB / 0.5103 GB, free: 13.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3479, allocations: 1.031 kB / 0.5103 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003534/0.3483, allocations: 0 / 0.5103 GB, free: 13.04 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.003924/0.3522, allocations: 0.9004 MB / 0.5112 GB, free: 12.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.3522, allocations: 13.36 kB / 0.5112 GB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000253/0.3525, allocations: 54.02 kB / 0.5112 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007492/0.3532, allocations: 475.6 kB / 0.5117 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3533, allocations: 19.67 kB / 0.5117 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001667/0.3534, allocations: 20.84 kB / 0.5117 GB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006659/0.3541, allocations: 253.8 kB / 0.512 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.3543, allocations: 1.188 kB / 0.512 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.386e-05/0.3543, allocations: 6.531 kB / 0.512 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.3543, allocations: 6.781 kB / 0.512 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.3545, allocations: 110.3 kB / 0.5121 GB, free: 11.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.3556, allocations: 0.8713 MB / 0.5129 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006744/0.3563, allocations: 288.9 kB / 0.5132 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.3564, allocations: 104 kB / 0.5133 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001673/0.3566, allocations: 3.25 kB / 0.5133 GB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.3569, allocations: 218.5 kB / 0.5135 GB, free: 10.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.212e-06/0.3569, allocations: 1.344 kB / 0.5135 GB, free: 10.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001583/0.3585, allocations: 405.5 kB / 0.5139 GB, free: 10.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.3585, allocations: 346.3 kB / 0.5142 GB, free: 9.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006665/0.3592, allocations: 0.633 MB / 0.5149 GB, free: 9.258 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3592, allocations: 38.02 kB / 0.5149 GB, free: 9.219 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.3593, allocations: 222.7 kB / 0.5151 GB, free: 9.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.3594, allocations: 71.14 kB / 0.5152 GB, free: 8.965 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.909e-05/0.3595, allocations: 59.5 kB / 0.5152 GB, free: 8.926 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.153e-05/0.3595, allocations: 369.6 kB / 0.5156 GB, free: 8.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000169/0.3597, allocations: 85.2 kB / 0.5157 GB, free: 8.527 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.3599, allocations: 247.4 kB / 0.5159 GB, free: 8.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003365/0.3602, allocations: 234.6 kB / 0.5161 GB, free: 8.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3602, allocations: 0 / 0.5161 GB, free: 8.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004894/0.3607, allocations: 312.8 kB / 0.5164 GB, free: 7.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3607, allocations: 5.406 kB / 0.5164 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.3607, allocations: 3.031 kB / 0.5164 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001598/0.3609, allocations: 7.344 kB / 0.5164 GB, free: 7.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.3611, allocations: 55.66 kB / 0.5165 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.3611, allocations: 8.672 kB / 0.5165 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.3613, allocations: 35.27 kB / 0.5165 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.3613, allocations: 8.625 kB / 0.5165 GB, free: 7.926 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.3615, allocations: 221 kB / 0.5167 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.195e-05/0.3615, allocations: 52.98 kB / 0.5168 GB, free: 7.727 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.123e-05/0.3616, allocations: 57.75 kB / 0.5169 GB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3616, allocations: 10.61 kB / 0.5169 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.3616, allocations: 1.406 kB / 0.5169 GB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.359e-06/0.3616, allocations: 5.188 kB / 0.5169 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000252/0.3619, allocations: 408.7 kB / 0.5173 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3619, allocations: 1.312 kB / 0.5173 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/0.362, allocations: 31.14 kB / 0.5173 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.362, allocations: 2.438 kB / 0.5173 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.362, allocations: 7.422 kB / 0.5173 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.362, allocations: 6.438 kB / 0.5173 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.362, allocations: 1.156 kB / 0.5173 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.3625, allocations: 357.6 kB / 0.5177 GB, free: 7.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.304e-05/0.3626, allocations: 134.7 kB / 0.5178 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/0.3626, allocations: 8.469 kB / 0.5178 GB, free: 6.934 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/0.3628, allocations: 20.8 kB / 0.5178 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.363, allocations: 41.14 kB / 0.5178 GB, free: 6.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.363, allocations: 18.58 kB / 0.5179 GB, free: 6.887 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000379/0.3634, allocations: 464.2 kB / 0.5183 GB, free: 6.645 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.3634, allocations: 3.938 kB / 0.5183 GB, free: 6.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003565/0.3638, allocations: 97.14 kB / 0.5184 GB, free: 6.621 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005244/0.369, allocations: 464.7 kB / 0.5188 GB, free: 6.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.3701, allocations: 223.7 kB / 0.5191 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3701, allocations: 0 / 0.5191 GB, free: 6.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.3703, allocations: 156.1 kB / 0.5192 GB, free: 6.113 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008914/0.3712, allocations: 144.8 kB / 0.5193 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.3722, allocations: 0.7813 MB / 0.5201 GB, free: 5.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002018/0.3724, allocations: 0.8362 MB / 0.5209 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003401/0.3728, allocations: 94.03 kB / 0.521 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.3729, allocations: 58.62 kB / 0.5211 GB, free: 4.699 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.3729, allocations: 0 / 0.5211 GB, free: 4.699 MB / 382.1 MB Notification: Performance of Templates: time 0.01564/0.3885, allocations: 7.677 MB / 0.5286 GB, free: 13.48 MB / 398.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] [Calling os._exit(0)]