Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.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.001315/0.001315, allocations: 124.4 kB / 17.79 MB, free: 5.266 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: 199.3 kB / 20.74 MB, free: 2.32 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.642/1.642, 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.2476/0.2476, allocations: 46.92 MB / 357.1 MB, free: 10.3 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.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5010,variableFilter="time|t_new.y.1.|d_t_new.y|trapezoid1.y|trapezoid2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.91 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1644, allocations: 65.99 MB / 0.5559 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test33): time 0.003731/0.1681, allocations: 1.864 MB / 0.5577 GB, free: 3.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.1701, allocations: 1.056 MB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.788e-05/0.1702, allocations: 0 / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.1705, allocations: 59.73 kB / 0.5588 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004101/0.1709, allocations: 123.4 kB / 0.5589 GB, free: 2.203 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005774/0.1715, allocations: 214.6 kB / 0.5591 GB, free: 1.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003262/0.1718, allocations: 203.4 kB / 0.5593 GB, free: 1.797 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.1719, allocations: 17.55 kB / 0.5593 GB, free: 1.777 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000146/0.1721, allocations: 79.73 kB / 0.5594 GB, free: 1.699 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.1722, allocations: 107.6 kB / 0.5595 GB, free: 1.594 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.1723, allocations: 16 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001155/0.1724, allocations: 51.97 kB / 0.5596 GB, free: 1.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1725, allocations: 43.83 kB / 0.5596 GB, free: 1.484 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.338e-05/0.1726, allocations: 67.59 kB / 0.5597 GB, free: 1.418 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003335/0.1729, allocations: 195.1 kB / 0.5598 GB, free: 1.227 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1729, allocations: 3.938 kB / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1729, allocations: 0 / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.1729, allocations: 0 / 0.5598 GB, free: 1.223 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001316/0.1742, allocations: 0.5836 MB / 0.5604 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1743, allocations: 8.031 kB / 0.5604 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.802e-05/0.1744, allocations: 20.84 kB / 0.5604 GB, free: 0.5508 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003029/0.1747, allocations: 241 kB / 0.5607 GB, free: 284 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.1747, allocations: 4.375 kB / 0.5607 GB, free: 280 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.1747, allocations: 12.12 kB / 0.5607 GB, free: 268 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005612/0.1753, allocations: 153.4 kB / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1753, allocations: 0 / 0.5608 GB, free: 108 kB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1753, allocations: 4 kB / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1753, allocations: 0 / 0.5608 GB, free: 104 kB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007979/0.1761, allocations: 163.9 kB / 0.561 GB, free: 15.94 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.177, allocations: 424.6 kB / 0.5614 GB, free: 15.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008525/0.1779, allocations: 202.3 kB / 0.5616 GB, free: 15.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004176/0.1783, allocations: 92.75 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.1783, allocations: 4 kB / 0.5617 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005853/0.1789, allocations: 167.2 kB / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.1789, allocations: 0 / 0.5618 GB, free: 14.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=13): time 0.004046/0.183, allocations: 0.8402 MB / 0.5627 GB, free: 14.15 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.183, allocations: 63.28 kB / 0.5627 GB, free: 14.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002963/0.1833, allocations: 252 kB / 0.563 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1833, allocations: 33.7 kB / 0.563 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.1834, allocations: 124.1 kB / 0.5631 GB, free: 13.65 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.1835, allocations: 36.25 kB / 0.5632 GB, free: 13.62 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.1836, allocations: 37.7 kB / 0.5632 GB, free: 13.57 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.1838, allocations: 334.8 kB / 0.5635 GB, free: 13.24 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007805/0.1846, allocations: 167.8 kB / 0.5637 GB, free: 13.07 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007564/0.1853, allocations: 179.8 kB / 0.5638 GB, free: 12.9 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.1868, allocations: 374.2 kB / 0.5642 GB, free: 12.52 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1868, allocations: 7.875 kB / 0.5642 GB, free: 12.51 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001739/0.1886, allocations: 476.4 kB / 0.5647 GB, free: 12.03 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.887e-05/0.1886, allocations: 63.39 kB / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.1886, allocations: 0 / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.1887, allocations: 0 / 0.5647 GB, free: 11.95 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004608/0.1891, allocations: 71.91 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.1891, allocations: 7.938 kB / 0.5648 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000432/0.1896, allocations: 55.91 kB / 0.5648 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.1896, allocations: 11.98 kB / 0.5649 GB, free: 11.81 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * 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.0001998/0.1898, allocations: 140 kB / 0.565 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.057e-05/0.1898, allocations: 19.89 kB / 0.565 GB, free: 11.64 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/0.1916, allocations: 422.6 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.1916, allocations: 0 / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.164e-05/0.1916, allocations: 3.938 kB / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.1916, allocations: 0 / 0.5654 GB, free: 11.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.1937, allocations: 0.7363 MB / 0.5661 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1937, allocations: 0 / 0.5661 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004415/0.1941, allocations: 63.91 kB / 0.5662 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.1942, allocations: 7.938 kB / 0.5662 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.562e-05/0.1942, allocations: 7.984 kB / 0.5662 GB, free: 10.35 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1942, allocations: 4 kB / 0.5662 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1942, allocations: 0 / 0.5662 GB, free: 10.34 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.1959, allocations: 483 kB / 0.5667 GB, free: 9.855 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.196, allocations: 100.9 kB / 0.5668 GB, free: 9.738 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.196, allocations: 8 kB / 0.5668 GB, free: 9.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00045/0.1965, allocations: 55.91 kB / 0.5668 GB, free: 9.676 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001914/0.1966, allocations: 51.94 kB / 0.5669 GB, free: 9.625 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.1967, allocations: 4 kB / 0.5669 GB, free: 9.621 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1969, allocations: 189.6 kB / 0.5671 GB, free: 9.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1969, allocations: 0 / 0.5671 GB, free: 9.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1973, allocations: 47.94 kB / 0.5671 GB, free: 9.391 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00163/0.1989, allocations: 401.1 kB / 0.5675 GB, free: 9.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001829/0.2007, allocations: 482 kB / 0.568 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2007, allocations: 0 / 0.568 GB, free: 8.656 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008521/0.2016, allocations: 183.7 kB / 0.5681 GB, free: 8.477 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.202, allocations: 46.59 kB / 0.5682 GB, free: 8.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.2031, allocations: 362.7 kB / 0.5685 GB, free: 8.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2035, allocations: 0.7357 MB / 0.5692 GB, free: 7.289 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001342/0.2036, allocations: 29.41 kB / 0.5693 GB, free: 7.258 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.2037, allocations: 23.42 kB / 0.5693 GB, free: 7.234 MB / 430.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2037, allocations: 3.938 kB / 0.5693 GB, free: 7.23 MB / 430.1 MB Notification: Performance of Templates: time 0.008484/0.2122, allocations: 3.637 MB / 0.5728 GB, free: 3.613 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Dv/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable2Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,t_new.y[1],d_t_new.y,trapezoid1.y,trapezoid2.y Variables in the result:d_t_new.u,d_t_new.y,t_new.extrapolation,t_new.isCsvExt,t_new.n,t_new.nHeaderLines,t_new.smoothness,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.u1[1],t_new.u2[1],t_new.u_max[1],t_new.u_max[2],t_new.u_min[1],t_new.u_min[2],t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time,trapezoid1.T_falling,trapezoid1.T_rising,trapezoid1.T_width,trapezoid1.amplitude,trapezoid1.falling,trapezoid1.nperiod,trapezoid1.offset,trapezoid1.period,trapezoid1.rising,trapezoid1.startTime,trapezoid1.width,trapezoid1.y,trapezoid2.T_falling,trapezoid2.T_rising,trapezoid2.T_width,trapezoid2.amplitude,trapezoid2.falling,trapezoid2.nperiod,trapezoid2.offset,trapezoid2.period,trapezoid2.rising,trapezoid2.startTime,trapezoid2.width,trapezoid2.y [Calling sys.exit(0), Time elapsed: 5.496757455170155]