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.001616/0.001616, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001783/0.001783, allocations: 209 kB / 24.48 MB, free: 3.938 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.562/1.562, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.21/1.21, allocations: 120.6 MB / 435.2 MB, free: 0.6484 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.002207/0.002207, allocations: 69.47 kB / 0.6079 GB, free: 10.42 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2277, allocations: 85.87 MB / 0.6917 GB, free: 4.34 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003674/0.2314, allocations: 1.396 MB / 0.6931 GB, free: 2.938 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.2329, allocations: 0.5531 MB / 0.6936 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.233, allocations: 0 / 0.6936 GB, free: 2.379 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.0002241/0.2332, allocations: 19.92 kB / 0.6937 GB, free: 2.359 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 0.0004168/0.2336, allocations: 71.78 kB / 0.6937 GB, free: 2.289 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.234, allocations: 81.91 kB / 0.6938 GB, free: 2.211 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0002205/0.2343, allocations: 79.81 kB / 0.6939 GB, free: 2.133 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.551e-05/0.2343, allocations: 11.94 kB / 0.6939 GB, free: 2.121 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002586/0.2346, allocations: 55.83 kB / 0.694 GB, free: 2.066 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002006/0.2348, allocations: 51.88 kB / 0.694 GB, free: 2.016 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.2348, allocations: 4 kB / 0.694 GB, free: 2.012 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000177/0.235, allocations: 71.94 kB / 0.6941 GB, free: 1.941 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.2352, allocations: 67.8 kB / 0.6941 GB, free: 1.875 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.2352, allocations: 43.61 kB / 0.6942 GB, free: 1.832 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.2356, allocations: 151.2 kB / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2356, allocations: 0 / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of FrontEnd: time 2.455e-06/0.2356, allocations: 0 / 0.6943 GB, free: 1.684 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2356, allocations: 0 / 0.6943 GB, free: 1.684 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.0008629/0.2365, allocations: 411 kB / 0.6947 GB, free: 1.246 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.2365, allocations: 8.031 kB / 0.6947 GB, free: 1.238 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.012e-05/0.2366, allocations: 20.8 kB / 0.6947 GB, free: 1.219 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006755/0.2373, allocations: 249.5 kB / 0.695 GB, free: 0.9453 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.2373, allocations: 8.375 kB / 0.695 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.2373, allocations: 384 / 0.695 GB, free: 0.9375 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002215/0.2375, allocations: 91.69 kB / 0.6951 GB, free: 0.8359 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.2376, allocations: 3.938 kB / 0.6951 GB, free: 0.832 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.794e-05/0.2376, allocations: 4 kB / 0.6951 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2376, allocations: 0 / 0.6951 GB, free: 0.8281 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/0.2377, allocations: 49.69 kB / 0.6951 GB, free: 0.7734 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000243/0.2379, allocations: 149.2 kB / 0.6953 GB, free: 0.5977 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.2381, allocations: 60.27 kB / 0.6953 GB, free: 0.5234 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.024e-05/0.2381, allocations: 54.59 kB / 0.6954 GB, free: 472 kB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2381, allocations: 4 kB / 0.6954 GB, free: 468 kB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/0.2384, allocations: 134.7 kB / 0.6955 GB, free: 308 kB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 1.773e-06/0.2384, allocations: 0 / 0.6955 GB, free: 308 kB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.0004521/0.2388, allocations: 238.7 kB / 0.6957 GB, free: 44 kB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.2389, allocations: 85.11 kB / 0.6958 GB, free: 15.94 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000264/0.2392, allocations: 229.5 kB / 0.696 GB, free: 15.71 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2392, allocations: 25.7 kB / 0.6961 GB, free: 15.68 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/0.2393, allocations: 120.1 kB / 0.6962 GB, free: 15.56 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 4.424e-05/0.2393, allocations: 19.8 kB / 0.6962 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.859e-05/0.2394, allocations: 29.7 kB / 0.6962 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.2396, allocations: 326.8 kB / 0.6965 GB, free: 15.18 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.635e-05/0.2397, allocations: 53.69 kB / 0.6966 GB, free: 15.12 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-05/0.2397, allocations: 53.64 kB / 0.6966 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.2398, allocations: 112.3 kB / 0.6967 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2398, allocations: 0 / 0.6967 GB, free: 14.93 MB / 0.5295 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002791/0.2401, allocations: 188.9 kB / 0.6969 GB, free: 14.73 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.2402, allocations: 41.62 kB / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.2402, allocations: 0 / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.2402, allocations: 0 / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.2403, allocations: 4.141 kB / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.2403, allocations: 0 / 0.697 GB, free: 14.68 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.542e-05/0.2404, allocations: 11.95 kB / 0.697 GB, free: 14.67 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.2404, allocations: 8.234 kB / 0.697 GB, free: 14.66 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.0001919/0.2406, allocations: 175.5 kB / 0.6972 GB, free: 14.47 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2406, allocations: 19.84 kB / 0.6972 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.2407, allocations: 25.39 kB / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2407, allocations: 0 / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.2407, allocations: 0 / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.2407, allocations: 0 / 0.6972 GB, free: 14.43 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.2409, allocations: 153.3 kB / 0.6973 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2409, allocations: 0 / 0.6973 GB, free: 14.25 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.765e-05/0.2409, allocations: 7.984 kB / 0.6974 GB, free: 14.24 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.2409, allocations: 4 kB / 0.6974 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.2409, allocations: 7.938 kB / 0.6974 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2409, allocations: 0 / 0.6974 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2409, allocations: 3.938 kB / 0.6974 GB, free: 14.22 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003422/0.2413, allocations: 244.3 kB / 0.6976 GB, free: 13.95 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 5.489e-05/0.2413, allocations: 23.91 kB / 0.6976 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.027e-05/0.2413, allocations: 7.922 kB / 0.6976 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.141e-05/0.2414, allocations: 4 kB / 0.6976 GB, free: 13.92 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.2414, allocations: 4 kB / 0.6976 GB, free: 13.91 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-05/0.2414, allocations: 12 kB / 0.6977 GB, free: 13.9 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 0.0001874/0.2416, allocations: 180.5 kB / 0.6978 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2416, allocations: 0 / 0.6978 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.000262/0.2419, allocations: 35.94 kB / 0.6979 GB, free: 13.69 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.000203/0.2421, allocations: 115.2 kB / 0.698 GB, free: 13.57 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.0002792/0.2424, allocations: 178.7 kB / 0.6981 GB, free: 13.37 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.2424, allocations: 0 / 0.6981 GB, free: 13.37 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0001269/0.2425, allocations: 125 kB / 0.6983 GB, free: 13.23 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2427, allocations: 20.61 kB / 0.6983 GB, free: 13.21 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000671/0.2434, allocations: 362.8 kB / 0.6986 GB, free: 12.81 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.2435, allocations: 110.6 kB / 0.6987 GB, free: 12.68 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.2436, allocations: 15.44 kB / 0.6987 GB, free: 12.66 MB / 0.5295 GB Notification: Performance of SimCode: time 3.8e-07/0.2436, allocations: 0 / 0.6987 GB, free: 12.66 MB / 0.5295 GB Notification: Performance of Templates: time 0.005946/0.2495, allocations: 2.111 MB / 0.7008 GB, free: 10.55 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: 9.298375992104411]