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.001661/0.00166, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002075/0.002075, allocations: 191.6 kB / 16.13 MB, free: 6.652 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.576/1.576, allocations: 205.1 MB / 222 MB, free: 4.742 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.3582/0.3582, allocations: 39.93 MB / 309.3 MB, free: 9.66 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.001359/0.001359, allocations: 62.42 kB / 376.9 MB, free: 13.4 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1066, allocations: 56.88 MB / 433.8 MB, free: 4.422 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003978/0.1107, allocations: 2.316 MB / 436.1 MB, free: 2.082 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.1131, allocations: 1.459 MB / 437.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.1132, allocations: 0 / 437.6 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000412/0.1137, allocations: 131.5 kB / 437.7 MB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004633/0.1141, allocations: 199.2 kB / 437.9 MB, free: 300 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.1155, allocations: 0.5616 MB / 438.5 MB, free: 15.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005424/0.1161, allocations: 0.4907 MB / 438.9 MB, free: 15.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.1163, allocations: 73 kB / 439 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002254/0.1165, allocations: 207 kB / 439.2 MB, free: 14.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002267/0.1167, allocations: 203 kB / 439.4 MB, free: 14.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.434e-05/0.1168, allocations: 12 kB / 439.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002735/0.1171, allocations: 135.8 kB / 439.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001487/0.1172, allocations: 115.5 kB / 439.7 MB, free: 14.5 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001884/0.1174, allocations: 186.8 kB / 439.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00066/0.1181, allocations: 0.5453 MB / 440.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.1181, allocations: 4 kB / 440.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1181, allocations: 0 / 440.4 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1181, allocations: 0 / 440.4 MB, free: 13.77 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.001403/0.1195, allocations: 0.8902 MB / 441.3 MB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.1196, allocations: 12.03 kB / 441.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1197, allocations: 48.38 kB / 441.4 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006473/0.1203, allocations: 479.9 kB / 441.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.1204, allocations: 12.17 kB / 441.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.1204, allocations: 19.98 kB / 441.9 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005051/0.1209, allocations: 257.4 kB / 442.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.121, allocations: 0 / 442.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.121, allocations: 8 kB / 442.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.121, allocations: 0 / 442.1 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003045/0.1213, allocations: 111.9 kB / 442.2 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001074/0.1224, allocations: 0.8718 MB / 443.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.123, allocations: 302.5 kB / 443.4 MB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002184/0.1233, allocations: 107.4 kB / 443.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.231e-05/0.1233, allocations: 4 kB / 443.5 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000488/0.1238, allocations: 234.5 kB / 443.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.513e-06/0.1238, allocations: 0 / 443.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009685/0.1248, allocations: 401.6 kB / 444.1 MB, free: 9.754 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001899/0.125, allocations: 346.1 kB / 444.5 MB, free: 9.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007597/0.1258, allocations: 0.6316 MB / 445.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.1258, allocations: 37.7 kB / 445.1 MB, free: 8.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002149/0.126, allocations: 220.5 kB / 445.3 MB, free: 8.43 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.485e-05/0.1261, allocations: 67.19 kB / 445.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.1262, allocations: 69.62 kB / 445.5 MB, free: 8.289 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.1264, allocations: 358.8 kB / 445.8 MB, free: 7.93 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.1267, allocations: 83.95 kB / 445.9 MB, free: 7.848 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003366/0.127, allocations: 249 kB / 446.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/0.1275, allocations: 226.7 kB / 446.4 MB, free: 7.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.1275, allocations: 4 kB / 446.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006025/0.1281, allocations: 320.9 kB / 446.7 MB, free: 6.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.1281, allocations: 7.938 kB / 446.7 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1281, allocations: 4 kB / 446.7 MB, free: 6.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1281, allocations: 4 kB / 446.7 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002541/0.1284, allocations: 55.89 kB / 446.8 MB, free: 6.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1284, allocations: 4.125 kB / 446.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.1286, allocations: 31.83 kB / 446.8 MB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.245e-05/0.1287, allocations: 12 kB / 446.8 MB, free: 6.855 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.0002236/0.1289, allocations: 209.7 kB / 447 MB, free: 6.641 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.145e-05/0.129, allocations: 63.28 kB / 447.1 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.959e-05/0.1291, allocations: 51.91 kB / 447.1 MB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1291, allocations: 4 kB / 447.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.1291, allocations: 4 kB / 447.1 MB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.1291, allocations: 4 kB / 447.1 MB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003945/0.1295, allocations: 409.2 kB / 447.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1295, allocations: 0 / 447.5 MB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.1297, allocations: 28.22 kB / 447.6 MB, free: 6.039 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.1297, allocations: 7.938 kB / 447.6 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.504e-05/0.1297, allocations: 19.92 kB / 447.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.1297, allocations: 0 / 447.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1297, allocations: 0 / 447.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006717/0.1304, allocations: 354.8 kB / 447.9 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.904e-05/0.1305, allocations: 128.5 kB / 448.1 MB, free: 5.492 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.1306, allocations: 15.94 kB / 448.1 MB, free: 5.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/0.1308, allocations: 19.92 kB / 448.1 MB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.1309, allocations: 39.89 kB / 448.1 MB, free: 5.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.1309, allocations: 19.98 kB / 448.2 MB, free: 5.398 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000481/0.1314, allocations: 466.8 kB / 448.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1314, allocations: 0 / 448.6 MB, free: 4.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004026/0.1318, allocations: 92 kB / 448.7 MB, free: 4.855 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.0009997/0.1328, allocations: 462.7 kB / 449.1 MB, free: 4.434 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005478/0.1334, allocations: 227.9 kB / 449.4 MB, free: 4.211 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.1334, allocations: 3.938 kB / 449.4 MB, free: 4.207 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.1337, allocations: 163.8 kB / 449.5 MB, free: 4.047 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006612/0.1344, allocations: 147.2 kB / 449.7 MB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.1356, allocations: 0.8768 MB / 450.6 MB, free: 2.992 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003826/0.136, allocations: 0.8392 MB / 451.4 MB, free: 2.129 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.1362, allocations: 87.2 kB / 451.5 MB, free: 2.043 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.1363, allocations: 51.42 kB / 451.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1363, allocations: 0 / 451.5 MB, free: 1.992 MB / 382.1 MB Notification: Performance of Templates: time 0.1887/0.325, allocations: 7.191 MB / 458.7 MB, free: 50.96 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)