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.001753/0.001754, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.002164/0.002164, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.576/1.576, allocations: 227.4 MB / 252.3 MB, free: 72 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.2603/0.2603, allocations: 46.17 MB / 351.8 MB, free: 14.29 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.002354/0.002354, allocations: 81.56 kB / 490.8 MB, free: 28.09 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1489, allocations: 62.45 MB / 0.5403 GB, free: 4.27 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004346/0.1533, allocations: 2.341 MB / 0.5426 GB, free: 1.902 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003285/0.1566, allocations: 1.681 MB / 0.5443 GB, free: 220 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002274/0.1569, allocations: 7.938 kB / 0.5443 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000491/0.1574, allocations: 143.2 kB / 0.5444 GB, free: 68 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006962/0.1582, allocations: 282.8 kB / 0.5447 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.1597, allocations: 0.5275 MB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008132/0.1605, allocations: 0.561 MB / 0.5457 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002028/0.1607, allocations: 77.02 kB / 0.5458 GB, free: 14.63 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.1611, allocations: 235 kB / 0.546 GB, free: 14.4 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.1614, allocations: 230.9 kB / 0.5463 GB, free: 14.17 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.166e-05/0.1615, allocations: 28 kB / 0.5463 GB, free: 14.14 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000409/0.1619, allocations: 179.8 kB / 0.5464 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002293/0.1621, allocations: 127.6 kB / 0.5466 GB, free: 13.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002457/0.1624, allocations: 206.6 kB / 0.5468 GB, free: 13.64 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009052/0.1633, allocations: 0.5992 MB / 0.5474 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.121e-05/0.1633, allocations: 0 / 0.5474 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 5.05e-06/0.1633, allocations: 0 / 0.5474 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.375e-05/0.1633, allocations: 4 kB / 0.5474 GB, free: 13.04 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.001626/0.165, allocations: 0.9327 MB / 0.5483 GB, free: 12.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.165, allocations: 8.031 kB / 0.5483 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001273/0.1652, allocations: 60.56 kB / 0.5483 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007192/0.1659, allocations: 492.5 kB / 0.5488 GB, free: 11.44 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.1659, allocations: 12.55 kB / 0.5488 GB, free: 11.43 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/0.166, allocations: 24.34 kB / 0.5488 GB, free: 11.4 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000565/0.1666, allocations: 261.2 kB / 0.5491 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.1666, allocations: 0 / 0.5491 GB, free: 11.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.77e-05/0.1666, allocations: 8 kB / 0.5491 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.1666, allocations: 0 / 0.5491 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.167, allocations: 111.9 kB / 0.5492 GB, free: 10.99 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1683, allocations: 0.8875 MB / 0.5501 GB, free: 10.04 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007552/0.1691, allocations: 290.5 kB / 0.5503 GB, free: 9.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002578/0.1694, allocations: 107.4 kB / 0.5504 GB, free: 9.602 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.1694, allocations: 8 kB / 0.5505 GB, free: 9.594 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.1699, allocations: 222.5 kB / 0.5507 GB, free: 9.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=24): time 2.435e-06/0.17, allocations: 0 / 0.5507 GB, free: 9.352 MB / 414.1 MB Notification: Performance of matching and sorting (n=24): time 0.001161/0.1711, allocations: 413.8 kB / 0.5511 GB, free: 8.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002534/0.1714, allocations: 342.1 kB / 0.5514 GB, free: 8.527 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009932/0.1724, allocations: 0.6708 MB / 0.552 GB, free: 7.844 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.1725, allocations: 33.7 kB / 0.5521 GB, free: 7.805 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.1727, allocations: 240.5 kB / 0.5523 GB, free: 7.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.477e-05/0.1728, allocations: 71.55 kB / 0.5524 GB, free: 7.496 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/0.1729, allocations: 61.69 kB / 0.5524 GB, free: 7.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002457/0.1732, allocations: 362.8 kB / 0.5528 GB, free: 7.066 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1734, allocations: 91.88 kB / 0.5529 GB, free: 6.977 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004545/0.1739, allocations: 243.9 kB / 0.5531 GB, free: 6.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005309/0.1744, allocations: 234.7 kB / 0.5533 GB, free: 6.426 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1744, allocations: 0 / 0.5533 GB, free: 6.426 MB / 414.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007426/0.1752, allocations: 325.2 kB / 0.5536 GB, free: 6.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.604e-05/0.1752, allocations: 10.03 kB / 0.5536 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.1752, allocations: 0 / 0.5536 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.916e-05/0.1752, allocations: 4 kB / 0.5536 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003065/0.1756, allocations: 51.91 kB / 0.5537 GB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.1756, allocations: 7.938 kB / 0.5537 GB, free: 6.031 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.1758, allocations: 27.88 kB / 0.5537 GB, free: 6.004 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.157e-05/0.1759, allocations: 15.98 kB / 0.5537 GB, free: 5.988 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.0003305/0.1762, allocations: 221.8 kB / 0.554 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1763, allocations: 59.62 kB / 0.554 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001317/0.1764, allocations: 64.23 kB / 0.5541 GB, free: 5.637 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.1765, allocations: 4 kB / 0.5541 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/0.1765, allocations: 3.938 kB / 0.5541 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.1765, allocations: 3.984 kB / 0.5541 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005327/0.177, allocations: 417.2 kB / 0.5545 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.177, allocations: 4.25 kB / 0.5545 GB, free: 5.164 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.1772, allocations: 31.91 kB / 0.5545 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.1772, allocations: 15.94 kB / 0.5545 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1772, allocations: 4 kB / 0.5545 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.1772, allocations: 0 / 0.5545 GB, free: 5.113 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1773, allocations: 7.938 kB / 0.5545 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007531/0.178, allocations: 370.9 kB / 0.5549 GB, free: 4.715 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.1782, allocations: 132.7 kB / 0.555 GB, free: 4.566 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.005e-05/0.1782, allocations: 12 kB / 0.555 GB, free: 4.555 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1784, allocations: 15.98 kB / 0.5551 GB, free: 4.539 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.1785, allocations: 43.83 kB / 0.5551 GB, free: 4.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.1786, allocations: 15.98 kB / 0.5551 GB, free: 4.48 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006731/0.1792, allocations: 490.8 kB / 0.5556 GB, free: 4.004 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1793, allocations: 0 / 0.5556 GB, free: 4.004 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004692/0.1797, allocations: 95.92 kB / 0.5557 GB, free: 3.91 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.001777/0.1815, allocations: 459.1 kB / 0.5561 GB, free: 3.605 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006849/0.1822, allocations: 231.5 kB / 0.5563 GB, free: 3.379 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.1822, allocations: 4 kB / 0.5563 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.1825, allocations: 124.1 kB / 0.5564 GB, free: 3.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007774/0.1833, allocations: 155.4 kB / 0.5566 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.1849, allocations: 0.8487 MB / 0.5574 GB, free: 2.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000551/0.1854, allocations: 0.8467 MB / 0.5583 GB, free: 1.348 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001465/0.1856, allocations: 55.41 kB / 0.5583 GB, free: 1.293 MB / 414.1 MB Notification: Performance of SimCode: time 1.152e-06/0.1856, allocations: 0 / 0.5583 GB, free: 1.293 MB / 414.1 MB Notification: Performance of Templates: time 0.0137/0.1993, allocations: 7.324 MB / 0.5655 GB, free: 9.988 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.990447031101212]