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.0008096/0.0008096, allocations: 76.36 kB / 20.67 MB, free: 3.895 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.000859/0.000859, allocations: 156.9 kB / 23.95 MB, free: 0.6133 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.8851/0.8851, allocations: 177 MB / 204.1 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.2697/0.2697, allocations: 34.24 MB / 294.8 MB, free: 0.6992 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.232e-05/1.375e-05, allocations: 2.281 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.168/0.1681, allocations: 2.192 MB / 444.3 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1696, allocations: 1.637 MB / 446 MB, free: 42.62 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.1698, allocations: 9.438 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1701, allocations: 142.2 kB / 446.1 MB, free: 42.57 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.1705, allocations: 300.5 kB / 446.4 MB, free: 42.44 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007054/0.1712, allocations: 0.543 MB / 447 MB, free: 42.17 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003389/0.1715, allocations: 0.5836 MB / 447.5 MB, free: 41.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001338/0.1717, allocations: 57.2 kB / 447.6 MB, free: 41.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.1719, allocations: 308.6 kB / 447.9 MB, free: 41.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000172/0.1721, allocations: 202.1 kB / 448.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.614e-05/0.1721, allocations: 29.88 kB / 448.1 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002169/0.1723, allocations: 190.3 kB / 448.3 MB, free: 41.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.1724, allocations: 140 kB / 448.4 MB, free: 41.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.1725, allocations: 115.5 kB / 448.6 MB, free: 41.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003979/0.1729, allocations: 0.6174 MB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1729, allocations: 0 / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1729, allocations: 2.812 kB / 449.2 MB, free: 41.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.1729, allocations: 0 / 449.2 MB, free: 41.24 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.0007025/0.1736, allocations: 0.8459 MB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.1737, allocations: 8.344 kB / 450 MB, free: 40.55 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.049e-05/0.1737, allocations: 47.08 kB / 450.1 MB, free: 40.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.731e-05/0.1738, allocations: 54.08 kB / 450.1 MB, free: 40.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00044/0.1742, allocations: 423.2 kB / 450.5 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.928e-05/0.1742, allocations: 14.17 kB / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.1742, allocations: 13.09 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002792/0.1745, allocations: 348.6 kB / 450.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.1745, allocations: 2.938 kB / 450.9 MB, free: 39.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.1745, allocations: 13.2 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.1745, allocations: 5.656 kB / 450.9 MB, free: 39.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.1747, allocations: 120.9 kB / 451 MB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005945/0.1753, allocations: 0.8087 MB / 451.9 MB, free: 39.24 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003387/0.1756, allocations: 301.2 kB / 452.2 MB, free: 39.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001146/0.1758, allocations: 107.8 kB / 452.3 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.558e-05/0.1758, allocations: 6.656 kB / 452.3 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.176, allocations: 225.4 kB / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.213e-06/0.176, allocations: 0 / 452.5 MB, free: 38.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005142/0.1765, allocations: 425.7 kB / 452.9 MB, free: 38.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.1766, allocations: 248.9 kB / 453.1 MB, free: 38.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.177, allocations: 0.6706 MB / 453.8 MB, free: 38.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.177, allocations: 32.61 kB / 453.8 MB, free: 38.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001/0.1771, allocations: 238.4 kB / 454.1 MB, free: 37.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.1772, allocations: 64.23 kB / 454.1 MB, free: 37.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.1772, allocations: 61.77 kB / 454.2 MB, free: 37.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.72e-05/0.1773, allocations: 371.9 kB / 454.6 MB, free: 37.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000119/0.1774, allocations: 84.25 kB / 454.6 MB, free: 37.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001846/0.1776, allocations: 430 kB / 455.1 MB, free: 37.05 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.1778, allocations: 250.2 kB / 455.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.1778, allocations: 0 / 455.3 MB, free: 36.91 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003551/0.1782, allocations: 328.5 kB / 455.6 MB, free: 36.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.1782, allocations: 8.688 kB / 455.6 MB, free: 36.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.1782, allocations: 4 kB / 455.6 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1782, allocations: 2.75 kB / 455.6 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.1784, allocations: 58.86 kB / 455.7 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.1784, allocations: 3 kB / 455.7 MB, free: 36.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.1785, allocations: 31.05 kB / 455.7 MB, free: 36.73 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1785, allocations: 18.14 kB / 455.8 MB, free: 36.73 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.0001371/0.1786, allocations: 226.5 kB / 456 MB, free: 36.56 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.397e-05/0.1787, allocations: 59.22 kB / 456 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004141/0.1791, allocations: 383.3 kB / 456.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.1791, allocations: 2.531 kB / 456.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1791, allocations: 2.5 kB / 456.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1791, allocations: 0 / 456.4 MB, free: 36.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.1793, allocations: 360.5 kB / 456.8 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1793, allocations: 3.094 kB / 456.8 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.959e-05/0.1794, allocations: 29.98 kB / 456.8 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.1794, allocations: 2.875 kB / 456.8 MB, free: 36.13 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1794, allocations: 14.23 kB / 456.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.1794, allocations: 2.844 kB / 456.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1794, allocations: 11.78 kB / 456.8 MB, free: 36.12 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003518/0.1798, allocations: 395.5 kB / 457.2 MB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.1798, allocations: 56.53 kB / 457.3 MB, free: 35.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.743e-05/0.1798, allocations: 7 kB / 457.3 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.976e-05/0.1799, allocations: 18.66 kB / 457.3 MB, free: 35.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.18, allocations: 43.69 kB / 457.3 MB, free: 35.86 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.18, allocations: 14.95 kB / 457.4 MB, free: 35.86 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003009/0.1803, allocations: 497.6 kB / 457.8 MB, free: 35.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1803, allocations: 3.938 kB / 457.8 MB, free: 35.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000251/0.1806, allocations: 110.4 kB / 457.9 MB, free: 35.63 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.001128/0.1817, allocations: 1.309 MB / 459.3 MB, free: 34.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003045/0.182, allocations: 236.2 kB / 459.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.182, allocations: 0 / 459.5 MB, free: 34.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001756/0.1822, allocations: 174 kB / 459.7 MB, free: 34.68 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1825, allocations: 157.4 kB / 459.8 MB, free: 34.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/0.1857, allocations: 4.365 MB / 464.2 MB, free: 32.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.1859, allocations: 252.1 kB / 464.4 MB, free: 32.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000144/0.186, allocations: 90.73 kB / 464.5 MB, free: 32.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/0.1862, allocations: 179.1 kB / 464.7 MB, free: 32.02 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.1862, allocations: 3.156 kB / 464.7 MB, free: 32.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.2096, allocations: 14.03 MB / 478.7 MB, free: 29.52 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.064/7.274, allocations: 1.25 kB / 478.7 MB, free: 29.52 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable_fmu --startTime=0 --stopTime=3 --stepSize=0.000599161 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegerTable.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.pipe 2>&1) [Timeout 52.5] 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: 9.306803779676557]