Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001593/0.001593, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.002077/0.002077, allocations: 170.4 kB / 24.91 MB, free: 8.723 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.9278/0.9278, allocations: 177.1 MB / 205.3 MB, free: 5.117 MB / 186.7 MB " [Timeout remaining time 179] 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 0.5509/0.5509, allocations: 88.08 MB / 349.9 MB, free: 14.07 MB / 330.7 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|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.005e-05, allocations: 2.312 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002242/0.002262, allocations: 1.436 MB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009123/0.003174, allocations: 0.5879 MB / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.305e-05/0.003228, allocations: 0 / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001557/0.003383, allocations: 19.92 kB / 400.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002616/0.003645, allocations: 67.78 kB / 400.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.003913, allocations: 83.7 kB / 401 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.004045, allocations: 83.81 kB / 401.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.213e-05/0.004077, allocations: 8 kB / 401.1 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.004397, allocations: 143.7 kB / 401.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.506e-05/0.004462, allocations: 39.83 kB / 401.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.004476, allocations: 0 / 401.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001162/0.004592, allocations: 67.94 kB / 401.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.861e-05/0.00467, allocations: 55.83 kB / 401.4 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.505e-05/0.004706, allocations: 23.92 kB / 401.4 MB, free: 11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.004896, allocations: 147.4 kB / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.004898, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.004898, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.004902, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB 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.0003666/0.005269, allocations: 370.3 kB / 401.9 MB, free: 10.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.0053, allocations: 12.03 kB / 401.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.426e-05/0.005335, allocations: 12.92 kB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.005552, allocations: 206.2 kB / 402.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.266e-06/0.005561, allocations: 384 / 402.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.193e-05/0.005572, allocations: 4.375 kB / 402.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.662e-05/0.005669, allocations: 75.94 kB / 402.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.005675, allocations: 192 / 402.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.005683, allocations: 384 / 402.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005689, allocations: 7.875 kB / 402.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.856e-05/0.005727, allocations: 45.69 kB / 402.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.183e-05/0.005819, allocations: 68.98 kB / 402.3 MB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.153e-05/0.00588, allocations: 52.22 kB / 402.4 MB, free: 9.922 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.959e-05/0.00592, allocations: 54.59 kB / 402.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.005926, allocations: 0 / 402.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/0.006036, allocations: 130.9 kB / 402.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 7.51e-07/0.006036, allocations: 0 / 402.5 MB, free: 9.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001764/0.006213, allocations: 174.7 kB / 402.7 MB, free: 9.512 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.006252, allocations: 85.09 kB / 402.8 MB, free: 9.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.006381, allocations: 196.7 kB / 403 MB, free: 9.207 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.006394, allocations: 29.7 kB / 403 MB, free: 9.172 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.006429, allocations: 96.61 kB / 403.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.00646, allocations: 19.83 kB / 403.1 MB, free: 9.055 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-05/0.0065, allocations: 29.66 kB / 403.2 MB, free: 9.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.006587, allocations: 330.8 kB / 403.5 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.006624, allocations: 45.69 kB / 403.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.807e-05/0.006652, allocations: 33.7 kB / 403.6 MB, free: 8.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.978e-05/0.006721, allocations: 96.23 kB / 403.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.006723, allocations: 0 / 403.7 MB, free: 8.488 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001134/0.006837, allocations: 137 kB / 403.8 MB, free: 8.336 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.006867, allocations: 37.69 kB / 403.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006871, allocations: 0 / 403.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.006881, allocations: 0 / 403.8 MB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.295e-05/0.006934, allocations: 4 kB / 403.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.006937, allocations: 4.234 kB / 403.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.891e-05/0.006976, allocations: 7.938 kB / 403.8 MB, free: 8.277 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.006996, allocations: 15.98 kB / 403.9 MB, free: 8.262 MB / 378.7 MB 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 9.069e-05/0.007087, allocations: 154.3 kB / 404 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.007109, allocations: 19.98 kB / 404 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.825e-05/0.007137, allocations: 17.45 kB / 404.1 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.007139, allocations: 0 / 404.1 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.00714, allocations: 3.938 kB / 404.1 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.007144, allocations: 4.078 kB / 404.1 MB, free: 8.047 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.218e-05/0.007237, allocations: 97.84 kB / 404.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007238, allocations: 0 / 404.2 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.776e-05/0.007256, allocations: 7.984 kB / 404.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007257, allocations: 0 / 404.2 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.007265, allocations: 4 kB / 404.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007267, allocations: 0 / 404.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007267, allocations: 0 / 404.2 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.007402, allocations: 176.3 kB / 404.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.007441, allocations: 27.8 kB / 404.4 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.007462, allocations: 7.984 kB / 404.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.833e-05/0.007491, allocations: 4 kB / 404.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.007516, allocations: 4 kB / 404.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.00753, allocations: 8 kB / 404.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.678e-05/0.007587, allocations: 66.03 kB / 404.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007587, allocations: 0 / 404.5 MB, free: 7.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000194/0.007781, allocations: 32 kB / 404.5 MB, free: 7.57 MB / 378.7 MB 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.0001345/0.007915, allocations: 110.3 kB / 404.6 MB, free: 7.453 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001475/0.008063, allocations: 175.6 kB / 404.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.008066, allocations: 0 / 404.8 MB, free: 7.254 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.923e-05/0.008135, allocations: 121.9 kB / 404.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.008249, allocations: 20.73 kB / 404.9 MB, free: 7.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003608/0.00861, allocations: 287 kB / 405.2 MB, free: 6.773 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.048e-05/0.008661, allocations: 79.69 kB / 405.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.955e-05/0.00871, allocations: 17.7 kB / 405.3 MB, free: 6.656 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.008815, allocations: 87.36 kB / 405.4 MB, free: 6.57 MB / 378.7 MB Notification: Performance of SimCode: time 8.72e-07/0.008816, allocations: 4 kB / 405.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of Templates: time 0.003662/0.01248, allocations: 1.377 MB / 406.7 MB, free: 5.211 MB / 378.7 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9077894459478557]