Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001307/0.001307, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001337/0.001337, allocations: 201.8 kB / 21.4 MB, free: 1.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.561/1.561, allocations: 227.4 MB / 251.6 MB, free: 92 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2499/0.2499, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00224/0.002241, allocations: 81.55 kB / 490.2 MB, free: 27.81 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1452, allocations: 62.45 MB / 0.5397 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004254/0.1495, allocations: 2.333 MB / 0.542 GB, free: 1.887 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.1527, allocations: 1.688 MB / 0.5436 GB, free: 196 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002718/0.153, allocations: 7.938 kB / 0.5436 GB, free: 188 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005206/0.1535, allocations: 143.2 kB / 0.5437 GB, free: 44 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007901/0.1544, allocations: 286.7 kB / 0.544 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.1559, allocations: 0.5255 MB / 0.5445 GB, free: 15.24 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.1568, allocations: 0.5649 MB / 0.5451 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002035/0.157, allocations: 77 kB / 0.5452 GB, free: 14.6 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.1574, allocations: 227.1 kB / 0.5454 GB, free: 14.38 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003772/0.1578, allocations: 230.9 kB / 0.5456 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.701e-05/0.1579, allocations: 28 kB / 0.5456 GB, free: 14.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003952/0.1583, allocations: 183.8 kB / 0.5458 GB, free: 13.94 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001881/0.1585, allocations: 135.5 kB / 0.5459 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002527/0.1587, allocations: 210.6 kB / 0.5461 GB, free: 13.6 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.1596, allocations: 0.5914 MB / 0.5467 GB, free: 13.01 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.1596, allocations: 3.984 kB / 0.5467 GB, free: 13 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1596, allocations: 0 / 0.5467 GB, free: 13 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1596, allocations: 0 / 0.5467 GB, free: 13 MB / 414.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.001404/0.161, allocations: 0.9327 MB / 0.5476 GB, free: 11.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.1611, allocations: 16.03 kB / 0.5476 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.1612, allocations: 56.56 kB / 0.5477 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007308/0.1619, allocations: 484.5 kB / 0.5481 GB, free: 11.41 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/0.162, allocations: 12.61 kB / 0.5482 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.687e-05/0.162, allocations: 12.38 kB / 0.5482 GB, free: 11.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.1625, allocations: 269.2 kB / 0.5484 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.1625, allocations: 0 / 0.5484 GB, free: 11.08 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.1626, allocations: 8 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1626, allocations: 4 kB / 0.5484 GB, free: 11.07 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000306/0.1629, allocations: 111.9 kB / 0.5485 GB, free: 10.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001227/0.1641, allocations: 0.8836 MB / 0.5494 GB, free: 10.02 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.1648, allocations: 294.5 kB / 0.5497 GB, free: 9.691 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/0.1651, allocations: 111.3 kB / 0.5498 GB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.1652, allocations: 8 kB / 0.5498 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004423/0.1656, allocations: 218.6 kB / 0.55 GB, free: 9.324 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 3.857e-06/0.1656, allocations: 0 / 0.55 GB, free: 9.324 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001016/0.1666, allocations: 421.9 kB / 0.5504 GB, free: 8.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002826/0.1669, allocations: 342.1 kB / 0.5507 GB, free: 8.492 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009119/0.1679, allocations: 0.6747 MB / 0.5514 GB, free: 7.805 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1679, allocations: 33.7 kB / 0.5514 GB, free: 7.766 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/0.1681, allocations: 236.5 kB / 0.5517 GB, free: 7.531 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.1682, allocations: 67.55 kB / 0.5517 GB, free: 7.465 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.1684, allocations: 65.69 kB / 0.5518 GB, free: 7.395 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.1686, allocations: 362.8 kB / 0.5521 GB, free: 7.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002237/0.1688, allocations: 83.94 kB / 0.5522 GB, free: 6.949 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.1692, allocations: 249 kB / 0.5524 GB, free: 6.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004766/0.1697, allocations: 226.7 kB / 0.5527 GB, free: 6.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.1697, allocations: 0 / 0.5527 GB, free: 6.398 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006506/0.1704, allocations: 329.2 kB / 0.553 GB, free: 6.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1704, allocations: 4 kB / 0.553 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1704, allocations: 4 kB / 0.553 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.1704, allocations: 0 / 0.553 GB, free: 6.062 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002682/0.1707, allocations: 55.91 kB / 0.553 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.795e-05/0.1707, allocations: 11.88 kB / 0.5531 GB, free: 5.996 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.1709, allocations: 32 kB / 0.5531 GB, free: 5.965 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.366e-05/0.171, allocations: 12 kB / 0.5531 GB, free: 5.953 MB / 414.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.0002732/0.1712, allocations: 217.7 kB / 0.5533 GB, free: 5.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.946e-05/0.1713, allocations: 55.62 kB / 0.5534 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.1715, allocations: 60.25 kB / 0.5534 GB, free: 5.613 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.198e-06/0.1715, allocations: 11.92 kB / 0.5534 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.1715, allocations: 3.938 kB / 0.5534 GB, free: 5.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.1715, allocations: 4 kB / 0.5534 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004808/0.172, allocations: 417.2 kB / 0.5538 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.172, allocations: 4 kB / 0.5538 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.1721, allocations: 27.98 kB / 0.5539 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1721, allocations: 3.984 kB / 0.5539 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.746e-05/0.1722, allocations: 8.188 kB / 0.5539 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/0.1722, allocations: 4 kB / 0.5539 GB, free: 5.086 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.1722, allocations: 7.875 kB / 0.5539 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006945/0.1729, allocations: 367.1 kB / 0.5542 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001332/0.1731, allocations: 136.7 kB / 0.5544 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.1731, allocations: 8 kB / 0.5544 GB, free: 4.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.1733, allocations: 15.98 kB / 0.5544 GB, free: 4.516 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.1734, allocations: 43.89 kB / 0.5544 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.1735, allocations: 15.92 kB / 0.5544 GB, free: 4.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005946/0.1741, allocations: 0.491 MB / 0.5549 GB, free: 3.969 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1741, allocations: 0 / 0.5549 GB, free: 3.969 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004532/0.1745, allocations: 95.92 kB / 0.555 GB, free: 3.875 MB / 414.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.001674/0.1762, allocations: 457.9 kB / 0.5555 GB, free: 3.566 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005986/0.1768, allocations: 231.7 kB / 0.5557 GB, free: 3.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1768, allocations: 4.25 kB / 0.5557 GB, free: 3.336 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003894/0.1772, allocations: 171.8 kB / 0.5558 GB, free: 3.168 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007372/0.178, allocations: 148.2 kB / 0.556 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1794, allocations: 0.808 MB / 0.5568 GB, free: 2.191 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005843/0.18, allocations: 0.8506 MB / 0.5576 GB, free: 1.309 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000261/0.1803, allocations: 87.23 kB / 0.5577 GB, free: 1.219 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001517/0.1805, allocations: 59.41 kB / 0.5577 GB, free: 1.16 MB / 414.1 MB Notification: Performance of SimCode: time 3.5e-07/0.1805, allocations: 0 / 0.5577 GB, free: 1.16 MB / 414.1 MB Notification: Performance of Templates: time 0.01584/0.1963, allocations: 7.68 MB / 0.5652 GB, free: 9.516 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.471349119208753]