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.0009735/0.0009735, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008306/0.008306, allocations: 171.1 kB / 16.26 MB, free: 6.676 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.3398/0.3398, allocations: 40.01 MB / 310.7 MB, free: 9.891 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.0007049/0.0007053, allocations: 12 kB / 379.4 MB, free: 12.27 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1162, allocations: 57.96 MB / 437.4 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002758/0.119, allocations: 1.95 MB / 439.4 MB, free: 244 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1214, allocations: 1.431 MB / 440.8 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002552/0.1217, allocations: 7.938 kB / 440.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004879/0.1222, allocations: 123.6 kB / 440.9 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005595/0.1228, allocations: 203.2 kB / 441.1 MB, free: 14.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.1243, allocations: 0.5694 MB / 441.7 MB, free: 13.9 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006104/0.1249, allocations: 494.6 kB / 442.2 MB, free: 13.42 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1251, allocations: 73.02 kB / 442.2 MB, free: 13.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003196/0.1254, allocations: 195 kB / 442.4 MB, free: 13.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002713/0.1257, allocations: 203 kB / 442.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.999e-05/0.1258, allocations: 8 kB / 442.6 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002559/0.126, allocations: 127.9 kB / 442.8 MB, free: 12.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1262, allocations: 119.5 kB / 442.9 MB, free: 12.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001912/0.1264, allocations: 208.4 kB / 443.1 MB, free: 12.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005962/0.127, allocations: 0.5336 MB / 443.6 MB, free: 11.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.127, allocations: 3.938 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.127, allocations: 4 kB / 443.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.635e-05/0.127, allocations: 0 / 443.6 MB, free: 11.95 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.001258/0.1283, allocations: 0.8049 MB / 444.4 MB, free: 11.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.1283, allocations: 12.03 kB / 444.4 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001405/0.1285, allocations: 56.28 kB / 444.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.1291, allocations: 468 kB / 444.9 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.639e-05/0.1292, allocations: 24.11 kB / 445 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.508e-05/0.1292, allocations: 8 kB / 445 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.1297, allocations: 261.4 kB / 445.2 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.1297, allocations: 3.938 kB / 445.2 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.884e-05/0.1297, allocations: 7.984 kB / 445.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.1297, allocations: 4 kB / 445.2 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002916/0.13, allocations: 107.9 kB / 445.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.1312, allocations: 0.8795 MB / 446.2 MB, free: 9.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006243/0.1318, allocations: 290.6 kB / 446.5 MB, free: 8.793 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1321, allocations: 107.3 kB / 446.6 MB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/0.1321, allocations: 7.984 kB / 446.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004553/0.1326, allocations: 214.6 kB / 446.8 MB, free: 8.434 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 2.124e-06/0.1326, allocations: 4 kB / 446.8 MB, free: 8.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0009441/0.1336, allocations: 397.7 kB / 447.2 MB, free: 8.035 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.1337, allocations: 354.1 kB / 447.6 MB, free: 7.609 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007498/0.1345, allocations: 0.6199 MB / 448.2 MB, free: 6.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.918e-05/0.1345, allocations: 37.7 kB / 448.2 MB, free: 6.934 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.1347, allocations: 228.7 kB / 448.5 MB, free: 6.707 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.209e-05/0.1348, allocations: 71.09 kB / 448.5 MB, free: 6.637 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.449e-05/0.1349, allocations: 25.72 kB / 448.6 MB, free: 6.605 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.1351, allocations: 370.7 kB / 448.9 MB, free: 6.234 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.1353, allocations: 79.95 kB / 449 MB, free: 6.156 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003146/0.1356, allocations: 249 kB / 449.2 MB, free: 5.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004612/0.1361, allocations: 230.8 kB / 449.5 MB, free: 5.602 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.1361, allocations: 4 kB / 449.5 MB, free: 5.598 MB / 382.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006317/0.1367, allocations: 312.8 kB / 449.8 MB, free: 5.285 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.1368, allocations: 7.938 kB / 449.8 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1368, allocations: 4.25 kB / 449.8 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.1368, allocations: 4 kB / 449.8 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002475/0.137, allocations: 55.91 kB / 449.8 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.1371, allocations: 7.984 kB / 449.8 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000216/0.1373, allocations: 27.97 kB / 449.9 MB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.987e-05/0.1373, allocations: 19.98 kB / 449.9 MB, free: 5.16 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.0002586/0.1376, allocations: 221.7 kB / 450.1 MB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.69e-05/0.1377, allocations: 55.28 kB / 450.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001151/0.1378, allocations: 59.84 kB / 450.2 MB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.545e-06/0.1378, allocations: 4 kB / 450.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/0.1378, allocations: 0 / 450.2 MB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1379, allocations: 4 kB / 450.2 MB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004296/0.1383, allocations: 413.2 kB / 450.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.1383, allocations: 0 / 450.6 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001136/0.1384, allocations: 23.98 kB / 450.7 MB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-05/0.1385, allocations: 7.922 kB / 450.7 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1385, allocations: 8 kB / 450.7 MB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1385, allocations: 4 kB / 450.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.1385, allocations: 0 / 450.7 MB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006395/0.1391, allocations: 366.7 kB / 451 MB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.1393, allocations: 144.4 kB / 451.2 MB, free: 3.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/0.1394, allocations: 15.94 kB / 451.2 MB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001779/0.1396, allocations: 15.98 kB / 451.2 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.801e-05/0.1397, allocations: 35.95 kB / 451.2 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.095e-05/0.1397, allocations: 27.92 kB / 451.3 MB, free: 3.676 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006092/0.1403, allocations: 458.8 kB / 451.7 MB, free: 3.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1403, allocations: 0 / 451.7 MB, free: 3.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005196/0.1409, allocations: 95.98 kB / 451.8 MB, free: 3.137 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.001168/0.1421, allocations: 468.9 kB / 452.3 MB, free: 2.707 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005364/0.1426, allocations: 223.8 kB / 452.5 MB, free: 2.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.1426, allocations: 4 kB / 452.5 MB, free: 2.484 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.1429, allocations: 167.8 kB / 452.7 MB, free: 2.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007257/0.1437, allocations: 139.2 kB / 452.8 MB, free: 2.184 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001333/0.145, allocations: 0.8783 MB / 453.7 MB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.1455, allocations: 0.8392 MB / 454.5 MB, free: 420 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000271/0.1458, allocations: 95.2 kB / 454.6 MB, free: 324 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.1459, allocations: 51.41 kB / 454.7 MB, free: 272 kB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1459, allocations: 0 / 454.7 MB, free: 272 kB / 382.1 MB Notification: Performance of Templates: time 0.1932/0.3391, allocations: 7.122 MB / 461.8 MB, free: 47.37 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.IntegerTable.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: