Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001019/0.001019, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.001209, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2165/0.2165, allocations: 46.1 MB / 344.1 MB, free: 11.63 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002548/0.002548, allocations: 77.28 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1728, allocations: 62.44 MB / 480 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.005821/0.1787, allocations: 1.674 MB / 481.7 MB, free: 3.633 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00178/0.1805, allocations: 0.5571 MB / 482.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.236e-05/0.1806, allocations: 0 / 482.3 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002975/0.181, allocations: 51.81 kB / 482.3 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005277/0.1815, allocations: 95.58 kB / 482.4 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.1821, allocations: 131.4 kB / 482.5 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.1824, allocations: 83.77 kB / 482.6 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.1826, allocations: 20.22 kB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.131e-05/0.1826, allocations: 31.86 kB / 482.7 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.1828, allocations: 39.83 kB / 482.7 MB, free: 2.625 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.1828, allocations: 4 kB / 482.7 MB, free: 2.621 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.183, allocations: 59.97 kB / 482.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.452e-05/0.1831, allocations: 23.91 kB / 482.8 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.693e-05/0.1832, allocations: 31.69 kB / 482.8 MB, free: 2.508 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002342/0.1834, allocations: 99.75 kB / 482.9 MB, free: 2.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1834, allocations: 4 kB / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.009e-06/0.1834, allocations: 0 / 482.9 MB, free: 2.406 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.465e-06/0.1834, allocations: 3.938 kB / 482.9 MB, free: 2.402 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006291/0.1841, allocations: 411.3 kB / 483.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.1841, allocations: 11.97 kB / 483.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.091e-05/0.1842, allocations: 8.844 kB / 483.3 MB, free: 1.934 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1844, allocations: 196.7 kB / 483.5 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.198e-05/0.1845, allocations: 4.375 kB / 483.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1845, allocations: 11.94 kB / 483.5 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1847, allocations: 65.61 kB / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.189e-05/0.1847, allocations: 0 / 483.6 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1847, allocations: 4 kB / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1848, allocations: 0 / 483.6 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.1849, allocations: 39.95 kB / 483.7 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/0.1854, allocations: 316.6 kB / 484 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.1857, allocations: 50.56 kB / 484 MB, free: 1.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.375e-05/0.1858, allocations: 24.97 kB / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.1858, allocations: 0 / 484 MB, free: 1.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.1858, allocations: 38.58 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.643e-06/0.1858, allocations: 4 kB / 484.1 MB, free: 1.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001779/0.1876, allocations: 396.7 kB / 484.5 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.1877, allocations: 55.39 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000199/0.1879, allocations: 173.7 kB / 484.7 MB, free: 452 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1879, allocations: 33.7 kB / 484.7 MB, free: 412 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.486e-05/0.188, allocations: 108 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.1881, allocations: 31.56 kB / 484.9 MB, free: 268 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.1881, allocations: 25.7 kB / 484.9 MB, free: 236 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1883, allocations: 322.8 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001574/0.1885, allocations: 39.97 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001452/0.1886, allocations: 43.97 kB / 485.3 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002988/0.1889, allocations: 104.7 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1889, allocations: 0 / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000409/0.1893, allocations: 145.4 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.1894, allocations: 6.5 kB / 485.5 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.1894, allocations: 3.938 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.1894, allocations: 4 kB / 485.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002217/0.1896, allocations: 28.53 kB / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1897, allocations: 0 / 485.6 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.571e-05/0.1898, allocations: 12 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.544e-05/0.1898, allocations: 7.984 kB / 485.6 MB, free: 15.51 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 (11): * Single equations (assignments): 11 * 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.0001258/0.1899, allocations: 129.7 kB / 485.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.19, allocations: 11.91 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004783/0.1905, allocations: 166.2 kB / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.1905, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1905, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1905, allocations: 0 / 485.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006996/0.1912, allocations: 479.9 kB / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1912, allocations: 0 / 486.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.1913, allocations: 31.92 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1914, allocations: 4 kB / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1914, allocations: 0 / 486.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.1914, allocations: 3.984 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1914, allocations: 4 kB / 486.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003611/0.1918, allocations: 253.6 kB / 486.6 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.607e-05/0.1918, allocations: 92.91 kB / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1919, allocations: 0 / 486.7 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.827e-05/0.192, allocations: 15.98 kB / 486.8 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.192, allocations: 11.94 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.405e-06/0.192, allocations: 4 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1922, allocations: 135.2 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1922, allocations: 0 / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1925, allocations: 28 kB / 486.9 MB, free: 14.05 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009823/0.1934, allocations: 451.9 kB / 487.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1938, allocations: 115.8 kB / 487.5 MB, free: 13.65 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.1938, allocations: 4 kB / 487.5 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.1939, allocations: 55.91 kB / 487.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.1943, allocations: 24.7 kB / 487.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000561/0.1949, allocations: 267.9 kB / 487.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1953, allocations: 0.7119 MB / 488.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.869e-05/0.1954, allocations: 12.56 kB / 488.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.399e-05/0.1954, allocations: 19.42 kB / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1954, allocations: 0 / 488.6 MB, free: 12.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004361/0.1998, allocations: 1.557 MB / 490.1 MB, free: 10.96 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches