Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008586/0.0008586, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004469/0.004469, allocations: 157.8 kB / 24.7 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8742/0.8742, allocations: 177.1 MB / 205 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2544/0.2544, allocations: 34.26 MB / 295.7 MB, free: 0.7188 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") translateModel(ModelicaTest.Tables.CombiTimeTable.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 3.984 kB / 443.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/3.029e-05, allocations: 9.094 kB / 443.5 MB, free: 1.078 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.1879/0.188, allocations: 1.702 MB / 445.2 MB, free: 43.68 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001095/0.1891, allocations: 0.9726 MB / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.363e-05/0.1891, allocations: 0 / 446.2 MB, free: 43.3 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.1895, allocations: 37.81 kB / 446.2 MB, free: 43.28 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003127/0.1898, allocations: 95.39 kB / 446.3 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.19, allocations: 82.84 kB / 446.4 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1901, allocations: 112.2 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1902, allocations: 5.969 kB / 446.5 MB, free: 43.2 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.997e-05/0.1903, allocations: 59.06 kB / 446.6 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.267e-05/0.1904, allocations: 29.14 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.957e-05/0.1904, allocations: 2.906 kB / 446.6 MB, free: 43.16 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.171e-05/0.1905, allocations: 46.33 kB / 446.7 MB, free: 43.15 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.336e-05/0.1905, allocations: 23.5 kB / 446.7 MB, free: 43.14 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.1906, allocations: 20.7 kB / 446.7 MB, free: 43.13 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.1908, allocations: 112 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.1908, allocations: 3.156 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1908, allocations: 3.938 kB / 446.8 MB, free: 43.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1908, allocations: 0 / 446.8 MB, free: 43.09 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.0004275/0.1912, allocations: 342.1 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1912, allocations: 9.219 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.1913, allocations: 12.89 kB / 447.2 MB, free: 42.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002254/0.1915, allocations: 152.1 kB / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1915, allocations: 384 / 447.3 MB, free: 42.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.1915, allocations: 7.094 kB / 447.3 MB, free: 42.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/0.1917, allocations: 56.23 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.1917, allocations: 7.125 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.916e-06/0.1917, allocations: 4.406 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1917, allocations: 3.656 kB / 447.4 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.913e-05/0.1917, allocations: 22.52 kB / 447.4 MB, free: 42.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002494/0.192, allocations: 228.4 kB / 447.7 MB, free: 42.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.1921, allocations: 53.52 kB / 447.7 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.254e-05/0.1921, allocations: 22.45 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.1921, allocations: 6.719 kB / 447.7 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001107/0.1923, allocations: 71 kB / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.283e-06/0.1923, allocations: 0 / 447.8 MB, free: 42.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004168/0.1927, allocations: 186.8 kB / 448 MB, free: 42.15 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.1927, allocations: 51.41 kB / 448 MB, free: 42.09 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1928, allocations: 181.9 kB / 448.2 MB, free: 41.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.474e-06/0.1928, allocations: 32.89 kB / 448.3 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.245e-05/0.1928, allocations: 97.17 kB / 448.3 MB, free: 41.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.1929, allocations: 28.73 kB / 448.4 MB, free: 41.81 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.869e-05/0.1929, allocations: 30.39 kB / 448.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.239e-05/0.1929, allocations: 326.7 kB / 448.7 MB, free: 41.47 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.446e-05/0.193, allocations: 18.8 kB / 448.7 MB, free: 41.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.193, allocations: 35.88 kB / 448.8 MB, free: 41.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.476e-05/0.1931, allocations: 72.53 kB / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.1931, allocations: 0 / 448.8 MB, free: 41.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001027/0.1932, allocations: 104.7 kB / 448.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1932, allocations: 9.594 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.1932, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1932, allocations: 2.5 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1933, allocations: 20.25 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.1933, allocations: 0 / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.1933, allocations: 2.625 kB / 449 MB, free: 41.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.1933, allocations: 6.75 kB / 449 MB, free: 41.32 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.408e-05/0.1934, allocations: 125.4 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.1934, allocations: 9.266 kB / 449.1 MB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1935, allocations: 124 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1935, allocations: 6.844 kB / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.1935, allocations: 0 / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1935, allocations: 0 / 449.2 MB, free: 41.14 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002344/0.1938, allocations: 353.2 kB / 449.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.1938, allocations: 0 / 449.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.196e-05/0.1938, allocations: 11.86 kB / 449.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1938, allocations: 0 / 449.6 MB, free: 40.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-06/0.1938, allocations: 6.875 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.1938, allocations: 0 / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1938, allocations: 2.969 kB / 449.6 MB, free: 40.84 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001051/0.1939, allocations: 218.2 kB / 449.8 MB, free: 40.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.1939, allocations: 10.94 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.1939, allocations: 5.922 kB / 449.8 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.194, allocations: 6.875 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.769e-05/0.194, allocations: 9.844 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.194, allocations: 2.906 kB / 449.9 MB, free: 40.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.798e-05/0.1941, allocations: 145.6 kB / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1941, allocations: 0 / 450 MB, free: 40.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001686/0.1942, allocations: 29.08 kB / 450 MB, free: 40.55 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.0007344/0.195, allocations: 0.4948 MB / 450.5 MB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1951, allocations: 57.8 kB / 450.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1951, allocations: 0 / 450.6 MB, free: 40.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.1951, allocations: 36.98 kB / 450.6 MB, free: 40.35 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002318/0.1954, allocations: 24.17 kB / 450.6 MB, free: 40.34 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.1957, allocations: 247 kB / 450.9 MB, free: 40.15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.886e-05/0.1957, allocations: 87.33 kB / 451 MB, free: 40.08 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.723e-05/0.1958, allocations: 20.44 kB / 451 MB, free: 40.07 MB / 410.7 MB Notification: Performance of SimCode: time 3.51e-07/0.1958, allocations: 0 / 451 MB, free: 40.07 MB / 410.7 MB Notification: Performance of Templates: time 0.002285/0.1981, allocations: 1.981 MB / 453 MB, free: 39.85 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test15.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.898941612802446]