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.001018/0.001018, allocations: 75.77 kB / 20.67 MB, free: 3.895 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.001142/0.001142, allocations: 174.8 kB / 23.95 MB, free: 0.6133 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.9388/0.9388, allocations: 177.1 MB / 204.3 MB, free: 5.734 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.6412/0.6412, allocations: 88.06 MB / 348.7 MB, free: 14.36 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|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|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.747e-06/3.747e-06, allocations: 3.984 kB / 0.5235 GB, free: 3.582 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.467e-05, allocations: 2.281 kB / 0.5235 GB, free: 3.578 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002103/0.002138, allocations: 1.405 MB / 0.5248 GB, free: 2.164 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000851/0.002989, allocations: 0.553 MB / 0.5254 GB, free: 1.605 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.248e-05/0.003051, allocations: 0 / 0.5254 GB, free: 1.605 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001856/0.003237, allocations: 19.92 kB / 0.5254 GB, free: 1.586 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.003532, allocations: 71.77 kB / 0.5255 GB, free: 1.516 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002273/0.003759, allocations: 79.73 kB / 0.5255 GB, free: 1.438 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.003905, allocations: 91.8 kB / 0.5256 GB, free: 1.348 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.274e-05/0.003948, allocations: 4 kB / 0.5256 GB, free: 1.344 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.00412, allocations: 67.81 kB / 0.5257 GB, free: 1.277 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.004227, allocations: 39.89 kB / 0.5257 GB, free: 1.238 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.004247, allocations: 8 kB / 0.5257 GB, free: 1.23 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.004343, allocations: 75.86 kB / 0.5258 GB, free: 1.156 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 9.449e-05/0.004438, allocations: 67.77 kB / 0.5259 GB, free: 1.09 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.004482, allocations: 27.91 kB / 0.5259 GB, free: 1.062 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.004663, allocations: 159.4 kB / 0.5261 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.004665, allocations: 0 / 0.5261 GB, free: 0.9062 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.313e-06/0.004666, allocations: 4 kB / 0.5261 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004671, allocations: 0 / 0.5261 GB, free: 0.9023 MB / 442.8 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.0004224/0.005093, allocations: 406.9 kB / 0.5264 GB, free: 480 kB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.005127, allocations: 12.03 kB / 0.5265 GB, free: 468 kB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.005169, allocations: 20.8 kB / 0.5265 GB, free: 448 kB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.005486, allocations: 248.8 kB / 0.5267 GB, free: 168 kB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.005496, allocations: 4.375 kB / 0.5267 GB, free: 164 kB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.005506, allocations: 384 / 0.5267 GB, free: 164 kB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.005622, allocations: 83.94 kB / 0.5268 GB, free: 68 kB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.00563, allocations: 192 / 0.5268 GB, free: 68 kB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.005641, allocations: 4.375 kB / 0.5268 GB, free: 64 kB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.005647, allocations: 3.938 kB / 0.5268 GB, free: 60 kB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/0.005705, allocations: 53.62 kB / 0.5269 GB, free: 0 / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.005844, allocations: 157.2 kB / 0.527 GB, free: 15.81 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.266e-05/0.005907, allocations: 64.27 kB / 0.5271 GB, free: 15.73 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.005953, allocations: 50.56 kB / 0.5271 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.556e-06/0.005961, allocations: 0 / 0.5271 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001273/0.006089, allocations: 130.8 kB / 0.5272 GB, free: 15.52 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.006089, allocations: 0 / 0.5272 GB, free: 15.52 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002565/0.006346, allocations: 238.8 kB / 0.5275 GB, free: 15.27 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.885e-05/0.006385, allocations: 85.05 kB / 0.5276 GB, free: 15.16 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.006521, allocations: 225.5 kB / 0.5278 GB, free: 14.94 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.006533, allocations: 29.7 kB / 0.5278 GB, free: 14.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.006584, allocations: 120.1 kB / 0.5279 GB, free: 14.78 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.118e-05/0.006615, allocations: 27.78 kB / 0.5279 GB, free: 14.75 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.525e-05/0.00665, allocations: 25.72 kB / 0.528 GB, free: 14.72 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 8.922e-05/0.006739, allocations: 326.8 kB / 0.5283 GB, free: 14.39 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.274e-05/0.006782, allocations: 49.7 kB / 0.5283 GB, free: 14.34 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.189e-05/0.006814, allocations: 49.69 kB / 0.5284 GB, free: 14.29 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.083e-05/0.006895, allocations: 116.2 kB / 0.5285 GB, free: 14.16 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.006897, allocations: 0 / 0.5285 GB, free: 14.16 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001363/0.007033, allocations: 188.9 kB / 0.5287 GB, free: 13.95 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.007061, allocations: 33.7 kB / 0.5287 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.007065, allocations: 0 / 0.5287 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.007075, allocations: 4 kB / 0.5287 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.698e-05/0.007132, allocations: 11.88 kB / 0.5287 GB, free: 13.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.007136, allocations: 0 / 0.5287 GB, free: 13.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.154e-05/0.007178, allocations: 7.984 kB / 0.5287 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.815e-05/0.007196, allocations: 12 kB / 0.5287 GB, free: 13.88 MB / 458.8 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.46e-05/0.007291, allocations: 175.5 kB / 0.5289 GB, free: 13.7 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.455e-05/0.007305, allocations: 19.86 kB / 0.5289 GB, free: 13.68 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.007328, allocations: 21.45 kB / 0.5289 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.00733, allocations: 4 kB / 0.5289 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.00734, allocations: 7.938 kB / 0.5289 GB, free: 13.65 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.007343, allocations: 3.938 kB / 0.5289 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.649e-05/0.00743, allocations: 149.3 kB / 0.5291 GB, free: 13.47 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.00743, allocations: 0 / 0.5291 GB, free: 13.47 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.351e-05/0.007444, allocations: 8 kB / 0.5291 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.007445, allocations: 0 / 0.5291 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.007454, allocations: 4 kB / 0.5291 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.007455, allocations: 0 / 0.5291 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007457, allocations: 3.984 kB / 0.5291 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.007639, allocations: 240.5 kB / 0.5293 GB, free: 13.19 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.1e-05/0.00768, allocations: 31.84 kB / 0.5294 GB, free: 13.16 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.007697, allocations: 4 kB / 0.5294 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.869e-05/0.007726, allocations: 4 kB / 0.5294 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.018e-05/0.007756, allocations: 11.92 kB / 0.5294 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.806e-06/0.007764, allocations: 8 kB / 0.5294 GB, free: 13.13 MB / 458.8 MB Notification: Performance of sorting global known variables: time 9.246e-05/0.007857, allocations: 176.5 kB / 0.5296 GB, free: 12.96 MB / 458.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007857, allocations: 0 / 0.5296 GB, free: 12.96 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001511/0.008008, allocations: 35.94 kB / 0.5296 GB, free: 12.92 MB / 458.8 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.0001354/0.008144, allocations: 123.2 kB / 0.5297 GB, free: 12.79 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001582/0.008302, allocations: 174.8 kB / 0.5299 GB, free: 12.6 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.008303, allocations: 7.938 kB / 0.5299 GB, free: 12.59 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 5.849e-05/0.008362, allocations: 121 kB / 0.53 GB, free: 12.45 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.008514, allocations: 16.72 kB / 0.53 GB, free: 12.43 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.00888, allocations: 320.3 kB / 0.5303 GB, free: 12.09 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.657e-05/0.008957, allocations: 114.7 kB / 0.5304 GB, free: 11.95 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 4.778e-05/0.009004, allocations: 29.75 kB / 0.5305 GB, free: 11.93 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.009021, allocations: 12.5 kB / 0.5305 GB, free: 11.91 MB / 458.8 MB Notification: Performance of SimCode: time 6.72e-07/0.009022, allocations: 4 kB / 0.5305 GB, free: 11.91 MB / 458.8 MB Notification: Performance of Templates: time 0.00301/0.01203, allocations: 1.432 MB / 0.5319 GB, free: 10.48 MB / 458.8 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_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: 3.721894578076899]