Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001627/0.001627, allocations: 115.1 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002364/0.002364, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 230.6 MB / 254.8 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3213/0.3213, allocations: 46.92 MB / 357.8 MB, free: 10.34 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Blocks.IntegerTable") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 71.89 kB / 0.4921 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.142, allocations: 65.98 MB / 0.5565 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.004593/0.1466, allocations: 2.327 MB / 0.5588 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00344/0.15, allocations: 1.709 MB / 0.5604 GB, free: 1.305 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003735/0.1504, allocations: 11.94 kB / 0.5605 GB, free: 1.293 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005612/0.151, allocations: 147.2 kB / 0.5606 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008874/0.1519, allocations: 282.8 kB / 0.5609 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001576/0.1534, allocations: 0.5253 MB / 0.5614 GB, free: 360 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009693/0.1544, allocations: 0.5765 MB / 0.5619 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1546, allocations: 45.06 kB / 0.562 GB, free: 15.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004824/0.1551, allocations: 247 kB / 0.5622 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000428/0.1555, allocations: 235 kB / 0.5624 GB, free: 15.25 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.299e-05/0.1556, allocations: 32 kB / 0.5625 GB, free: 15.22 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004244/0.156, allocations: 183.8 kB / 0.5627 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001884/0.1562, allocations: 135.5 kB / 0.5628 GB, free: 14.91 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.1564, allocations: 202.6 kB / 0.563 GB, free: 14.71 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000995/0.1574, allocations: 0.603 MB / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1574, allocations: 0 / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.1575, allocations: 0 / 0.5636 GB, free: 14.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.092e-05/0.1575, allocations: 4 kB / 0.5636 GB, free: 14.1 MB / 430.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.001834/0.1593, allocations: 0.9366 MB / 0.5645 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.1594, allocations: 8.031 kB / 0.5645 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.1595, allocations: 60.56 kB / 0.5645 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009524/0.1605, allocations: 488.5 kB / 0.565 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/0.1605, allocations: 8.609 kB / 0.565 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.1606, allocations: 20.12 kB / 0.565 GB, free: 12.47 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1611, allocations: 259.3 kB / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.1611, allocations: 0 / 0.5653 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1612, allocations: 11.94 kB / 0.5653 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.1612, allocations: 4 kB / 0.5653 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.1615, allocations: 111.9 kB / 0.5654 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.1629, allocations: 0.8836 MB / 0.5663 GB, free: 11.11 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007287/0.1636, allocations: 282.5 kB / 0.5665 GB, free: 10.8 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002499/0.1638, allocations: 103.4 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.842e-05/0.1639, allocations: 7.984 kB / 0.5666 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004668/0.1643, allocations: 218.6 kB / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 2.014e-06/0.1644, allocations: 0 / 0.5669 GB, free: 10.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001118/0.1655, allocations: 413 kB / 0.5673 GB, free: 10.03 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.1657, allocations: 346.1 kB / 0.5676 GB, free: 9.609 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009649/0.1666, allocations: 0.6631 MB / 0.5682 GB, free: 8.934 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1667, allocations: 33.7 kB / 0.5683 GB, free: 8.895 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002298/0.1669, allocations: 244.5 kB / 0.5685 GB, free: 8.652 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.046e-05/0.167, allocations: 67.59 kB / 0.5686 GB, free: 8.586 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001155/0.1671, allocations: 61.64 kB / 0.5686 GB, free: 8.52 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.1673, allocations: 370.8 kB / 0.569 GB, free: 8.148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.1676, allocations: 91.89 kB / 0.5691 GB, free: 8.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.1679, allocations: 233.1 kB / 0.5693 GB, free: 7.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.1684, allocations: 243.7 kB / 0.5695 GB, free: 7.508 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.1684, allocations: 0 / 0.5695 GB, free: 7.508 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007497/0.1692, allocations: 317 kB / 0.5698 GB, free: 7.191 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.1692, allocations: 8 kB / 0.5698 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.1692, allocations: 3.938 kB / 0.5698 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.1692, allocations: 7.938 kB / 0.5698 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.1695, allocations: 59.89 kB / 0.5699 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.1695, allocations: 8.109 kB / 0.5699 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.1698, allocations: 35.81 kB / 0.5699 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.26e-05/0.1698, allocations: 8 kB / 0.5699 GB, free: 7.062 MB / 430.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.0002792/0.1701, allocations: 220.2 kB / 0.5702 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1702, allocations: 59.62 kB / 0.5702 GB, free: 6.781 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.1703, allocations: 60.25 kB / 0.5703 GB, free: 6.719 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.1703, allocations: 7.938 kB / 0.5703 GB, free: 6.711 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.1703, allocations: 4 kB / 0.5703 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1703, allocations: 4 kB / 0.5703 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.1708, allocations: 425.2 kB / 0.5707 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.1708, allocations: 4 kB / 0.5707 GB, free: 6.234 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000122/0.1709, allocations: 19.98 kB / 0.5707 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.1709, allocations: 7.938 kB / 0.5707 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.818e-05/0.171, allocations: 11.98 kB / 0.5707 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.735e-06/0.171, allocations: 7.938 kB / 0.5707 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.171, allocations: 0 / 0.5707 GB, free: 6.188 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007474/0.1717, allocations: 370.1 kB / 0.5711 GB, free: 5.801 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.1719, allocations: 120.8 kB / 0.5712 GB, free: 5.664 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.706e-05/0.1719, allocations: 19.98 kB / 0.5712 GB, free: 5.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001771/0.1721, allocations: 15.92 kB / 0.5712 GB, free: 5.629 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1722, allocations: 35.91 kB / 0.5713 GB, free: 5.594 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.793e-05/0.1723, allocations: 23.98 kB / 0.5713 GB, free: 5.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006222/0.1729, allocations: 490.8 kB / 0.5718 GB, free: 5.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1729, allocations: 0 / 0.5718 GB, free: 5.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.1734, allocations: 99.88 kB / 0.5719 GB, free: 4.996 MB / 430.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.001787/0.1751, allocations: 464 kB / 0.5723 GB, free: 4.691 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006516/0.1758, allocations: 223.6 kB / 0.5725 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1758, allocations: 0 / 0.5725 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002995/0.1761, allocations: 112.6 kB / 0.5726 GB, free: 4.363 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007522/0.1769, allocations: 159.5 kB / 0.5728 GB, free: 4.223 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/0.1786, allocations: 0.8605 MB / 0.5736 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.1791, allocations: 0.8506 MB / 0.5744 GB, free: 2.438 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001645/0.1793, allocations: 55.41 kB / 0.5745 GB, free: 2.383 MB / 430.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1793, allocations: 0 / 0.5745 GB, free: 2.383 MB / 430.1 MB Notification: Performance of Templates: time 0.01425/0.1935, allocations: 7.319 MB / 0.5816 GB, free: 11.09 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.sim & ./ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_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: 9.354285945999436]