Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008316/0.0008315, allocations: 100.7 kB / 17 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 199.4 kB / 17.91 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2639/0.2639, allocations: 46.19 MB / 344.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000644/0.0006441, allocations: 8 kB / 418.8 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1675, allocations: 63.56 MB / 482.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002383/0.17, allocations: 1.392 MB / 483.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.1711, allocations: 0.5187 MB / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.346e-05/0.1712, allocations: 0 / 484.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1714, allocations: 19.86 kB / 484.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003309/0.1718, allocations: 67.73 kB / 484.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004271/0.1722, allocations: 119.3 kB / 484.5 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.1724, allocations: 83.7 kB / 484.6 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.1725, allocations: 7.984 kB / 484.6 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001046/0.1726, allocations: 35.84 kB / 484.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.272e-05/0.1727, allocations: 31.84 kB / 484.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.819e-05/0.1727, allocations: 4 kB / 484.7 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000279/0.173, allocations: 87.88 kB / 484.8 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.195e-05/0.1731, allocations: 27.91 kB / 484.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.1732, allocations: 37.64 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002771/0.1734, allocations: 112.1 kB / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.1735, allocations: 0 / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1735, allocations: 0 / 484.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1735, allocations: 0 / 484.9 MB, free: 2.02 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.0008019/0.1743, allocations: 437.1 kB / 485.4 MB, free: 1.547 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.685e-05/0.1744, allocations: 8.031 kB / 485.4 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.941e-05/0.1744, allocations: 11.91 kB / 485.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.1747, allocations: 203.4 kB / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1747, allocations: 0 / 485.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.475e-05/0.1748, allocations: 4 kB / 485.6 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.175, allocations: 107.3 kB / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.1751, allocations: 0 / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.1751, allocations: 0 / 485.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.1751, allocations: 4 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002828/0.1754, allocations: 87.92 kB / 485.8 MB, free: 1.078 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004927/0.1759, allocations: 312.8 kB / 486.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1761, allocations: 78.53 kB / 486.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.1763, allocations: 56.94 kB / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1763, allocations: 0 / 486.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.1764, allocations: 38.56 kB / 486.3 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1764, allocations: 4 kB / 486.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001581/0.178, allocations: 481.1 kB / 486.7 MB, free: 52 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.305e-05/0.1781, allocations: 85.06 kB / 486.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1782, allocations: 155.1 kB / 487 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1783, allocations: 29.64 kB / 487 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1784, allocations: 96.31 kB / 487.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.1784, allocations: 31.56 kB / 487.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.248e-06/0.1784, allocations: 4 kB / 487.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.1786, allocations: 322.8 kB / 487.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002805/0.1788, allocations: 91.86 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002717/0.1791, allocations: 109.6 kB / 487.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.1794, allocations: 91.97 kB / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1794, allocations: 0 / 487.7 MB, free: 15 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000588/0.18, allocations: 237.3 kB / 488 MB, free: 14.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.18, allocations: 11.98 kB / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.18, allocations: 128 / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.1801, allocations: 0 / 488 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002162/0.1803, allocations: 59.91 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.1803, allocations: 7.969 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1805, allocations: 39.92 kB / 488.1 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.1805, allocations: 0 / 488.1 MB, free: 14.64 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.1806, allocations: 122.4 kB / 488.2 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.1806, allocations: 7.906 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006662/0.1813, allocations: 250.4 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1813, allocations: 0 / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.1813, allocations: 96 / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1813, allocations: 3.938 kB / 488.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000915/0.1823, allocations: 0.5335 MB / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1823, allocations: 0 / 489 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001767/0.1825, allocations: 47.89 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1825, allocations: 0 / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.1825, allocations: 4 kB / 489 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1825, allocations: 7.953 kB / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1825, allocations: 0 / 489 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.1831, allocations: 335.1 kB / 489.4 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/0.1832, allocations: 85.02 kB / 489.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.1832, allocations: 7.984 kB / 489.5 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001822/0.1834, allocations: 35.97 kB / 489.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.1835, allocations: 15.94 kB / 489.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.1835, allocations: 4 kB / 489.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1836, allocations: 119.4 kB / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1837, allocations: 0 / 489.6 MB, free: 12.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.184, allocations: 55.92 kB / 489.7 MB, free: 12.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001193/0.1852, allocations: 488.5 kB / 490.2 MB, free: 12.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006032/0.1858, allocations: 207.8 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1858, allocations: 4 kB / 490.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002772/0.1861, allocations: 99.86 kB / 490.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1865, allocations: 27.91 kB / 490.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004755/0.187, allocations: 233.1 kB / 490.7 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.1872, allocations: 0.7004 MB / 491.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.223e-05/0.1873, allocations: 16.42 kB / 491.4 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.1874, allocations: 19.44 kB / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1874, allocations: 0 / 491.5 MB, free: 11.25 MB / 366.1 MB Notification: Performance of Templates: time 0.005179/0.1926, allocations: 2.258 MB / 493.7 MB, free: 9.004 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches