Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001683/0.001683, allocations: 109.4 kB / 17.98 MB, free: 5.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00335/0.00335, allocations: 201.8 kB / 18.92 MB, free: 4.469 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 2.553/2.553, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4548/0.4548, allocations: 46.1 MB / 344.4 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002389/0.002389, allocations: 73.16 kB / 417.7 MB, free: 20.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1606, allocations: 62.45 MB / 480.1 MB, free: 5.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.005065/0.1657, allocations: 1.759 MB / 481.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.1676, allocations: 0.5884 MB / 482.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.1677, allocations: 0 / 482.5 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003194/0.1681, allocations: 31.86 kB / 482.5 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004479/0.1685, allocations: 63.75 kB / 482.6 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007794/0.1693, allocations: 167.2 kB / 482.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002825/0.1697, allocations: 95.7 kB / 482.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.1698, allocations: 27.97 kB / 482.9 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.17, allocations: 35.86 kB / 482.9 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000125/0.1701, allocations: 47.75 kB / 483 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.839e-05/0.1702, allocations: 4 kB / 483 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003011/0.1705, allocations: 99.89 kB / 483.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.1706, allocations: 27.91 kB / 483.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.14e-05/0.1707, allocations: 35.8 kB / 483.1 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003997/0.1711, allocations: 128 kB / 483.2 MB, free: 2.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1711, allocations: 3.938 kB / 483.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.1712, allocations: 0 / 483.2 MB, free: 2.559 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1712, allocations: 0 / 483.2 MB, free: 2.559 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009885/0.1722, allocations: 435 kB / 483.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.32e-05/0.1723, allocations: 8.031 kB / 483.7 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.174e-05/0.1724, allocations: 12.84 kB / 483.7 MB, free: 2.066 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003208/0.1727, allocations: 199.8 kB / 483.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.1727, allocations: 4.375 kB / 483.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1728, allocations: 3.938 kB / 483.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004791/0.1733, allocations: 95.36 kB / 484 MB, free: 1.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.73e-05/0.1733, allocations: 11.84 kB / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.1733, allocations: 0 / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.1734, allocations: 0 / 484 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005273/0.1739, allocations: 71.92 kB / 484.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001019/0.1749, allocations: 344.7 kB / 484.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/0.1754, allocations: 86.39 kB / 484.5 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002867/0.1757, allocations: 56.88 kB / 484.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.573e-05/0.1757, allocations: 0 / 484.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1758, allocations: 34.56 kB / 484.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.593e-06/0.1758, allocations: 0 / 484.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.002843/0.1786, allocations: 408.8 kB / 485 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.748e-05/0.1788, allocations: 81.05 kB / 485.1 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002758/0.1791, allocations: 159.9 kB / 485.2 MB, free: 396 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.072e-05/0.1791, allocations: 25.7 kB / 485.2 MB, free: 364 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.339e-05/0.1792, allocations: 100.1 kB / 485.3 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.1793, allocations: 27.56 kB / 485.4 MB, free: 232 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.125e-05/0.1794, allocations: 29.64 kB / 485.4 MB, free: 196 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.1796, allocations: 322.8 kB / 485.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005043/0.1801, allocations: 75.92 kB / 485.8 MB, free: 15.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.1807, allocations: 101.6 kB / 485.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.1817, allocations: 160.7 kB / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.1817, allocations: 0 / 486 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.001163/0.1829, allocations: 217.6 kB / 486.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.183, allocations: 8 kB / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.183, allocations: 0 / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.183, allocations: 96 / 486.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004047/0.1834, allocations: 51.77 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.1835, allocations: 4 kB / 486.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002775/0.1838, allocations: 19.97 kB / 486.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.1838, allocations: 8 kB / 486.3 MB, free: 15.22 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000163/0.184, allocations: 117.8 kB / 486.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.1841, allocations: 11.91 kB / 486.5 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001223/0.1853, allocations: 222.2 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.797e-06/0.1853, allocations: 3.938 kB / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1854, allocations: 0 / 486.7 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.1854, allocations: 4 kB / 486.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.1871, allocations: 0.5179 MB / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.1871, allocations: 0 / 487.2 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003247/0.1875, allocations: 43.84 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1875, allocations: 0 / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.1875, allocations: 7.984 kB / 487.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.715e-06/0.1876, allocations: 4.359 kB / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1876, allocations: 0 / 487.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.1888, allocations: 303.1 kB / 487.6 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.1889, allocations: 89.02 kB / 487.6 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.577e-05/0.189, allocations: 4 kB / 487.7 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000329/0.1893, allocations: 31.95 kB / 487.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.463e-05/0.1894, allocations: 11.98 kB / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1894, allocations: 288 / 487.7 MB, free: 13.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.1896, allocations: 126.5 kB / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.1897, allocations: 0 / 487.8 MB, free: 13.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005696/0.1903, allocations: 51.94 kB / 487.9 MB, free: 13.59 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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 Backend phase and start with SimCode phase: time 0.001988/0.1923, allocations: 0.4943 MB / 488.4 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.1934, allocations: 175.8 kB / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.1935, allocations: 0 / 488.5 MB, free: 13.08 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005547/0.194, allocations: 96.03 kB / 488.6 MB, free: 12.99 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.1947, allocations: 28.05 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009203/0.1957, allocations: 288 kB / 488.9 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.1961, allocations: 0.704 MB / 489.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.1962, allocations: 15.44 kB / 489.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1963, allocations: 0 / 489.7 MB, free: 11.9 MB / 366.1 MB Notification: Performance of Templates: time 0.008295/0.2046, allocations: 2.619 MB / 492.3 MB, free: 9.289 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches