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.001375/0.001375, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001531/0.001531, allocations: 169.1 kB / 24.91 MB, free: 9.199 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.907/0.907, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.5691/0.5691, allocations: 88.07 MB / 349.9 MB, free: 14.14 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_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.963e-05/2.151e-05, allocations: 5.688 kB / 398.8 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002408/0.002429, allocations: 1.434 MB / 400.2 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009858/0.003415, allocations: 0.5763 MB / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.003474, allocations: 7.938 kB / 400.8 MB, free: 11.59 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.003652, allocations: 23.86 kB / 400.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002984/0.00395, allocations: 63.84 kB / 400.9 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.004204, allocations: 79.72 kB / 401 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.004339, allocations: 87.75 kB / 401 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.004375, allocations: 7.984 kB / 401 MB, free: 11.33 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.004702, allocations: 143.7 kB / 401.2 MB, free: 11.19 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.004769, allocations: 35.91 kB / 401.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.004784, allocations: 0 / 401.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.0049, allocations: 75.91 kB / 401.3 MB, free: 11.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.004978, allocations: 47.91 kB / 401.3 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.005016, allocations: 31.8 kB / 401.4 MB, free: 11 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001997/0.005216, allocations: 147.4 kB / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005218, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.005219, allocations: 0 / 401.5 MB, free: 10.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.005222, 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.0003951/0.005617, allocations: 374.3 kB / 401.9 MB, free: 10.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.005653, allocations: 12.03 kB / 401.9 MB, free: 10.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.895e-05/0.005692, allocations: 16.92 kB / 401.9 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.005926, allocations: 198.2 kB / 402.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.005937, allocations: 4.375 kB / 402.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.005949, allocations: 8.375 kB / 402.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.757e-05/0.006047, allocations: 75.88 kB / 402.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.006055, allocations: 192 / 402.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.006066, allocations: 384 / 402.2 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.006073, allocations: 3.938 kB / 402.2 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.344e-05/0.006116, allocations: 45.69 kB / 402.2 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.678e-05/0.006213, allocations: 68.98 kB / 402.3 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.463e-05/0.006268, allocations: 52.28 kB / 402.4 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.066e-05/0.006308, allocations: 46.59 kB / 402.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.708e-06/0.006313, allocations: 0 / 402.4 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001111/0.006424, allocations: 134.9 kB / 402.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.006425, allocations: 0 / 402.5 MB, free: 9.703 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001805/0.006606, allocations: 166.8 kB / 402.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.006646, allocations: 93.03 kB / 402.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.006781, allocations: 196.7 kB / 403 MB, free: 9.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.006796, allocations: 29.7 kB / 403 MB, free: 9.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.661e-05/0.006832, allocations: 96.61 kB / 403.1 MB, free: 9.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.006862, allocations: 19.83 kB / 403.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-05/0.006902, allocations: 29.64 kB / 403.2 MB, free: 9.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.783e-05/0.007, allocations: 330.7 kB / 403.5 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.172e-05/0.007032, allocations: 41.69 kB / 403.5 MB, free: 8.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.007061, allocations: 41.7 kB / 403.6 MB, free: 8.59 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.402e-05/0.007135, allocations: 96.23 kB / 403.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007136, allocations: 0 / 403.7 MB, free: 8.48 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001137/0.00725, allocations: 133.1 kB / 403.8 MB, free: 8.332 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.007283, allocations: 37.69 kB / 403.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.007286, allocations: 240 / 403.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.007297, allocations: 0 / 403.8 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.034e-05/0.007347, allocations: 4 kB / 403.8 MB, free: 8.285 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.587e-06/0.007351, allocations: 3.984 kB / 403.8 MB, free: 8.281 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.97e-05/0.00739, allocations: 7.938 kB / 403.8 MB, free: 8.273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.007409, allocations: 12 kB / 403.8 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.349e-05/0.007502, allocations: 158.4 kB / 404 MB, free: 8.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.007524, allocations: 15.98 kB / 404 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.109e-05/0.007555, allocations: 17.45 kB / 404 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.007556, allocations: 0 / 404 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.007558, allocations: 0 / 404 MB, free: 8.055 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.007563, allocations: 3.938 kB / 404 MB, free: 8.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.259e-05/0.007656, allocations: 93.84 kB / 404.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007657, allocations: 0 / 404.1 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.732e-05/0.007674, allocations: 7.938 kB / 404.1 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.007675, allocations: 0 / 404.1 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.007684, allocations: 8 kB / 404.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.007685, allocations: 0 / 404.1 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.007687, allocations: 4 kB / 404.1 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001379/0.007825, allocations: 176.3 kB / 404.3 MB, free: 7.719 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.059e-05/0.007865, allocations: 27.8 kB / 404.3 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.007893, allocations: 8.172 kB / 404.4 MB, free: 7.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.947e-05/0.007922, allocations: 4 kB / 404.4 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.007943, allocations: 3.984 kB / 404.4 MB, free: 7.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.007954, allocations: 8 kB / 404.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.007996, allocations: 66.03 kB / 404.4 MB, free: 7.602 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007996, allocations: 0 / 404.4 MB, free: 7.602 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001184/0.008115, allocations: 36 kB / 404.5 MB, free: 7.566 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.0001156/0.00823, allocations: 114.8 kB / 404.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001176/0.008348, allocations: 179.5 kB / 404.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.00835, allocations: 0 / 404.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.308e-05/0.008403, allocations: 117.9 kB / 404.9 MB, free: 7.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.221e-05/0.008496, allocations: 18.7 kB / 404.9 MB, free: 7.082 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002824/0.008778, allocations: 291 kB / 405.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.961e-05/0.008818, allocations: 87.62 kB / 405.3 MB, free: 6.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.214e-05/0.00886, allocations: 17.66 kB / 405.3 MB, free: 6.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.122e-05/0.008941, allocations: 83.34 kB / 405.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of SimCode: time 4.81e-07/0.008941, allocations: 0 / 405.4 MB, free: 6.559 MB / 378.7 MB Notification: Performance of Templates: time 0.002837/0.01178, allocations: 1.371 MB / 406.7 MB, free: 5.207 MB / 378.7 MB " [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=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_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.0636744149960577]