Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007963/0.0007963, allocations: 88.28 kB / 21.43 MB, free: 3.137 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003132/0.003132, allocations: 155.5 kB / 24.7 MB, free: 8.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8583/0.8583, allocations: 177 MB / 204.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2681/0.2681, allocations: 34.24 MB / 295.6 MB, free: 0.668 MB / 266.7 MB " [Timeout remaining time 180] 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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.364e-05/1.498e-05, allocations: 2.281 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.186/0.1861, allocations: 1.648 MB / 445.1 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000637/0.1867, allocations: 0.5461 MB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.055e-05/0.1867, allocations: 2.906 kB / 445.6 MB, free: 43.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.1871, allocations: 441.5 kB / 446.1 MB, free: 43.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002767/0.1874, allocations: 298.8 kB / 446.4 MB, free: 43.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001924/0.1876, allocations: 138.4 kB / 446.5 MB, free: 43.41 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001423/0.1877, allocations: 166.8 kB / 446.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.1878, allocations: 9.406 kB / 446.7 MB, free: 43.38 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.064e-05/0.1879, allocations: 123.7 kB / 446.8 MB, free: 43.36 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.188, allocations: 241.5 kB / 447 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.188, allocations: 3.531 kB / 447 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.725e-05/0.1881, allocations: 31.2 kB / 447.1 MB, free: 43.34 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.554e-05/0.1882, allocations: 91.97 kB / 447.1 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1882, allocations: 34.25 kB / 447.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.1884, allocations: 241.5 kB / 447.4 MB, free: 43.19 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1884, allocations: 4 kB / 447.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1884, allocations: 0 / 447.4 MB, free: 43.18 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1884, allocations: 0 / 447.4 MB, free: 43.18 MB / 410.7 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.0004106/0.1888, allocations: 0.5705 MB / 448 MB, free: 42.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.165e-05/0.1888, allocations: 11.28 kB / 448 MB, free: 42.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1889, allocations: 41.53 kB / 448 MB, free: 42.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.189, allocations: 243.8 kB / 448.3 MB, free: 42.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-06/0.189, allocations: 4.375 kB / 448.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.189, allocations: 13.27 kB / 448.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.888e-05/0.1891, allocations: 51.61 kB / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.1891, allocations: 192 / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.1891, allocations: 384 / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.747e-06/0.1891, allocations: 384 / 448.3 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.395e-05/0.1892, allocations: 32.28 kB / 448.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002613/0.1895, allocations: 324.1 kB / 448.7 MB, free: 42.16 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000152/0.1896, allocations: 43.48 kB / 448.7 MB, free: 42.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.411e-05/0.1896, allocations: 18.03 kB / 448.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1897, allocations: 2.656 kB / 448.8 MB, free: 42.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.014e-05/0.1897, allocations: 38.44 kB / 448.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 6.82e-07/0.1897, allocations: 0 / 448.8 MB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.00035/0.19, allocations: 230.6 kB / 449 MB, free: 41.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.159e-05/0.19, allocations: 61.81 kB / 449.1 MB, free: 41.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.1904, allocations: 0.8533 MB / 449.9 MB, free: 41.57 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.1904, allocations: 29.7 kB / 450 MB, free: 41.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.1905, allocations: 217.6 kB / 450.2 MB, free: 41.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.1905, allocations: 17.8 kB / 450.2 MB, free: 41.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.271e-05/0.1906, allocations: 19.38 kB / 450.2 MB, free: 41.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.208e-05/0.1906, allocations: 368.1 kB / 450.6 MB, free: 40.99 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.405e-05/0.1906, allocations: 17.39 kB / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.673e-05/0.1907, allocations: 14.05 kB / 450.6 MB, free: 40.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.192e-05/0.1907, allocations: 48.92 kB / 450.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.1907, allocations: 0 / 450.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.807e-05/0.1908, allocations: 128 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.1908, allocations: 5.25 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.1908, allocations: 0 / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1908, allocations: 0 / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.889e-05/0.1909, allocations: 17.73 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.1909, allocations: 2.5 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.605e-05/0.1909, allocations: 6.203 kB / 450.8 MB, free: 40.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1909, allocations: 2.656 kB / 450.8 MB, free: 40.89 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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 9.369e-05/0.191, allocations: 209.8 kB / 451 MB, free: 40.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.399e-05/0.191, allocations: 53.02 kB / 451.1 MB, free: 40.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.1912, allocations: 132.8 kB / 451.2 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1912, allocations: 3.938 kB / 451.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1912, allocations: 0 / 451.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1912, allocations: 3.938 kB / 451.2 MB, free: 40.65 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1914, allocations: 405 kB / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1914, allocations: 4 kB / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.663e-05/0.1915, allocations: 15.27 kB / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1915, allocations: 2.906 kB / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1915, allocations: 0 / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1915, allocations: 0 / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1915, allocations: 0 / 451.6 MB, free: 40.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.463e-05/0.1916, allocations: 217.7 kB / 451.8 MB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.746e-05/0.1916, allocations: 32.38 kB / 451.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1916, allocations: 6.109 kB / 451.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.878e-05/0.1916, allocations: 6.938 kB / 451.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.445e-05/0.1917, allocations: 5.859 kB / 451.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.1917, allocations: 0 / 451.9 MB, free: 40.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002966/0.192, allocations: 0.6511 MB / 452.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.192, allocations: 0 / 452.5 MB, free: 39.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001588/0.1921, allocations: 23.69 kB / 452.6 MB, free: 39.91 MB / 410.7 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 (5): * Single equations (assignments): 5 * 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.0006139/0.1927, allocations: 422.7 kB / 453 MB, free: 39.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000108/0.1928, allocations: 55.14 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.1928, allocations: 0 / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.284e-05/0.1929, allocations: 17.61 kB / 453 MB, free: 39.74 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002581/0.1931, allocations: 30 kB / 453.1 MB, free: 39.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006259/0.1938, allocations: 0.8317 MB / 453.9 MB, free: 39.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.1939, allocations: 212 kB / 454.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.496e-05/0.1939, allocations: 17.42 kB / 454.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.1939, allocations: 0 / 454.1 MB, free: 39.25 MB / 410.7 MB Notification: Performance of Templates: time 0.00348/0.1974, allocations: 3.869 MB / 458 MB, free: 38.38 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.522609415464103]