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.001219/0.001219, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002001/0.00322, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001075/0.001075, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001384/0.002459, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.082/1.082, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1178/1.199, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.8622/0.8622, allocations: 88.08 MB / 332.2 MB, free: 14.12 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07528/0.9375, allocations: 32.93 MB / 365.2 MB, free: 13.38 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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 2.134e-06/2.134e-06, allocations: 0 / 366.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.508e-05, allocations: 2.312 kB / 366.4 MB, free: 12.2 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.003302/0.003327, allocations: 1.494 MB / 367.8 MB, free: 10.7 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.004472, allocations: 0.5802 MB / 368.4 MB, free: 10.11 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.192e-05/0.004544, allocations: 3.938 kB / 368.4 MB, free: 10.11 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.004691, allocations: 19.91 kB / 368.5 MB, free: 10.09 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.004946, allocations: 63.8 kB / 368.5 MB, free: 10.02 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002794/0.005225, allocations: 67.73 kB / 368.6 MB, free: 9.957 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001759/0.005401, allocations: 83.83 kB / 368.7 MB, free: 9.875 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.005443, allocations: 3.938 kB / 368.7 MB, free: 9.871 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.005876, allocations: 155.7 kB / 368.8 MB, free: 9.719 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 8.445e-05/0.00596, allocations: 31.95 kB / 368.9 MB, free: 9.688 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.005982, allocations: 7.938 kB / 368.9 MB, free: 9.68 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001939/0.006176, allocations: 83.86 kB / 368.9 MB, free: 9.598 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 9.634e-05/0.006272, allocations: 47.91 kB / 369 MB, free: 9.551 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 4.208e-05/0.006314, allocations: 19.88 kB / 369 MB, free: 9.531 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002303/0.006545, allocations: 127.5 kB / 369.1 MB, free: 9.406 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.006556, allocations: 0 / 369.1 MB, free: 9.406 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.102e-06/0.006558, allocations: 0 / 369.1 MB, free: 9.406 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.00657, allocations: 0 / 369.1 MB, free: 9.406 MB / 362.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.0005822/0.007153, allocations: 402 kB / 369.5 MB, free: 8.984 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.007199, allocations: 15.98 kB / 369.5 MB, free: 8.969 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.452e-05/0.007253, allocations: 16.92 kB / 369.6 MB, free: 8.953 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.007546, allocations: 198.2 kB / 369.7 MB, free: 8.734 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.007557, allocations: 384 / 369.7 MB, free: 8.734 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.007574, allocations: 4.375 kB / 369.8 MB, free: 8.73 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001388/0.007713, allocations: 79.92 kB / 369.8 MB, free: 8.641 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.007722, allocations: 4.188 kB / 369.8 MB, free: 8.637 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.104e-05/0.007763, allocations: 4.312 kB / 369.8 MB, free: 8.633 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.007775, allocations: 3.938 kB / 369.8 MB, free: 8.629 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.383e-05/0.007839, allocations: 45.67 kB / 369.9 MB, free: 8.578 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001089/0.007948, allocations: 68.94 kB / 370 MB, free: 8.496 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.861e-05/0.008007, allocations: 64.27 kB / 370 MB, free: 8.418 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.008047, allocations: 42.56 kB / 370.1 MB, free: 8.367 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.008055, allocations: 4 kB / 370.1 MB, free: 8.363 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.008193, allocations: 138.9 kB / 370.2 MB, free: 8.203 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.008194, allocations: 0 / 370.2 MB, free: 8.203 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001876/0.008382, allocations: 178.8 kB / 370.4 MB, free: 8.004 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.008448, allocations: 166.2 kB / 370.5 MB, free: 7.805 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.008593, allocations: 200.7 kB / 370.7 MB, free: 7.598 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.008605, allocations: 25.7 kB / 370.8 MB, free: 7.566 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.252e-05/0.008637, allocations: 100.6 kB / 370.9 MB, free: 7.465 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.00867, allocations: 19.89 kB / 370.9 MB, free: 7.445 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.008704, allocations: 25.7 kB / 370.9 MB, free: 7.414 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.00884, allocations: 330.8 kB / 371.2 MB, free: 7.082 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.816e-05/0.008868, allocations: 41.69 kB / 371.3 MB, free: 7.035 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.816e-05/0.008896, allocations: 49.62 kB / 371.3 MB, free: 6.98 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.329e-05/0.00896, allocations: 96.23 kB / 371.4 MB, free: 6.871 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.008962, allocations: 0 / 371.4 MB, free: 6.871 MB / 362.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 9.814e-05/0.00906, allocations: 141 kB / 371.5 MB, free: 6.715 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.009105, allocations: 43.25 kB / 371.6 MB, free: 6.668 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.00911, allocations: 0 / 371.6 MB, free: 6.668 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.009123, allocations: 0 / 371.6 MB, free: 6.668 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.009181, allocations: 8 kB / 371.6 MB, free: 6.66 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.009185, allocations: 0 / 371.6 MB, free: 6.66 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.828e-05/0.009223, allocations: 11.89 kB / 371.6 MB, free: 6.648 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.009241, allocations: 8 kB / 371.6 MB, free: 6.641 MB / 362.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 8.472e-05/0.009325, allocations: 150.4 kB / 371.8 MB, free: 6.477 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.009341, allocations: 15.98 kB / 371.8 MB, free: 6.461 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.009373, allocations: 17.45 kB / 371.8 MB, free: 6.445 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.009375, allocations: 0 / 371.8 MB, free: 6.445 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.009378, allocations: 4 kB / 371.8 MB, free: 6.441 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.009384, allocations: 3.938 kB / 371.8 MB, free: 6.438 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.846e-05/0.009472, allocations: 101.8 kB / 371.9 MB, free: 6.32 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009474, allocations: 0 / 371.9 MB, free: 6.32 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.308e-05/0.009488, allocations: 4 kB / 371.9 MB, free: 6.316 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.009607, allocations: 16.53 kB / 371.9 MB, free: 6.301 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.009609, allocations: 0 / 371.9 MB, free: 6.301 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.009619, allocations: 7.984 kB / 371.9 MB, free: 6.293 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.009619, allocations: 7.875 kB / 371.9 MB, free: 6.285 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.00962, allocations: 0 / 371.9 MB, free: 6.285 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000136/0.009756, allocations: 184.4 kB / 372.1 MB, free: 6.074 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.009776, allocations: 4 kB / 372.1 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.537e-05/0.009801, allocations: 0 / 372.1 MB, free: 6.07 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.009832, allocations: 8 kB / 372.1 MB, free: 6.062 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.009847, allocations: 15.98 kB / 372.1 MB, free: 6.047 MB / 362.8 MB Notification: Performance of sorting global known variables: time 4.803e-05/0.009895, allocations: 58.05 kB / 372.2 MB, free: 5.988 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.009895, allocations: 0 / 372.2 MB, free: 5.988 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001292/0.01002, allocations: 35.98 kB / 372.2 MB, free: 5.953 MB / 362.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.000148/0.01017, allocations: 104.5 kB / 372.3 MB, free: 5.84 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.01034, allocations: 191.5 kB / 372.5 MB, free: 5.625 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.01035, allocations: 4 kB / 372.5 MB, free: 5.621 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 7.194e-05/0.01042, allocations: 117.9 kB / 372.6 MB, free: 5.484 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.01058, allocations: 71.77 kB / 372.7 MB, free: 5.406 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.01107, allocations: 306.8 kB / 373 MB, free: 5.07 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.638e-05/0.01112, allocations: 83.67 kB / 373.1 MB, free: 4.969 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.348e-05/0.01116, allocations: 17.48 kB / 373.1 MB, free: 4.953 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.458e-05/0.01125, allocations: 91.62 kB / 373.2 MB, free: 4.863 MB / 362.8 MB Notification: Performance of SimCode: time 8.02e-07/0.01125, allocations: 0 / 373.2 MB, free: 4.863 MB / 362.8 MB Notification: Performance of Templates: time 0.003435/0.01469, allocations: 1.409 MB / 374.6 MB, free: 3.48 MB / 362.8 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.77593713067472]