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) 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.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 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.1_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00082/0.00082, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005678/0.005678, allocations: 172.1 kB / 16.27 MB, free: 6.32 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.599/1.599, allocations: 205.4 MB / 222.4 MB, free: 5.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.338/0.338, allocations: 38.03 MB / 308.8 MB, free: 10.39 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.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.0006646/0.0006646, allocations: 16.7 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1243, allocations: 57.52 MB / 434.6 MB, free: 5.219 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00253/0.1269, allocations: 1.945 MB / 436.5 MB, free: 3.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002138/0.1291, allocations: 1.439 MB / 437.9 MB, free: 1.809 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.1292, allocations: 4 kB / 437.9 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.1296, allocations: 135.5 kB / 438.1 MB, free: 1.672 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.13, allocations: 195.2 kB / 438.3 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001189/0.1312, allocations: 0.5655 MB / 438.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004592/0.1316, allocations: 498.5 kB / 439.3 MB, free: 436 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1318, allocations: 69.34 kB / 439.4 MB, free: 364 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002065/0.132, allocations: 203 kB / 439.6 MB, free: 160 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002074/0.1322, allocations: 199.1 kB / 439.8 MB, free: 15.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.1323, allocations: 11.94 kB / 439.8 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1325, allocations: 127.8 kB / 439.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.1326, allocations: 115.5 kB / 440 MB, free: 15.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.1327, allocations: 196.5 kB / 440.2 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000481/0.1332, allocations: 0.5488 MB / 440.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.1332, allocations: 0 / 440.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1333, allocations: 0 / 440.8 MB, free: 14.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1333, allocations: 4 kB / 440.8 MB, free: 14.96 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.001006/0.1343, allocations: 0.7933 MB / 441.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1343, allocations: 16.02 kB / 441.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.477e-05/0.1344, allocations: 52.28 kB / 441.6 MB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005061/0.1349, allocations: 464.1 kB / 442.1 MB, free: 13.53 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.135, allocations: 16.59 kB / 442.1 MB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.135, allocations: 16.12 kB / 442.1 MB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004466/0.1355, allocations: 257.4 kB / 442.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1355, allocations: 4 kB / 442.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.384e-05/0.1355, allocations: 8 kB / 442.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.1355, allocations: 4 kB / 442.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.1358, allocations: 115.8 kB / 442.5 MB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000999/0.1368, allocations: 0.8718 MB / 443.4 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006265/0.1375, allocations: 294.5 kB / 443.7 MB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000207/0.1377, allocations: 103.4 kB / 443.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.1377, allocations: 16.14 kB / 443.8 MB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.1382, allocations: 214.5 kB / 444 MB, free: 11.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.714e-06/0.1382, allocations: 0 / 444 MB, free: 11.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009091/0.1391, allocations: 412.8 kB / 444.4 MB, free: 11.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.1393, allocations: 338.1 kB / 444.7 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.14, allocations: 0.6316 MB / 445.4 MB, free: 9.988 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.5e-05/0.1401, allocations: 33.7 kB / 445.4 MB, free: 9.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.1403, allocations: 228.5 kB / 445.6 MB, free: 9.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.067e-05/0.1404, allocations: 59.2 kB / 445.7 MB, free: 9.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1404, allocations: 37.7 kB / 445.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.1406, allocations: 358.8 kB / 446.1 MB, free: 9.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002029/0.1408, allocations: 87.89 kB / 446.1 MB, free: 9.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.1412, allocations: 249 kB / 446.4 MB, free: 8.871 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004876/0.1417, allocations: 231.7 kB / 446.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1417, allocations: 0 / 446.6 MB, free: 8.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006069/0.1423, allocations: 316.8 kB / 446.9 MB, free: 8.305 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1424, allocations: 4 kB / 446.9 MB, free: 8.301 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.1424, allocations: 8.125 kB / 446.9 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.1424, allocations: 7.938 kB / 446.9 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.1427, allocations: 59.84 kB / 447 MB, free: 8.227 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.1427, allocations: 7.938 kB / 447 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.1429, allocations: 31.73 kB / 447 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.1429, allocations: 12 kB / 447 MB, free: 8.176 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.0002697/0.1432, allocations: 217.7 kB / 447.3 MB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.1433, allocations: 55.42 kB / 447.3 MB, free: 7.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.1434, allocations: 59.91 kB / 447.4 MB, free: 7.84 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.1434, allocations: 7.938 kB / 447.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.1434, allocations: 0 / 447.4 MB, free: 7.832 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.1435, allocations: 7.984 kB / 447.4 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.1439, allocations: 409.2 kB / 447.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.1439, allocations: 256 / 447.8 MB, free: 7.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.1441, allocations: 27.98 kB / 447.8 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1441, allocations: 3.938 kB / 447.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.013e-05/0.1441, allocations: 7.984 kB / 447.8 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1441, allocations: 7.938 kB / 447.8 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1441, allocations: 4 kB / 447.8 MB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.1448, allocations: 358.8 kB / 448.2 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001272/0.1449, allocations: 136.5 kB / 448.3 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.553e-05/0.145, allocations: 19.98 kB / 448.3 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.1451, allocations: 19.92 kB / 448.4 MB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.1452, allocations: 39.89 kB / 448.4 MB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.1453, allocations: 15.98 kB / 448.4 MB, free: 6.699 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004968/0.1458, allocations: 462.8 kB / 448.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.1458, allocations: 0 / 448.9 MB, free: 6.25 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003997/0.1462, allocations: 99.89 kB / 449 MB, free: 6.152 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.0009907/0.1472, allocations: 459.7 kB / 449.4 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005666/0.1478, allocations: 223.7 kB / 449.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1478, allocations: 0 / 449.6 MB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.1482, allocations: 171.8 kB / 449.8 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007485/0.149, allocations: 139.5 kB / 449.9 MB, free: 5.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.1503, allocations: 0.8821 MB / 450.8 MB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000441/0.1507, allocations: 0.847 MB / 451.7 MB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002371/0.151, allocations: 83.2 kB / 451.7 MB, free: 3.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001148/0.1511, allocations: 51.42 kB / 451.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1511, allocations: 0 / 451.8 MB, free: 3.285 MB / 382.1 MB Notification: Performance of Templates: time 0.2199/0.371, allocations: 7.123 MB / 458.9 MB, free: 49.61 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: