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.0007427/0.0007427, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009293/0.0009293, allocations: 163.9 kB / 25.61 MB, free: 8.879 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.8723/0.8723, allocations: 177.1 MB / 206 MB, free: 4.508 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.8333/0.8333, allocations: 88.09 MB / 350.7 MB, free: 11.78 MB / 330.8 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.813e-06/1.813e-06, allocations: 0 / 452.8 MB, free: 8.074 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.867e-05, allocations: 2.312 kB / 452.8 MB, free: 8.07 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003152/0.00318, allocations: 1.441 MB / 454.3 MB, free: 6.617 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.001163/0.004344, allocations: 0.5609 MB / 454.8 MB, free: 6.051 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.011e-05/0.004434, allocations: 4 kB / 454.8 MB, free: 6.047 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.004654, allocations: 19.91 kB / 454.8 MB, free: 6.027 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003943/0.005048, allocations: 79.7 kB / 454.9 MB, free: 5.949 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004282/0.005476, allocations: 79.73 kB / 455 MB, free: 5.871 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.005701, allocations: 91.75 kB / 455.1 MB, free: 5.781 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.991e-05/0.005751, allocations: 3.984 kB / 455.1 MB, free: 5.777 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006088/0.00636, allocations: 163.7 kB / 455.3 MB, free: 5.617 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.084e-05/0.006451, allocations: 27.97 kB / 455.3 MB, free: 5.59 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 2.098e-05/0.006472, allocations: 0 / 455.3 MB, free: 5.59 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.006618, allocations: 75.86 kB / 455.4 MB, free: 5.516 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.006734, allocations: 63.88 kB / 455.4 MB, free: 5.453 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 4.313e-05/0.006777, allocations: 23.88 kB / 455.4 MB, free: 5.43 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002686/0.007046, allocations: 143.4 kB / 455.6 MB, free: 5.289 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.00705, allocations: 0 / 455.6 MB, free: 5.289 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.007052, allocations: 0 / 455.6 MB, free: 5.289 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.289e-06/0.007057, allocations: 0 / 455.6 MB, free: 5.289 MB / 426.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.000659/0.007716, allocations: 0.509 MB / 456.1 MB, free: 4.738 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.007768, allocations: 8.031 kB / 456.1 MB, free: 4.73 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.007831, allocations: 20.8 kB / 456.1 MB, free: 4.711 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.008128, allocations: 203.7 kB / 456.3 MB, free: 4.48 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.008143, allocations: 4.375 kB / 456.3 MB, free: 4.477 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.178e-05/0.008155, allocations: 384 / 456.3 MB, free: 4.477 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.008288, allocations: 83.88 kB / 456.4 MB, free: 4.383 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.008299, allocations: 192 / 456.4 MB, free: 4.383 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.817e-06/0.008308, allocations: 384 / 456.4 MB, free: 4.383 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.008316, allocations: 3.938 kB / 456.4 MB, free: 4.379 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.008371, allocations: 53.69 kB / 456.5 MB, free: 4.32 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000193/0.008564, allocations: 125.3 kB / 456.6 MB, free: 4.172 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.008652, allocations: 68.75 kB / 456.6 MB, free: 4.086 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.008703, allocations: 45.42 kB / 456.7 MB, free: 4.031 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.008711, allocations: 4 kB / 456.7 MB, free: 4.027 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.008862, allocations: 132.4 kB / 456.8 MB, free: 3.871 MB / 426.8 MB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.008863, allocations: 0 / 456.8 MB, free: 3.871 MB / 426.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003267/0.00919, allocations: 222.7 kB / 457 MB, free: 3.629 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.009242, allocations: 81.09 kB / 457.1 MB, free: 3.531 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.009448, allocations: 272 kB / 457.4 MB, free: 3.25 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.009465, allocations: 29.7 kB / 457.4 MB, free: 3.215 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.009557, allocations: 174.8 kB / 457.6 MB, free: 3.039 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.009602, allocations: 27.75 kB / 457.6 MB, free: 3.012 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.009657, allocations: 27.38 kB / 457.6 MB, free: 2.977 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.009829, allocations: 0.5079 MB / 458.2 MB, free: 2.457 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.328e-05/0.009872, allocations: 45.62 kB / 458.2 MB, free: 2.406 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.394e-05/0.009906, allocations: 37.7 kB / 458.2 MB, free: 2.363 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.408e-05/0.01, allocations: 99.06 kB / 458.3 MB, free: 2.25 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01, allocations: 0 / 458.3 MB, free: 2.25 MB / 426.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002148/0.01022, allocations: 192.8 kB / 458.5 MB, free: 2.043 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.01026, allocations: 43.88 kB / 458.6 MB, free: 1.996 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.01027, allocations: 4 kB / 458.6 MB, free: 1.992 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.01028, allocations: 144 / 458.6 MB, free: 1.992 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.591e-05/0.01035, allocations: 4 kB / 458.6 MB, free: 1.988 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.01035, allocations: 3.938 kB / 458.6 MB, free: 1.984 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.44e-05/0.0104, allocations: 7.984 kB / 458.6 MB, free: 1.977 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.356e-05/0.01043, allocations: 8 kB / 458.6 MB, free: 1.969 MB / 426.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 0.0001256/0.01055, allocations: 197.2 kB / 458.8 MB, free: 1.762 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.064e-05/0.01058, allocations: 19.91 kB / 458.8 MB, free: 1.742 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.01062, allocations: 17.45 kB / 458.8 MB, free: 1.73 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01063, allocations: 4 kB / 458.8 MB, free: 1.727 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.064e-06/0.01063, allocations: 4 kB / 458.8 MB, free: 1.723 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.01063, allocations: 3.938 kB / 458.8 MB, free: 1.719 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.01077, allocations: 141.1 kB / 459 MB, free: 1.555 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.01078, allocations: 4 kB / 459 MB, free: 1.551 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.01081, allocations: 0 / 459 MB, free: 1.551 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.01081, allocations: 0 / 459 MB, free: 1.551 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01082, allocations: 7.984 kB / 459 MB, free: 1.543 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.01082, allocations: 0 / 459 MB, free: 1.543 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.01082, allocations: 0 / 459 MB, free: 1.543 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/0.01109, allocations: 239.6 kB / 459.2 MB, free: 1.273 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.01115, allocations: 31.83 kB / 459.2 MB, free: 1.242 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.01117, allocations: 7.938 kB / 459.3 MB, free: 1.234 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.01122, allocations: 4 kB / 459.3 MB, free: 1.23 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.574e-05/0.01125, allocations: 7.984 kB / 459.3 MB, free: 1.223 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01127, allocations: 12 kB / 459.3 MB, free: 1.211 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001193/0.01139, allocations: 184.4 kB / 459.5 MB, free: 1.031 MB / 426.8 MB Notification: Performance of sort global known variables: time 7e-08/0.01139, allocations: 0 / 459.5 MB, free: 1.031 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002959/0.01169, allocations: 31.98 kB / 459.5 MB, free: 1 MB / 426.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.0002019/0.01189, allocations: 131.1 kB / 459.6 MB, free: 0.8633 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.01209, allocations: 170.4 kB / 459.8 MB, free: 0.668 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.01209, allocations: 8 kB / 459.8 MB, free: 0.6602 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 8.592e-05/0.01218, allocations: 120.8 kB / 459.9 MB, free: 0.5195 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.01241, allocations: 20.72 kB / 459.9 MB, free: 0.4961 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.01286, allocations: 297 kB / 460.2 MB, free: 176 kB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.626e-05/0.01291, allocations: 75.81 kB / 460.3 MB, free: 80 kB / 426.8 MB Notification: Performance of simCode: alias equations: time 6.119e-05/0.01297, allocations: 21.7 kB / 460.3 MB, free: 56 kB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.01312, allocations: 102.2 kB / 460.4 MB, free: 15.95 MB / 442.8 MB Notification: Performance of SimCode: time 1.413e-06/0.01312, allocations: 0 / 460.4 MB, free: 15.95 MB / 442.8 MB Notification: Performance of Templates: time 0.004765/0.01788, allocations: 1.396 MB / 461.8 MB, free: 14.55 MB / 442.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=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: 3.419393968768418]