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.0008431/0.0008431, allocations: 88.28 kB / 21.44 MB, free: 3.121 MB / 18.57 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.003772/0.003772, allocations: 152.3 kB / 24.69 MB, free: 8.914 MB / 18.57 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 0.8888/0.8888, allocations: 177 MB / 204.9 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.2442/0.2442, allocations: 34.23 MB / 295.6 MB, free: 0.668 MB / 266.7 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 1.753e-06/1.753e-06, allocations: 0 / 443.4 MB, free: 1.082 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.622e-05/2.797e-05, allocations: 2.281 kB / 443.4 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.1612/0.1612, allocations: 2.205 MB / 445.6 MB, free: 43.35 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1628, allocations: 1.628 MB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001456/0.1629, allocations: 7.688 kB / 447.2 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003522/0.1633, allocations: 138.4 kB / 447.4 MB, free: 42.54 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004085/0.1637, allocations: 306.5 kB / 447.7 MB, free: 42.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007611/0.1644, allocations: 0.543 MB / 448.2 MB, free: 42.11 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003756/0.1648, allocations: 0.5844 MB / 448.8 MB, free: 41.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.165, allocations: 44.81 kB / 448.9 MB, free: 41.8 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.1652, allocations: 309.9 kB / 449.2 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001691/0.1653, allocations: 200.7 kB / 449.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.1654, allocations: 29.59 kB / 449.4 MB, free: 41.6 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.1656, allocations: 202.5 kB / 449.6 MB, free: 41.55 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 9.528e-05/0.1657, allocations: 135.8 kB / 449.7 MB, free: 41.48 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.185e-05/0.1658, allocations: 114.4 kB / 449.8 MB, free: 41.42 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004493/0.1662, allocations: 0.6217 MB / 450.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1663, allocations: 0 / 450.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1663, allocations: 0 / 450.4 MB, free: 41.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.1663, allocations: 0 / 450.4 MB, free: 41.18 MB / 410.7 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.0007506/0.167, allocations: 0.8459 MB / 451.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.167, allocations: 15.38 kB / 451.3 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.614e-05/0.1671, allocations: 56.42 kB / 451.4 MB, free: 40.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.1676, allocations: 425.6 kB / 451.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.1676, allocations: 10.42 kB / 451.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1676, allocations: 15.66 kB / 451.8 MB, free: 40.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002802/0.1679, allocations: 340.9 kB / 452.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1679, allocations: 192 / 452.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.1679, allocations: 7.797 kB / 452.1 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.1679, allocations: 9.656 kB / 452.2 MB, free: 39.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.1681, allocations: 123.2 kB / 452.3 MB, free: 39.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005778/0.1687, allocations: 0.7855 MB / 453.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003422/0.169, allocations: 295.7 kB / 453.3 MB, free: 39.08 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.1691, allocations: 110 kB / 453.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.1691, allocations: 6.906 kB / 453.5 MB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002415/0.1694, allocations: 219.8 kB / 453.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.613e-06/0.1694, allocations: 0 / 453.7 MB, free: 38.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005542/0.1699, allocations: 427.7 kB / 454.1 MB, free: 38.72 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.17, allocations: 240.3 kB / 454.3 MB, free: 38.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004394/0.1704, allocations: 0.6673 MB / 455 MB, free: 38.17 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.1704, allocations: 43.2 kB / 455 MB, free: 38.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.496e-05/0.1705, allocations: 227.8 kB / 455.3 MB, free: 37.95 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/0.1706, allocations: 73 kB / 455.3 MB, free: 37.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.1706, allocations: 60.25 kB / 455.4 MB, free: 37.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.315e-05/0.1707, allocations: 376.3 kB / 455.8 MB, free: 37.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.1708, allocations: 87.58 kB / 455.8 MB, free: 37.48 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001725/0.171, allocations: 435.4 kB / 456.3 MB, free: 37.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1712, allocations: 243.6 kB / 456.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1712, allocations: 0 / 456.5 MB, free: 36.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003248/0.1715, allocations: 333.8 kB / 456.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1715, allocations: 8.094 kB / 456.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1715, allocations: 0 / 456.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.1716, allocations: 3.062 kB / 456.8 MB, free: 36.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1717, allocations: 61.44 kB / 456.9 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1717, allocations: 2.844 kB / 456.9 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.1718, allocations: 33.08 kB / 456.9 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.1718, allocations: 12.69 kB / 456.9 MB, free: 36.74 MB / 410.7 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.000139/0.172, allocations: 224.3 kB / 457.2 MB, free: 36.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.094e-05/0.172, allocations: 53.36 kB / 457.2 MB, free: 36.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000429/0.1724, allocations: 385.9 kB / 457.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1724, allocations: 2.656 kB / 457.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1724, allocations: 0 / 457.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.1725, allocations: 6.438 kB / 457.6 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.1727, allocations: 317.5 kB / 457.9 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.1727, allocations: 3.281 kB / 457.9 MB, free: 36.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.423e-05/0.1727, allocations: 35.02 kB / 458 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1727, allocations: 0 / 458 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.1728, allocations: 12.25 kB / 458 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1728, allocations: 2.625 kB / 458 MB, free: 36.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.1728, allocations: 10.62 kB / 458 MB, free: 36.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003449/0.1731, allocations: 402 kB / 458.4 MB, free: 35.97 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.902e-05/0.1732, allocations: 59.05 kB / 458.4 MB, free: 35.94 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.163e-05/0.1732, allocations: 12.61 kB / 458.4 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.1733, allocations: 12.81 kB / 458.5 MB, free: 35.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/0.1733, allocations: 38.55 kB / 458.5 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.1734, allocations: 16.95 kB / 458.5 MB, free: 35.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003052/0.1737, allocations: 496.6 kB / 459 MB, free: 35.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1737, allocations: 0 / 459 MB, free: 35.72 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.174, allocations: 110.5 kB / 459.1 MB, free: 35.69 MB / 410.7 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.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * 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.0007801/0.1748, allocations: 486.3 kB / 459.6 MB, free: 35.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003742/0.1751, allocations: 232.8 kB / 459.8 MB, free: 35.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1751, allocations: 0 / 459.8 MB, free: 35.44 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.1753, allocations: 137.9 kB / 459.9 MB, free: 35.39 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.1757, allocations: 160.5 kB / 460.1 MB, free: 35.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008795/0.1766, allocations: 0.8675 MB / 461 MB, free: 34.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.1767, allocations: 253.4 kB / 461.2 MB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.995e-05/0.1768, allocations: 50.17 kB / 461.3 MB, free: 34.72 MB / 410.7 MB Notification: Performance of SimCode: time 1.252e-06/0.1768, allocations: 0 / 461.3 MB, free: 34.72 MB / 410.7 MB Notification: Performance of Templates: time 0.007066/0.1839, allocations: 7.495 MB / 468.8 MB, free: 33.77 MB / 410.7 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.1.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.358816424384713]