Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.0008962/0.0008962, allocations: 88.28 kB / 21.44 MB, free: 3.129 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.00598/0.00598, allocations: 153.4 kB / 24.7 MB, free: 8.898 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.8808/0.8808, allocations: 177 MB / 204.8 MB, free: 5.754 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.2446/0.2446, allocations: 34.23 MB / 295.6 MB, free: 0.6562 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.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 443.5 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.751e-05/2.909e-05, allocations: 8.75 kB / 443.5 MB, free: 0.9297 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.1872/0.1872, allocations: 1.711 MB / 445.2 MB, free: 43.71 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009759/0.1882, allocations: 0.9706 MB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.803e-05/0.1883, allocations: 1.125 kB / 446.2 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002627/0.1885, allocations: 44.75 kB / 446.2 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002444/0.1888, allocations: 102.9 kB / 446.3 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001276/0.1889, allocations: 78.02 kB / 446.4 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.1891, allocations: 102.5 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.1891, allocations: 13.14 kB / 446.5 MB, free: 43.05 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.773e-05/0.1892, allocations: 52.58 kB / 446.6 MB, free: 43.03 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.319e-05/0.1893, allocations: 26.47 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.306e-05/0.1893, allocations: 3.094 kB / 446.6 MB, free: 43.02 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.541e-05/0.1894, allocations: 47.53 kB / 446.6 MB, free: 43 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.1894, allocations: 27.97 kB / 446.7 MB, free: 42.99 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.1894, allocations: 20.12 kB / 446.7 MB, free: 42.98 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.1896, allocations: 115.3 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.1896, allocations: 2.625 kB / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1896, allocations: 0 / 446.8 MB, free: 42.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.1896, allocations: 0 / 446.8 MB, free: 42.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003994/0.19, allocations: 346.5 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.19, allocations: 9.094 kB / 447.2 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.065e-05/0.1901, allocations: 14.66 kB / 447.2 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.1903, allocations: 147.1 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.1903, allocations: 4.125 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.733e-05/0.1903, allocations: 11.22 kB / 447.3 MB, free: 42.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.1904, allocations: 57.84 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1904, allocations: 192 / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.607e-06/0.1904, allocations: 3.25 kB / 447.4 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.1904, allocations: 7.5 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.848e-05/0.1905, allocations: 22.97 kB / 447.4 MB, free: 42.41 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002223/0.1907, allocations: 232 kB / 447.6 MB, free: 42.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.1908, allocations: 56.2 kB / 447.7 MB, free: 42.15 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.066e-05/0.1908, allocations: 24.17 kB / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.1908, allocations: 0 / 447.7 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.198e-05/0.1909, allocations: 71.55 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 9.01e-07/0.1909, allocations: 6.062 kB / 447.8 MB, free: 42.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003556/0.1913, allocations: 181 kB / 448 MB, free: 41.99 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.179e-05/0.1913, allocations: 51.41 kB / 448 MB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.739e-05/0.1914, allocations: 209.7 kB / 448.2 MB, free: 41.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-06/0.1914, allocations: 25.7 kB / 448.3 MB, free: 41.76 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.841e-05/0.1914, allocations: 105.4 kB / 448.4 MB, free: 41.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.036e-05/0.1915, allocations: 22.08 kB / 448.4 MB, free: 41.65 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.1915, allocations: 22.12 kB / 448.4 MB, free: 41.63 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.137e-05/0.1915, allocations: 327.6 kB / 448.7 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.186e-05/0.1915, allocations: 18.92 kB / 448.7 MB, free: 41.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1916, allocations: 43.52 kB / 448.8 MB, free: 41.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.165e-05/0.1916, allocations: 62.56 kB / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1916, allocations: 0 / 448.8 MB, free: 41.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.638e-05/0.1917, allocations: 121.7 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.1918, allocations: 5.656 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1918, allocations: 0 / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1918, allocations: 0 / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.055e-05/0.1918, allocations: 17.59 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.1918, allocations: 0 / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.632e-05/0.1919, allocations: 2.875 kB / 449 MB, free: 41.17 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.1919, allocations: 7.031 kB / 449 MB, free: 41.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 5.565e-05/0.1919, allocations: 128 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.03e-05/0.1919, allocations: 13.23 kB / 449.1 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001353/0.1921, allocations: 126.5 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1921, allocations: 2.938 kB / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1921, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.1921, allocations: 0 / 449.3 MB, free: 40.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002121/0.1923, allocations: 358.7 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.1923, allocations: 0 / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.053e-05/0.1923, allocations: 12.03 kB / 449.6 MB, free: 40.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.1923, allocations: 6.531 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.822e-06/0.1923, allocations: 0 / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1923, allocations: 7 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1923, allocations: 4.875 kB / 449.6 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.755e-05/0.1924, allocations: 211.5 kB / 449.8 MB, free: 40.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.658e-06/0.1924, allocations: 14.27 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.387e-05/0.1924, allocations: 6.031 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.1925, allocations: 6.469 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.521e-05/0.1925, allocations: 6.109 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.1925, allocations: 5.125 kB / 449.9 MB, free: 40.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.828e-05/0.1926, allocations: 151.5 kB / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1926, allocations: 0 / 450 MB, free: 40.39 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001629/0.1927, allocations: 28.53 kB / 450.1 MB, free: 40.39 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006804/0.1934, allocations: 492.3 kB / 450.5 MB, free: 40.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.1935, allocations: 55.2 kB / 450.6 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.522e-06/0.1935, allocations: 10.84 kB / 450.6 MB, free: 40.19 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.97e-05/0.1936, allocations: 35.95 kB / 450.6 MB, free: 40.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002103/0.1938, allocations: 30.02 kB / 450.7 MB, free: 40.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002999/0.1941, allocations: 258.1 kB / 450.9 MB, free: 39.97 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.1941, allocations: 94.94 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.1941, allocations: 21.03 kB / 451 MB, free: 39.89 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.1942, allocations: 4.062 kB / 451 MB, free: 39.88 MB / 410.7 MB Notification: Performance of Templates: time 0.002179/0.1963, allocations: 1.988 MB / 453 MB, free: 39.67 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test30.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.997819281183183]