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.001439/0.001439, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001461/0.001461, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.56/1.56, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2529/0.2529, allocations: 46.92 MB / 357.1 MB, free: 10.31 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.002199/0.002199, allocations: 67.91 kB / 0.4914 GB, free: 7.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1721, allocations: 65.99 MB / 0.5558 GB, free: 5.367 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003986/0.1761, allocations: 2.339 MB / 0.5581 GB, free: 3.008 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003076/0.1791, allocations: 1.706 MB / 0.5598 GB, free: 1.297 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.1793, allocations: 11.88 kB / 0.5598 GB, free: 1.285 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004221/0.1797, allocations: 139.2 kB / 0.5599 GB, free: 1.148 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005873/0.1803, allocations: 286.8 kB / 0.5602 GB, free: 0.8672 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1815, allocations: 0.5254 MB / 0.5607 GB, free: 356 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006551/0.1822, allocations: 0.5726 MB / 0.5613 GB, free: 15.77 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.1823, allocations: 53.05 kB / 0.5613 GB, free: 15.72 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003245/0.1827, allocations: 239 kB / 0.5616 GB, free: 15.48 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.183, allocations: 246.9 kB / 0.5618 GB, free: 15.24 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.183, allocations: 28 kB / 0.5618 GB, free: 15.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003265/0.1833, allocations: 179.8 kB / 0.562 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.1835, allocations: 139.4 kB / 0.5621 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001964/0.1837, allocations: 202.7 kB / 0.5623 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007211/0.1844, allocations: 0.5991 MB / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1844, allocations: 0 / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1844, allocations: 0 / 0.5629 GB, free: 14.1 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.184e-06/0.1844, allocations: 0 / 0.5629 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.001355/0.1858, allocations: 0.9327 MB / 0.5638 GB, free: 13.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.1858, allocations: 12.03 kB / 0.5638 GB, free: 13.08 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.186, allocations: 60.56 kB / 0.5639 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007139/0.1867, allocations: 484.5 kB / 0.5643 GB, free: 12.5 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1867, allocations: 12.61 kB / 0.5644 GB, free: 12.49 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.926e-05/0.1867, allocations: 16.12 kB / 0.5644 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005162/0.1872, allocations: 267.3 kB / 0.5646 GB, free: 12.18 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.1873, allocations: 7.938 kB / 0.5646 GB, free: 12.17 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.824e-05/0.1873, allocations: 11.92 kB / 0.5646 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.1873, allocations: 4 kB / 0.5646 GB, free: 12.15 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003396/0.1876, allocations: 103.9 kB / 0.5647 GB, free: 12.05 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001181/0.1888, allocations: 0.8873 MB / 0.5656 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007495/0.1896, allocations: 286.6 kB / 0.5659 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.1898, allocations: 107.3 kB / 0.566 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.222e-05/0.1899, allocations: 8.219 kB / 0.566 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.1903, allocations: 214.6 kB / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of pre-optimization done (n=24): time 1.824e-06/0.1903, allocations: 0 / 0.5662 GB, free: 10.43 MB / 430.1 MB Notification: Performance of matching and sorting (n=24): time 0.001117/0.1915, allocations: 413 kB / 0.5666 GB, free: 10.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.1917, allocations: 350.1 kB / 0.5669 GB, free: 9.594 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008587/0.1925, allocations: 0.6592 MB / 0.5676 GB, free: 8.922 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.1926, allocations: 37.69 kB / 0.5676 GB, free: 8.879 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/0.1928, allocations: 240.5 kB / 0.5678 GB, free: 8.641 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/0.1929, allocations: 63.52 kB / 0.5679 GB, free: 8.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.193, allocations: 65.69 kB / 0.568 GB, free: 8.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002682/0.1932, allocations: 370.8 kB / 0.5683 GB, free: 8.137 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002413/0.1935, allocations: 79.95 kB / 0.5684 GB, free: 8.059 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1939, allocations: 245 kB / 0.5686 GB, free: 7.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005464/0.1944, allocations: 235.8 kB / 0.5688 GB, free: 7.504 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1944, allocations: 4 kB / 0.5689 GB, free: 7.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007078/0.1951, allocations: 317 kB / 0.5692 GB, free: 7.184 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/0.1951, allocations: 5.719 kB / 0.5692 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1952, allocations: 7.938 kB / 0.5692 GB, free: 7.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.1952, allocations: 12.06 kB / 0.5692 GB, free: 7.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002738/0.1954, allocations: 55.91 kB / 0.5692 GB, free: 7.105 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.1955, allocations: 4 kB / 0.5692 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/0.1957, allocations: 31.81 kB / 0.5693 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.1957, allocations: 8 kB / 0.5693 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.0003276/0.196, allocations: 220.2 kB / 0.5695 GB, free: 6.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001098/0.1961, allocations: 67.62 kB / 0.5695 GB, free: 6.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.1962, allocations: 56.25 kB / 0.5696 GB, free: 6.715 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.1962, allocations: 7.938 kB / 0.5696 GB, free: 6.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1963, allocations: 4 kB / 0.5696 GB, free: 6.703 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.1963, allocations: 3.984 kB / 0.5696 GB, free: 6.699 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.1967, allocations: 417.2 kB / 0.57 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1967, allocations: 0 / 0.57 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001348/0.1969, allocations: 27.92 kB / 0.57 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1969, allocations: 4 kB / 0.57 GB, free: 6.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.758e-05/0.1969, allocations: 11.98 kB / 0.5701 GB, free: 6.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.1969, allocations: 3.938 kB / 0.5701 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1969, allocations: 0 / 0.5701 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007833/0.1977, allocations: 374 kB / 0.5704 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001313/0.1978, allocations: 128.8 kB / 0.5705 GB, free: 5.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.1979, allocations: 12 kB / 0.5706 GB, free: 5.648 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.1981, allocations: 23.86 kB / 0.5706 GB, free: 5.625 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.1982, allocations: 39.95 kB / 0.5706 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.1982, allocations: 16 kB / 0.5706 GB, free: 5.57 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006032/0.1988, allocations: 490.8 kB / 0.5711 GB, free: 5.094 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1988, allocations: 0 / 0.5711 GB, free: 5.094 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004338/0.1993, allocations: 99.88 kB / 0.5712 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.001694/0.201, allocations: 467.9 kB / 0.5716 GB, free: 4.684 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006405/0.2016, allocations: 215.6 kB / 0.5718 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2016, allocations: 0 / 0.5718 GB, free: 4.473 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004189/0.202, allocations: 164.4 kB / 0.572 GB, free: 4.312 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007245/0.2027, allocations: 162.4 kB / 0.5722 GB, free: 4.172 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2041, allocations: 0.816 MB / 0.573 GB, free: 3.32 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005186/0.2046, allocations: 0.8467 MB / 0.5738 GB, free: 2.441 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002284/0.2049, allocations: 87.23 kB / 0.5739 GB, free: 2.352 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.205, allocations: 55.42 kB / 0.5739 GB, free: 2.297 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.205, allocations: 0 / 0.5739 GB, free: 2.297 MB / 430.1 MB Notification: Performance of Templates: time 0.01625/0.2212, allocations: 7.71 MB / 0.5814 GB, free: 10.63 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/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_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: 5.936395060271025]