Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.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.001928/0.001928, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 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.002492/0.002492, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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 1.439/1.439, allocations: 230.6 MB / 258.3 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 1.128/1.128, allocations: 120.6 MB / 435.3 MB, free: 0.832 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/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(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 67.89 kB / 0.608 GB, free: 10.45 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.184, allocations: 85.86 MB / 0.6918 GB, free: 4.379 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002766/0.1867, allocations: 1.423 MB / 0.6932 GB, free: 2.949 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001129/0.1879, allocations: 0.5999 MB / 0.6938 GB, free: 2.344 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/0.1879, allocations: 4 kB / 0.6938 GB, free: 2.34 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0001658/0.1881, allocations: 11.92 kB / 0.6938 GB, free: 2.328 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1884, allocations: 79.78 kB / 0.6939 GB, free: 2.25 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002741/0.1887, allocations: 79.78 kB / 0.694 GB, free: 2.172 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1889, allocations: 91.75 kB / 0.6941 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1889, allocations: 0 / 0.6941 GB, free: 2.082 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.1891, allocations: 63.81 kB / 0.6941 GB, free: 2.02 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001415/0.1892, allocations: 43.89 kB / 0.6942 GB, free: 1.977 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 2.275e-05/0.1892, allocations: 8 kB / 0.6942 GB, free: 1.969 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.1894, allocations: 71.94 kB / 0.6942 GB, free: 1.898 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.1895, allocations: 75.73 kB / 0.6943 GB, free: 1.824 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 6.776e-05/0.1896, allocations: 43.61 kB / 0.6943 GB, free: 1.781 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.1899, allocations: 151.3 kB / 0.6945 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1899, allocations: 0 / 0.6945 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1899, allocations: 0 / 0.6945 GB, free: 1.633 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 5.72e-06/0.1899, allocations: 0 / 0.6945 GB, free: 1.633 MB / 0.5139 GB 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.0005991/0.1905, allocations: 411 kB / 0.6949 GB, free: 1.195 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.1905, allocations: 8.031 kB / 0.6949 GB, free: 1.188 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.1906, allocations: 20.8 kB / 0.6949 GB, free: 1.168 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004876/0.1911, allocations: 257.5 kB / 0.6952 GB, free: 0.8867 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1911, allocations: 4.375 kB / 0.6952 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.1911, allocations: 384 / 0.6952 GB, free: 0.8828 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1912, allocations: 61.88 kB / 0.6952 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.1912, allocations: 0 / 0.6952 GB, free: 0.8164 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.1913, allocations: 3.984 kB / 0.6952 GB, free: 0.8125 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1913, allocations: 4 kB / 0.6952 GB, free: 0.8086 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.614e-05/0.1913, allocations: 23.98 kB / 0.6952 GB, free: 0.7852 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002228/0.1916, allocations: 172.7 kB / 0.6954 GB, free: 0.5742 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 7.221e-05/0.1916, allocations: 30.56 kB / 0.6954 GB, free: 0.5352 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.167e-05/0.1917, allocations: 25.02 kB / 0.6955 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1917, allocations: 0 / 0.6955 GB, free: 0.5078 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.1919, allocations: 109 kB / 0.6956 GB, free: 392 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.1919, allocations: 0 / 0.6956 GB, free: 392 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0003534/0.1922, allocations: 163.5 kB / 0.6957 GB, free: 216 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1923, allocations: 81.11 kB / 0.6958 GB, free: 116 kB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.1925, allocations: 233.5 kB / 0.696 GB, free: 15.88 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.1926, allocations: 25.7 kB / 0.6961 GB, free: 15.85 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.1926, allocations: 116.1 kB / 0.6962 GB, free: 15.73 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 3.903e-05/0.1927, allocations: 23.8 kB / 0.6962 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/0.1927, allocations: 33.7 kB / 0.6962 GB, free: 15.67 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.000173/0.1929, allocations: 330.8 kB / 0.6965 GB, free: 15.34 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.262e-05/0.1929, allocations: 15.98 kB / 0.6965 GB, free: 15.32 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.063e-05/0.193, allocations: 20 kB / 0.6966 GB, free: 15.3 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.1931, allocations: 100.2 kB / 0.6967 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.1931, allocations: 0 / 0.6967 GB, free: 15.19 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002144/0.1933, allocations: 151.2 kB / 0.6968 GB, free: 15.03 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 4.417e-05/0.1934, allocations: 41.78 kB / 0.6968 GB, free: 14.98 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.1934, allocations: 11.86 kB / 0.6969 GB, free: 14.97 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.1934, allocations: 4 kB / 0.6969 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.324e-05/0.1934, allocations: 4 kB / 0.6969 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.1935, allocations: 0 / 0.6969 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.95e-05/0.1935, allocations: 7.953 kB / 0.6969 GB, free: 14.95 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1935, allocations: 11.98 kB / 0.6969 GB, free: 14.94 MB / 0.5295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (timeTable.nextEventScaled,timeTable.nextEvent,$PRE.timeTable.nextEvent,timeTable.last,timeTable.b,timeTable.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * 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.0001643/0.1937, allocations: 171.5 kB / 0.697 GB, free: 14.76 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.1937, allocations: 19.84 kB / 0.6971 GB, free: 14.74 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.534e-05/0.1937, allocations: 17.41 kB / 0.6971 GB, free: 14.72 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1938, allocations: 7.984 kB / 0.6971 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1938, allocations: 4 kB / 0.6971 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.1938, allocations: 0 / 0.6971 GB, free: 14.71 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.1939, allocations: 184.7 kB / 0.6973 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1939, allocations: 4 kB / 0.6973 GB, free: 14.48 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.194, allocations: 11.94 kB / 0.6973 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.194, allocations: 0 / 0.6973 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.194, allocations: 7.938 kB / 0.6973 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.194, allocations: 0 / 0.6973 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.194, allocations: 0 / 0.6973 GB, free: 14.46 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1942, allocations: 198.7 kB / 0.6975 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.149e-05/0.1943, allocations: 27.83 kB / 0.6975 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.1943, allocations: 4 kB / 0.6975 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.054e-05/0.1944, allocations: 4 kB / 0.6975 GB, free: 14.21 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.1944, allocations: 7.984 kB / 0.6975 GB, free: 14.2 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.1944, allocations: 8 kB / 0.6975 GB, free: 14.19 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.000169/0.1946, allocations: 172.5 kB / 0.6977 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of sort global known variables: time 1e-07/0.1946, allocations: 4 kB / 0.6977 GB, free: 14.02 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0002271/0.1948, allocations: 31.94 kB / 0.6977 GB, free: 13.99 MB / 0.5295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 1 * 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.0001938/0.195, allocations: 131.2 kB / 0.6979 GB, free: 13.85 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.1952, allocations: 111.5 kB / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1952, allocations: 0 / 0.698 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.1953, allocations: 83.39 kB / 0.698 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002014/0.1955, allocations: 20.84 kB / 0.6981 GB, free: 13.61 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005818/0.1961, allocations: 333.1 kB / 0.6984 GB, free: 13.25 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.1965, allocations: 0.724 MB / 0.6991 GB, free: 12.5 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.214e-05/0.1965, allocations: 11.44 kB / 0.6991 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of SimCode: time 3.11e-07/0.1965, allocations: 4 kB / 0.6991 GB, free: 12.48 MB / 0.5295 GB Notification: Performance of Templates: time 0.004287/0.2008, allocations: 2.06 MB / 0.7011 GB, free: 10.42 MB / 0.5295 GB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.716779241105542]