Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001338/0.001338, allocations: 115.9 kB / 18.41 MB, free: 4.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001587/0.001587, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2306/0.2306, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 75.88 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1768/0.1782, allocations: 62.44 MB / 481.5 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.003326/0.1816, allocations: 1.682 MB / 483.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1827, allocations: 0.5767 MB / 483.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.1827, allocations: 7.938 kB / 483.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002503/0.183, allocations: 43.83 kB / 483.8 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1833, allocations: 103.6 kB / 483.9 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004027/0.1837, allocations: 175.3 kB / 484 MB, free: 1.922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.1839, allocations: 91.73 kB / 484.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.184, allocations: 16.23 kB / 484.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.51e-05/0.184, allocations: 35.84 kB / 484.2 MB, free: 1.777 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.294e-05/0.1841, allocations: 47.83 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.448e-05/0.1842, allocations: 4 kB / 484.2 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.396e-05/0.1843, allocations: 47.98 kB / 484.3 MB, free: 1.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.278e-05/0.1843, allocations: 31.84 kB / 484.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.404e-05/0.1844, allocations: 35.73 kB / 484.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1846, allocations: 103.7 kB / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1846, allocations: 0 / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1846, allocations: 0 / 484.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1846, allocations: 0 / 484.4 MB, free: 1.512 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.0005432/0.1851, allocations: 419 kB / 484.9 MB, free: 1.055 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.1852, allocations: 8.031 kB / 484.9 MB, free: 1.047 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.313e-05/0.1852, allocations: 12.84 kB / 484.9 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002247/0.1855, allocations: 200 kB / 485.1 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.1855, allocations: 8.375 kB / 485.1 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.1855, allocations: 4.375 kB / 485.1 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001804/0.1857, allocations: 65.78 kB / 485.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1857, allocations: 4 kB / 485.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.1857, allocations: 4 kB / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.1858, allocations: 0 / 485.2 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.1859, allocations: 43.91 kB / 485.2 MB, free: 0.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004672/0.1864, allocations: 324.7 kB / 485.5 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/0.1866, allocations: 62.58 kB / 485.6 MB, free: 236 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.304e-05/0.1867, allocations: 32.95 kB / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.1867, allocations: 0 / 485.6 MB, free: 200 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.1867, allocations: 30.56 kB / 485.6 MB, free: 160 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1867, allocations: 3.938 kB / 485.6 MB, free: 156 kB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001379/0.1881, allocations: 425.2 kB / 486.1 MB, free: 15.73 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.532e-05/0.1882, allocations: 59.34 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1883, allocations: 177.3 kB / 486.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.1884, allocations: 29.7 kB / 486.3 MB, free: 15.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1884, allocations: 108 kB / 486.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1885, allocations: 35.45 kB / 486.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.1885, allocations: 33.7 kB / 486.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1886, allocations: 326.8 kB / 486.8 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.1887, allocations: 51.95 kB / 486.9 MB, free: 14.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.1889, allocations: 55.95 kB / 486.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.1891, allocations: 124.8 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.1891, allocations: 3.984 kB / 487 MB, free: 14.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002964/0.1894, allocations: 161.7 kB / 487.2 MB, free: 14.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.1895, allocations: 8 kB / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1895, allocations: 0 / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1895, allocations: 0 / 487.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.1896, allocations: 35.84 kB / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.1896, allocations: 0 / 487.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.804e-05/0.1897, allocations: 19.98 kB / 487.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.1897, allocations: 0 / 487.3 MB, free: 14.47 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.000107/0.1898, allocations: 125.8 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.1898, allocations: 15.8 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004031/0.1903, allocations: 186.2 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.1903, allocations: 11.94 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1903, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.1903, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006999/0.191, allocations: 0.4883 MB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.191, allocations: 3.938 kB / 488.1 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.586e-05/0.1911, allocations: 28.05 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.1911, allocations: 0 / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.1911, allocations: 4.188 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.1911, allocations: 4 kB / 488.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.1912, allocations: 4 kB / 488.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.1916, allocations: 280.9 kB / 488.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.215e-05/0.1917, allocations: 92.95 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.157e-05/0.1917, allocations: 7.984 kB / 488.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.653e-05/0.1918, allocations: 4 kB / 488.5 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.237e-05/0.1918, allocations: 11.98 kB / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.1918, allocations: 4 kB / 488.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001044/0.192, allocations: 143.1 kB / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.192, allocations: 0 / 488.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.1922, allocations: 32 kB / 488.7 MB, free: 12.93 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.0009836/0.1932, allocations: 440.2 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003101/0.1935, allocations: 135.8 kB / 489.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1935, allocations: 0 / 489.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.1937, allocations: 71.89 kB / 489.3 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.194, allocations: 23.22 kB / 489.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000568/0.1946, allocations: 312 kB / 489.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.195, allocations: 0.7158 MB / 490.4 MB, free: 11.35 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.672e-05/0.1951, allocations: 36.52 kB / 490.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.1952, allocations: 11.44 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1952, allocations: 4 kB / 490.4 MB, free: 11.3 MB / 366.1 MB Notification: Performance of Templates: time 0.01283/0.208, allocations: 1.622 MB / 492 MB, free: 9.684 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches