Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.0016/0.0016, allocations: 211.2 kB / 23.73 MB, free: 4.387 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.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.01/1.01, allocations: 120.6 MB / 434.5 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.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") [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.002026/0.002026, allocations: 67.84 kB / 0.6072 GB, free: 10.25 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1725, allocations: 85.86 MB / 0.691 GB, free: 4.184 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002767/0.1753, allocations: 1.419 MB / 0.6924 GB, free: 2.758 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1764, allocations: 0.5493 MB / 0.6929 GB, free: 2.203 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.985e-05/0.1765, allocations: 7.938 kB / 0.6929 GB, free: 2.195 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 0.004984/0.1815, allocations: 6.845 MB / 0.6996 GB, free: 11.34 MB / 0.5295 GB Notification: Performance of NFTyping.typeBindings: time 0.005232/0.1867, allocations: 6.896 MB / 0.7064 GB, free: 4.426 MB / 0.5295 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.1871, allocations: 79.72 kB / 0.7064 GB, free: 4.348 MB / 0.5295 GB Notification: Performance of NFFlatten.flatten: time 0.01472/0.2018, allocations: 17.04 MB / 0.7231 GB, free: 3.285 MB / 0.5452 GB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.2019, allocations: 3.938 kB / 0.7231 GB, free: 3.281 MB / 0.5452 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0124/0.2143, allocations: 8.474 MB / 0.7314 GB, free: 10.8 MB / 0.5608 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0239/0.2381, allocations: 18.09 MB / 0.749 GB, free: 8.676 MB / 0.5764 GB Notification: Performance of NFPackage.collectConstants: time 0.00462/0.2428, allocations: 0.9805 MB / 0.75 GB, free: 7.695 MB / 0.5764 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004503/0.2473, allocations: 1.051 MB / 0.751 GB, free: 6.645 MB / 0.5764 GB Notification: Performance of NFScalarize.scalarize: time 0.6956/0.9429, allocations: 41.39 MB / 0.7914 GB, free: 29.25 MB / 0.5767 GB Notification: Performance of NFVerifyModel.verify: time 0.02981/0.9727, allocations: 16.13 MB / 0.8072 GB, free: 16.37 MB / 0.5767 GB Notification: Performance of NFConvertDAE.convert: time 0.06479/1.038, allocations: 50.87 MB / 0.8569 GB, free: 4.996 MB / 0.6079 GB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/1.038, allocations: 4 kB / 0.8569 GB, free: 4.992 MB / 0.6079 GB Notification: Performance of FrontEnd: time 2.314e-06/1.038, allocations: 0 / 0.8569 GB, free: 4.992 MB / 0.6079 GB Notification: Performance of Transformations before backend: time 0.002966/1.04, allocations: 0 / 0.8569 GB, free: 4.992 MB / 0.6079 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.1484/1.189, allocations: 80.47 MB / 0.9354 GB, free: 3.785 MB / 0.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/1.189, allocations: 8.031 kB / 0.9355 GB, free: 3.777 MB / 0.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/1.206, allocations: 9.284 MB / 0.9445 GB, free: 10.43 MB / 0.7017 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2557/1.461, allocations: 104.8 MB / 1.047 GB, free: 1.055 MB / 0.7954 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/1.461, allocations: 384 / 1.047 GB, free: 1.055 MB / 0.7954 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007858/1.462, allocations: 260.3 kB / 1.047 GB, free: 0.8008 MB / 0.7954 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00371/1.466, allocations: 3.013 MB / 1.05 GB, free: 13.78 MB / 0.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.466, allocations: 0 / 1.05 GB, free: 13.78 MB / 0.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000471/1.466, allocations: 255.9 kB / 1.05 GB, free: 13.53 MB / 0.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/1.466, allocations: 0 / 1.05 GB, free: 13.53 MB / 0.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002468/1.469, allocations: 1.757 MB / 1.052 GB, free: 11.77 MB / 0.811 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5007/1.97, allocations: 26.9 MB / 1.078 GB, free: 189.7 MB / 0.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003603/1.973, allocations: 1.035 MB / 1.079 GB, free: 189.6 MB / 0.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.975, allocations: 1.033 MB / 1.08 GB, free: 189.6 MB / 0.811 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/1.975, allocations: 0 / 1.08 GB, free: 189.6 MB / 0.811 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002855/1.978, allocations: 2.572 MB / 1.083 GB, free: 189.5 MB / 0.811 GB Notification: Performance of pre-optimization done (n=8): time 1.963e-06/1.978, allocations: 0 / 1.083 GB, free: 189.5 MB / 0.811 GB Notification: Performance of matching and sorting (n=8): time 0.02996/2.008, allocations: 17.06 MB / 1.1 GB, free: 189.3 MB / 0.811 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/2.008, allocations: 82.2 kB / 1.1 GB, free: 189.2 MB / 0.811 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1648/2.172, allocations: 99.07 MB / 1.196 GB, free: 113.3 MB / 0.811 GB Notification: Performance of collectPreVariables (initialization): time 0.001799/2.174, allocations: 281.7 kB / 1.197 GB, free: 113 MB / 0.811 GB Notification: Performance of collectInitialEqns (initialization): time 0.04459/2.219, allocations: 46.97 MB / 1.242 GB, free: 66.01 MB / 0.811 GB Notification: Performance of collectInitialBindings (initialization): time 0.001835/2.221, allocations: 274.5 kB / 1.243 GB, free: 65.75 MB / 0.811 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001697/2.222, allocations: 1.731 MB / 1.244 GB, free: 64.02 MB / 0.811 GB Notification: Performance of setup shared object (initialization): time 5.701e-05/2.222, allocations: 310 kB / 1.245 GB, free: 63.71 MB / 0.811 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/2.224, allocations: 1.021 MB / 1.246 GB, free: 62.68 MB / 0.811 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/2.225, allocations: 1.032 MB / 1.247 GB, free: 61.65 MB / 0.811 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002557/2.227, allocations: 2.064 MB / 1.249 GB, free: 59.58 MB / 0.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/2.227, allocations: 0 / 1.249 GB, free: 59.58 MB / 0.811 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01924/2.247, allocations: 16.03 MB / 1.264 GB, free: 48.9 MB / 0.811 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/2.247, allocations: 33.7 kB / 1.264 GB, free: 48.86 MB / 0.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/2.247, allocations: 3.938 kB / 1.264 GB, free: 48.86 MB / 0.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/2.247, allocations: 1.844 kB / 1.264 GB, free: 48.86 MB / 0.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.501e-05/2.247, allocations: 7.984 kB / 1.264 GB, free: 48.85 MB / 0.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/2.247, allocations: 4.312 kB / 1.264 GB, free: 48.85 MB / 0.811 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/2.261, allocations: 266.8 kB / 1.265 GB, free: 48.59 MB / 0.811 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003655/2.264, allocations: 3.418 MB / 1.268 GB, free: 45.17 MB / 0.811 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.03694/2.301, allocations: 19.19 MB / 1.287 GB, free: 25.95 MB / 0.811 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02371/2.325, allocations: 9.522 MB / 1.296 GB, free: 16.36 MB / 0.811 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02685/2.352, allocations: 10.22 MB / 1.306 GB, free: 6.121 MB / 0.811 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/2.352, allocations: 4 kB / 1.306 GB, free: 6.117 MB / 0.811 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/2.352, allocations: 0 / 1.306 GB, free: 6.117 MB / 0.811 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/2.352, allocations: 9.656 kB / 1.306 GB, free: 6.113 MB / 0.811 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09279/2.445, allocations: 29.35 MB / 1.335 GB, free: 8.703 MB / 0.8423 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/2.445, allocations: 2.375 kB / 1.335 GB, free: 8.703 MB / 0.8423 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/2.445, allocations: 4 kB / 1.335 GB, free: 8.699 MB / 0.8423 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.368e-06/2.445, allocations: 0 / 1.335 GB, free: 8.699 MB / 0.8423 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002814/2.448, allocations: 0.7412 MB / 1.335 GB, free: 7.961 MB / 0.8423 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/2.448, allocations: 0 / 1.335 GB, free: 7.961 MB / 0.8423 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.448, allocations: 0 / 1.335 GB, free: 7.961 MB / 0.8423 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03037/2.478, allocations: 16.67 MB / 1.352 GB, free: 7.199 MB / 0.8579 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02586/2.504, allocations: 8.065 MB / 1.36 GB, free: 15.07 MB / 0.8735 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009787/2.514, allocations: 260 kB / 1.36 GB, free: 14.82 MB / 0.8735 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01156/2.525, allocations: 256 kB / 1.36 GB, free: 14.57 MB / 0.8735 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.049e-05/2.525, allocations: 0 / 1.36 GB, free: 14.57 MB / 0.8735 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007287/2.533, allocations: 3.425 MB / 1.363 GB, free: 11.14 MB / 0.8735 GB Notification: Performance of sorting global known variables: time 0.6071/3.14, allocations: 68.98 MB / 1.431 GB, free: 244 MB / 0.9048 GB Notification: Performance of sort global known variables: time 3.21e-07/3.14, allocations: 2.625 kB / 1.431 GB, free: 244 MB / 0.9048 GB Notification: Performance of remove unused functions: time 0.01454/3.154, allocations: 2.471 MB / 1.433 GB, free: 244 MB / 0.9048 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.001438/3.156, allocations: 375.9 kB / 1.434 GB, free: 243.9 MB / 0.9048 GB Notification: Performance of simCode: created initialization part: time 0.004245/3.16, allocations: 2.369 MB / 1.436 GB, free: 243.7 MB / 0.9048 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/3.16, allocations: 0 / 1.436 GB, free: 243.7 MB / 0.9048 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/3.162, allocations: 1.334 MB / 1.437 GB, free: 243.6 MB / 0.9048 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05527/3.217, allocations: 6.75 MB / 1.444 GB, free: 239.3 MB / 0.9048 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2062/3.423, allocations: 146.4 MB / 1.587 GB, free: 137.4 MB / 0.9048 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06332/3.487, allocations: 34.44 MB / 1.62 GB, free: 102.9 MB / 0.9048 GB Notification: Performance of simCode: alias equations: time 0.04594/3.532, allocations: 18.71 MB / 1.639 GB, free: 84.14 MB / 0.9048 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008111/3.541, allocations: 3.917 MB / 1.643 GB, free: 80.22 MB / 0.9048 GB Notification: Performance of SimCode: time 1.853e-06/3.541, allocations: 0 / 1.643 GB, free: 80.22 MB / 0.9048 GB Notification: Performance of Templates: time 1.296/4.837, allocations: 419.3 MB / 2.052 GB, free: 18.89 MB / 0.936 GB " [Timeout remaining time 295] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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: 23.156746989116073]