Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 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=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007526/0.007526, allocations: 101.8 kB / 15.73 MB, free: 6.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 194.2 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.511/1.511, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3152/0.3152, allocations: 39.94 MB / 309.8 MB, free: 9.387 MB / 254.1 MB 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.2. 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.001671/0.001671, allocations: 63.91 kB / 435.8 MB, free: 2.473 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4354, allocations: 56.87 MB / 492.6 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.005982/0.4415, allocations: 2.273 MB / 494.9 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003422/0.4449, allocations: 1.462 MB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.4452, allocations: 7.438 kB / 496.4 MB, free: 16.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006839/0.4459, allocations: 140.6 kB / 496.5 MB, free: 16.86 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.00073/0.4466, allocations: 223.9 kB / 496.7 MB, free: 16.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002196/0.4488, allocations: 0.6096 MB / 497.3 MB, free: 16.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008862/0.4497, allocations: 0.5226 MB / 497.9 MB, free: 16.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.45, allocations: 80.45 kB / 497.9 MB, free: 16.13 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003757/0.4504, allocations: 227 kB / 498.2 MB, free: 16.03 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004101/0.4508, allocations: 216.2 kB / 498.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.207e-05/0.4509, allocations: 26.12 kB / 498.4 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005434/0.4515, allocations: 176.5 kB / 498.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.4517, allocations: 132.2 kB / 498.7 MB, free: 15.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002458/0.452, allocations: 197.4 kB / 498.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001019/0.453, allocations: 0.5794 MB / 499.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.453, allocations: 0 / 499.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.849e-06/0.453, allocations: 1.031 kB / 499.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.453, allocations: 0 / 499.5 MB, free: 15.45 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.001503/0.4546, allocations: 0.8817 MB / 0.4886 GB, free: 14.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.238e-05/0.4546, allocations: 16.8 kB / 0.4886 GB, free: 14.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001787/0.4548, allocations: 50.5 kB / 0.4887 GB, free: 14.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.4559, allocations: 473.7 kB / 0.4891 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.427e-05/0.456, allocations: 11.8 kB / 0.4892 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.456, allocations: 16.62 kB / 0.4892 GB, free: 14.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.4566, allocations: 255.4 kB / 0.4894 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4566, allocations: 0 / 0.4894 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.103e-05/0.4567, allocations: 7.188 kB / 0.4894 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.4567, allocations: 3.281 kB / 0.4894 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003311/0.457, allocations: 112 kB / 0.4895 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.4583, allocations: 0.8734 MB / 0.4904 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007408/0.4591, allocations: 296.3 kB / 0.4907 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002247/0.4593, allocations: 109.3 kB / 0.4908 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.994e-05/0.4593, allocations: 4.828 kB / 0.4908 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000462/0.4598, allocations: 231.6 kB / 0.491 GB, free: 13.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.936e-06/0.4598, allocations: 0 / 0.491 GB, free: 13.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.001074/0.4609, allocations: 397.2 kB / 0.4914 GB, free: 12.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.461, allocations: 343.8 kB / 0.4917 GB, free: 12.48 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009639/0.462, allocations: 0.634 MB / 0.4923 GB, free: 12.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.4621, allocations: 33.83 kB / 0.4924 GB, free: 12.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001703/0.4622, allocations: 230.7 kB / 0.4926 GB, free: 12 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.4623, allocations: 64.44 kB / 0.4926 GB, free: 11.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.4624, allocations: 62.5 kB / 0.4927 GB, free: 11.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4626, allocations: 363.1 kB / 0.493 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.4628, allocations: 81.86 kB / 0.4931 GB, free: 11.55 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003754/0.4632, allocations: 245.3 kB / 0.4934 GB, free: 11.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.4637, allocations: 232.4 kB / 0.4936 GB, free: 11.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.4637, allocations: 1.375 kB / 0.4936 GB, free: 11.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006592/0.4644, allocations: 316.2 kB / 0.4939 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4644, allocations: 11.14 kB / 0.4939 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4644, allocations: 2.219 kB / 0.4939 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.4644, allocations: 3.438 kB / 0.4939 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.4647, allocations: 52.97 kB / 0.4939 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.428e-05/0.4648, allocations: 7.281 kB / 0.494 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.465, allocations: 35.58 kB / 0.494 GB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.465, allocations: 14.45 kB / 0.494 GB, free: 11.03 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.0002495/0.4653, allocations: 219.4 kB / 0.4942 GB, free: 10.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.648e-05/0.4654, allocations: 57.84 kB / 0.4943 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000121/0.4655, allocations: 52.31 kB / 0.4943 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.4655, allocations: 7.906 kB / 0.4943 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.4655, allocations: 1.094 kB / 0.4943 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.4656, allocations: 2.344 kB / 0.4943 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.4661, allocations: 413.3 kB / 0.4947 GB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.4661, allocations: 5.125 kB / 0.4947 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001245/0.4662, allocations: 22.64 kB / 0.4947 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4662, allocations: 6.156 kB / 0.4948 GB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.064e-05/0.4663, allocations: 12.23 kB / 0.4948 GB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.4663, allocations: 6.062 kB / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.4663, allocations: 1.062 kB / 0.4948 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006718/0.4669, allocations: 352.6 kB / 0.4951 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/0.4671, allocations: 131 kB / 0.4952 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.4672, allocations: 8.312 kB / 0.4952 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001616/0.4673, allocations: 20.84 kB / 0.4953 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.4674, allocations: 33.91 kB / 0.4953 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.96e-05/0.4675, allocations: 22.64 kB / 0.4953 GB, free: 10.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005084/0.468, allocations: 463.2 kB / 0.4958 GB, free: 9.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.468, allocations: 0 / 0.4958 GB, free: 9.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005222/0.4685, allocations: 102 kB / 0.4959 GB, free: 9.824 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.001091/0.4696, allocations: 468.5 kB / 0.4963 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00057/0.4702, allocations: 222.2 kB / 0.4965 GB, free: 9.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.4702, allocations: 5.625 kB / 0.4965 GB, free: 9.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.4706, allocations: 173.6 kB / 0.4967 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007459/0.4713, allocations: 150.3 kB / 0.4968 GB, free: 9.207 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.4726, allocations: 0.7757 MB / 0.4976 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.4729, allocations: 0.8369 MB / 0.4984 GB, free: 7.945 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000251/0.4732, allocations: 93.36 kB / 0.4985 GB, free: 7.898 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.4733, allocations: 58.53 kB / 0.4985 GB, free: 7.875 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4733, allocations: 0 / 0.4985 GB, free: 7.875 MB / 382.1 MB Notification: Performance of Templates: time 0.01598/0.4893, allocations: 7.726 MB / 0.5061 GB, free: 3.941 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.pipe 2>&1)