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.001264/0.001264, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001475/0.001475, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2383/0.2383, allocations: 46.09 MB / 343.6 MB, free: 11.84 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 81.97 kB / 416.9 MB, free: 20.22 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1761, allocations: 62.44 MB / 479.3 MB, free: 5.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003046/0.1792, allocations: 1.751 MB / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00102/0.1803, allocations: 0.6001 MB / 481.6 MB, free: 3.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.79e-05/0.1803, allocations: 4 kB / 481.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002323/0.1806, allocations: 23.91 kB / 481.7 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.1808, allocations: 67.75 kB / 481.7 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1812, allocations: 163.1 kB / 481.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.1814, allocations: 91.7 kB / 482 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1815, allocations: 15.98 kB / 482 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.435e-05/0.1816, allocations: 47.77 kB / 482 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.965e-05/0.1817, allocations: 43.78 kB / 482.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.079e-05/0.1817, allocations: 4 kB / 482.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.1819, allocations: 95.94 kB / 482.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.36e-05/0.182, allocations: 27.83 kB / 482.2 MB, free: 2.805 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.182, allocations: 31.8 kB / 482.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.1823, allocations: 159.8 kB / 482.4 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.1823, allocations: 4 kB / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1823, allocations: 0 / 482.4 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.05e-06/0.1823, allocations: 0 / 482.4 MB, free: 2.613 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.0006735/0.183, allocations: 439 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.183, allocations: 8.031 kB / 482.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.99e-05/0.1831, allocations: 8.844 kB / 482.9 MB, free: 2.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1833, allocations: 200.7 kB / 483 MB, free: 1.887 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1833, allocations: 4.375 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1834, allocations: 11.92 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.1837, allocations: 95.34 kB / 483.2 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1837, allocations: 3.906 kB / 483.2 MB, free: 1.762 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1837, allocations: 8 kB / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1837, allocations: 0 / 483.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003183/0.1841, allocations: 67.92 kB / 483.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.1847, allocations: 344.7 kB / 483.6 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000259/0.185, allocations: 74.53 kB / 483.6 MB, free: 1.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.1852, allocations: 52.94 kB / 483.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.48e-05/0.1852, allocations: 3.938 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.1853, allocations: 34.5 kB / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.553e-06/0.1853, allocations: 0 / 483.7 MB, free: 1.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001799/0.1871, allocations: 412.8 kB / 484.1 MB, free: 0.707 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/0.1871, allocations: 89.05 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.1873, allocations: 150.5 kB / 484.4 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.1873, allocations: 33.7 kB / 484.4 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.1874, allocations: 92.14 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/0.1874, allocations: 31.55 kB / 484.5 MB, free: 284 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.265e-05/0.1875, allocations: 25.72 kB / 484.6 MB, free: 252 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1877, allocations: 322.8 kB / 484.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003021/0.188, allocations: 79.91 kB / 484.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.1883, allocations: 97.56 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005517/0.1889, allocations: 164.7 kB / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1889, allocations: 384 / 485.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006562/0.1895, allocations: 217.3 kB / 485.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.1896, allocations: 12.31 kB / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.1896, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.1896, allocations: 0 / 485.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.1899, allocations: 47.89 kB / 485.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.1899, allocations: 7.938 kB / 485.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.19, allocations: 23.97 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1901, allocations: 0 / 485.5 MB, free: 15.27 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.0001014/0.1902, allocations: 125.8 kB / 485.6 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.618e-05/0.1902, allocations: 15.89 kB / 485.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007148/0.1909, allocations: 222.2 kB / 485.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.191, allocations: 3.938 kB / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.191, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.191, allocations: 0 / 485.9 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009928/0.192, allocations: 0.514 MB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.192, allocations: 4 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001945/0.1922, allocations: 35.95 kB / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.1922, allocations: 0 / 486.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.1922, allocations: 4 kB / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.1922, allocations: 0 / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.1922, allocations: 0 / 486.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006921/0.1929, allocations: 311.1 kB / 486.7 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.497e-05/0.193, allocations: 85.02 kB / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.923e-05/0.193, allocations: 0 / 486.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001852/0.1932, allocations: 31.97 kB / 486.8 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.994e-05/0.1933, allocations: 11.97 kB / 486.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1933, allocations: 3.984 kB / 486.9 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000114/0.1934, allocations: 130.5 kB / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1935, allocations: 0 / 487 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003272/0.1938, allocations: 44 kB / 487 MB, free: 13.64 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.001172/0.195, allocations: 0.4906 MB / 487.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006753/0.1957, allocations: 171.8 kB / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1957, allocations: 0 / 487.7 MB, free: 13.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.196, allocations: 95.91 kB / 487.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003446/0.1963, allocations: 24.23 kB / 487.8 MB, free: 13.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005521/0.1969, allocations: 279.9 kB / 488.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/0.1972, allocations: 0.7083 MB / 488.8 MB, free: 12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1974, allocations: 32.53 kB / 488.8 MB, free: 11.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.214e-05/0.1974, allocations: 19.42 kB / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1974, allocations: 0 / 488.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006215/0.2037, allocations: 2.379 MB / 491.2 MB, free: 9.578 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches