Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0008178/0.0008178, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.004229/0.004229, allocations: 160.2 kB / 24.7 MB, free: 9.418 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.8923/0.8923, allocations: 177.1 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2615/0.2615, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 440.9 MB, free: 3.664 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.745e-05/1.91e-05, allocations: 3.969 kB / 440.9 MB, free: 3.66 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002011/0.00203, allocations: 1.719 MB / 442.6 MB, free: 1.922 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.003821, allocations: 1.671 MB / 444.3 MB, free: 248 kB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.337e-05/0.003884, allocations: 4 kB / 444.3 MB, free: 244 kB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002279/0.004112, allocations: 35.72 kB / 444.4 MB, free: 208 kB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002554/0.004367, allocations: 115.3 kB / 444.5 MB, free: 92 kB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000119/0.004487, allocations: 71.67 kB / 444.5 MB, free: 20 kB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.1858/0.1903, allocations: 105.2 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.1904, allocations: 7.953 kB / 444.6 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1905, allocations: 61.58 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.1906, allocations: 37.94 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1907, allocations: 2.938 kB / 444.7 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002244/0.1909, allocations: 102.9 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.418e-05/0.1909, allocations: 27.95 kB / 444.9 MB, free: 43.94 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.191, allocations: 21.47 kB / 444.9 MB, free: 43.93 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002781/0.1912, allocations: 176.1 kB / 445.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1913, allocations: 3.188 kB / 445.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1913, allocations: 0 / 445.1 MB, free: 43.93 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.643e-06/0.1913, allocations: 0 / 445.1 MB, free: 43.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.0004285/0.1917, allocations: 355.9 kB / 445.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.1917, allocations: 10.62 kB / 445.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.1918, allocations: 7.734 kB / 445.4 MB, free: 43.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.192, allocations: 151.8 kB / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.192, allocations: 6.625 kB / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.192, allocations: 7.547 kB / 445.6 MB, free: 43.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.1921, allocations: 101.6 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.1921, allocations: 1.781 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1921, allocations: 0 / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1921, allocations: 0 / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.579e-05/0.1922, allocations: 25.75 kB / 445.7 MB, free: 43.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002346/0.1924, allocations: 224.5 kB / 445.9 MB, free: 43.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1925, allocations: 72.7 kB / 446 MB, free: 43.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/0.1926, allocations: 17.73 kB / 446 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.1926, allocations: 6.938 kB / 446 MB, free: 43.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001/0.1927, allocations: 65.34 kB / 446.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/0.1927, allocations: 5.781 kB / 446.1 MB, free: 43.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003709/0.1931, allocations: 175.5 kB / 446.3 MB, free: 43.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.557e-05/0.1931, allocations: 83.58 kB / 446.4 MB, free: 42.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.1932, allocations: 167.1 kB / 446.5 MB, free: 42.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.1932, allocations: 32.17 kB / 446.6 MB, free: 42.85 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.64e-05/0.1932, allocations: 97.64 kB / 446.7 MB, free: 42.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.961e-05/0.1932, allocations: 27.16 kB / 446.7 MB, free: 42.75 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1932, allocations: 22.22 kB / 446.7 MB, free: 42.73 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.751e-05/0.1933, allocations: 328.7 kB / 447 MB, free: 42.42 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.1933, allocations: 18.39 kB / 447 MB, free: 42.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.935e-05/0.1933, allocations: 72.48 kB / 447.1 MB, free: 42.36 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.1934, allocations: 68.92 kB / 447.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1934, allocations: 3.281 kB / 447.2 MB, free: 42.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001/0.1935, allocations: 107.9 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.1935, allocations: 5.188 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1935, allocations: 0 / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.1935, allocations: 2.688 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.927e-05/0.1936, allocations: 11.47 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1936, allocations: 5.844 kB / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/0.1936, allocations: 0 / 447.3 MB, free: 42.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1936, allocations: 5.844 kB / 447.3 MB, free: 42.31 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.093e-05/0.1937, allocations: 123.7 kB / 447.4 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.201e-05/0.1937, allocations: 16.69 kB / 447.5 MB, free: 42.19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.1938, allocations: 120.1 kB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1938, allocations: 3 kB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.1938, allocations: 0 / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1938, allocations: 2.766 kB / 447.6 MB, free: 42.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.1941, allocations: 349.4 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1941, allocations: 0 / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.212e-05/0.1941, allocations: 18.83 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.1941, allocations: 2.656 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1941, allocations: 0 / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.1941, allocations: 3.031 kB / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1941, allocations: 0 / 447.9 MB, free: 41.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001003/0.1942, allocations: 212.3 kB / 448.2 MB, free: 41.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.1942, allocations: 9.984 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.1942, allocations: 10.72 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.995e-05/0.1943, allocations: 6.062 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.823e-05/0.1943, allocations: 6.281 kB / 448.2 MB, free: 41.76 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/0.1943, allocations: 14.66 kB / 448.2 MB, free: 41.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.226e-05/0.1943, allocations: 131.7 kB / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1943, allocations: 0 / 448.3 MB, free: 41.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001863/0.1945, allocations: 51.66 kB / 448.4 MB, free: 41.66 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.0008322/0.1954, allocations: 0.5902 MB / 449 MB, free: 41.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001202/0.1955, allocations: 68.06 kB / 449 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1955, allocations: 0 / 449 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.846e-05/0.1955, allocations: 29.59 kB / 449.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000203/0.1957, allocations: 31.22 kB / 449.1 MB, free: 41.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002855/0.196, allocations: 219.2 kB / 449.3 MB, free: 41.32 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.1961, allocations: 101.8 kB / 449.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.605e-05/0.1961, allocations: 27.12 kB / 449.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.1961, allocations: 0 / 449.4 MB, free: 41.23 MB / 410.7 MB Notification: Performance of Templates: time 0.002646/0.1987, allocations: 2.475 MB / 451.9 MB, free: 40.95 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test56.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: 5.140528636984527]