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.0007974/0.0007974, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003339/0.003339, allocations: 160.2 kB / 24.7 MB, free: 9.418 MB / 18.57 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 0.8656/0.8656, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2456/0.2456, allocations: 34.25 MB / 295.7 MB, free: 0.6875 MB / 266.7 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 1.303e-06/1.303e-06, allocations: 0 / 443.4 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/1.998e-05, allocations: 6.281 kB / 443.4 MB, free: 1.18 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.1721/0.1721, allocations: 2.209 MB / 445.6 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00157/0.1737, allocations: 1.633 MB / 447.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.1738, allocations: 5.688 kB / 447.3 MB, free: 42.72 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003525/0.1742, allocations: 146.5 kB / 447.4 MB, free: 42.66 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003707/0.1746, allocations: 298.2 kB / 447.7 MB, free: 42.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006302/0.1752, allocations: 0.545 MB / 448.2 MB, free: 42.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004/0.1756, allocations: 0.5876 MB / 448.8 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.1757, allocations: 38.12 kB / 448.9 MB, free: 41.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1759, allocations: 311.1 kB / 449.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001762/0.1761, allocations: 209.4 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.411e-05/0.1762, allocations: 26.5 kB / 449.4 MB, free: 41.73 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002184/0.1764, allocations: 191.6 kB / 449.6 MB, free: 41.68 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.1765, allocations: 139.8 kB / 449.7 MB, free: 41.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.023e-05/0.1766, allocations: 112.7 kB / 449.8 MB, free: 41.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.177, allocations: 0.6229 MB / 450.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.177, allocations: 0.5938 kB / 450.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.177, allocations: 0 / 450.5 MB, free: 41.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.177, allocations: 3.719 kB / 450.5 MB, free: 41.3 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.0007693/0.1778, allocations: 0.8468 MB / 451.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.1778, allocations: 8.594 kB / 451.3 MB, free: 40.61 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.923e-05/0.1779, allocations: 55.61 kB / 451.4 MB, free: 40.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004353/0.1784, allocations: 421.1 kB / 451.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.861e-05/0.1784, allocations: 16.55 kB / 451.8 MB, free: 40.3 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.1784, allocations: 13.06 kB / 451.8 MB, free: 40.29 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.1787, allocations: 348.2 kB / 452.1 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.1787, allocations: 7.031 kB / 452.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1787, allocations: 2.938 kB / 452.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1787, allocations: 2.812 kB / 452.2 MB, free: 40.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.1789, allocations: 123 kB / 452.3 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.1794, allocations: 0.7811 MB / 453.1 MB, free: 39.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003383/0.1798, allocations: 305 kB / 453.4 MB, free: 39.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.1799, allocations: 107.5 kB / 453.5 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1799, allocations: 2.875 kB / 453.5 MB, free: 39.15 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002326/0.1801, allocations: 227 kB / 453.7 MB, free: 39.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=24): time 1.303e-06/0.1801, allocations: 4 kB / 453.7 MB, free: 39.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=24): time 0.0005275/0.1807, allocations: 422.2 kB / 454.1 MB, free: 38.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1807, allocations: 241.3 kB / 454.3 MB, free: 38.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004466/0.1812, allocations: 0.672 MB / 455 MB, free: 38.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.1812, allocations: 35.45 kB / 455 MB, free: 38.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.616e-05/0.1813, allocations: 227.3 kB / 455.3 MB, free: 38.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.1813, allocations: 69.48 kB / 455.3 MB, free: 38.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/0.1814, allocations: 61.84 kB / 455.4 MB, free: 37.99 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.27e-05/0.1814, allocations: 375.1 kB / 455.8 MB, free: 37.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.1815, allocations: 90.41 kB / 455.9 MB, free: 37.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001861/0.1817, allocations: 435.7 kB / 456.3 MB, free: 37.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.182, allocations: 240.5 kB / 456.5 MB, free: 37.05 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.182, allocations: 2.844 kB / 456.5 MB, free: 37.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0003226/0.1823, allocations: 333.3 kB / 456.8 MB, free: 36.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.1823, allocations: 6.75 kB / 456.8 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.1823, allocations: 2.594 kB / 456.9 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1823, allocations: 2.625 kB / 456.9 MB, free: 36.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.1825, allocations: 55.19 kB / 456.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1825, allocations: 6.812 kB / 456.9 MB, free: 36.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.486e-05/0.1826, allocations: 34.7 kB / 456.9 MB, free: 36.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.1826, allocations: 16.44 kB / 457 MB, free: 36.87 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.0001304/0.1827, allocations: 221.6 kB / 457.2 MB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.1828, allocations: 56.98 kB / 457.2 MB, free: 36.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004071/0.1832, allocations: 381.7 kB / 457.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1832, allocations: 4.344 kB / 457.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1832, allocations: 3.844 kB / 457.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.08e-06/0.1832, allocations: 3.328 kB / 457.6 MB, free: 36.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001872/0.1834, allocations: 322 kB / 457.9 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1834, allocations: 0 / 457.9 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.861e-05/0.1834, allocations: 40.55 kB / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1834, allocations: 0 / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.1834, allocations: 11.16 kB / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.1834, allocations: 2.781 kB / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1834, allocations: 0 / 458 MB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.1838, allocations: 401.8 kB / 458.4 MB, free: 36.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.399e-05/0.1838, allocations: 59.17 kB / 458.4 MB, free: 36.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.735e-05/0.1839, allocations: 17 kB / 458.5 MB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.1839, allocations: 18.8 kB / 458.5 MB, free: 36.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.492e-05/0.184, allocations: 37.08 kB / 458.5 MB, free: 36.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.118e-05/0.184, allocations: 25.61 kB / 458.5 MB, free: 36.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002895/0.1843, allocations: 495.6 kB / 459 MB, free: 35.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1843, allocations: 0 / 459 MB, free: 35.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002483/0.1846, allocations: 101.9 kB / 459.1 MB, free: 35.82 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.0007705/0.1853, allocations: 0.4909 MB / 459.6 MB, free: 35.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003046/0.1856, allocations: 243.6 kB / 459.8 MB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1856, allocations: 0 / 459.8 MB, free: 35.57 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1858, allocations: 134.9 kB / 460 MB, free: 35.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003593/0.1861, allocations: 142.8 kB / 460.1 MB, free: 35.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007869/0.1869, allocations: 0.8649 MB / 461 MB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.1871, allocations: 261.8 kB / 461.2 MB, free: 34.87 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.372e-05/0.1871, allocations: 58.8 kB / 461.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.1871, allocations: 0 / 461.3 MB, free: 34.86 MB / 410.7 MB Notification: Performance of Templates: time 0.005474/0.1926, allocations: 7.486 MB / 468.8 MB, free: 33.93 MB / 410.7 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.035862861201167]