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.0012/0.0012, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001964/0.003164, allocations: 449.7 kB / 10.37 MB, free: 328 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.001055/0.001055, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001366/0.00242, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.002/1.002, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1015/1.104, allocations: 53.65 MB / 243.3 MB, free: 15.59 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.729/0.729, allocations: 88.08 MB / 332.1 MB, free: 14.19 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07299/0.802, allocations: 32.92 MB / 365 MB, free: 13.45 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 7.11e-07/7.11e-07, allocations: 0 / 366.2 MB, free: 12.3 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.646e-06/9.357e-06, allocations: 6.312 kB / 366.2 MB, free: 12.29 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001684/0.001693, allocations: 1.479 MB / 367.6 MB, free: 10.8 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.002467, allocations: 0.584 MB / 368.2 MB, free: 10.21 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.902e-05/0.002516, allocations: 4 kB / 368.2 MB, free: 10.2 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001091/0.002625, allocations: 19.91 kB / 368.3 MB, free: 10.18 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.002806, allocations: 63.75 kB / 368.3 MB, free: 10.12 MB / 362.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002002/0.003006, allocations: 71.72 kB / 368.4 MB, free: 10.05 MB / 362.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.00314, allocations: 79.83 kB / 368.5 MB, free: 9.973 MB / 362.8 MB Notification: Performance of NFFlatten.resolveConnections: time 2.828e-05/0.003168, allocations: 4 kB / 368.5 MB, free: 9.969 MB / 362.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003119/0.00348, allocations: 155.7 kB / 368.6 MB, free: 9.816 MB / 362.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.086e-05/0.003541, allocations: 23.97 kB / 368.6 MB, free: 9.793 MB / 362.8 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.003558, allocations: 8 kB / 368.6 MB, free: 9.785 MB / 362.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.003694, allocations: 87.84 kB / 368.7 MB, free: 9.699 MB / 362.8 MB Notification: Performance of NFScalarize.scalarize: time 7.279e-05/0.003767, allocations: 51.84 kB / 368.8 MB, free: 9.648 MB / 362.8 MB Notification: Performance of NFVerifyModel.verify: time 3.624e-05/0.003803, allocations: 19.88 kB / 368.8 MB, free: 9.629 MB / 362.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.00397, allocations: 119.6 kB / 368.9 MB, free: 9.512 MB / 362.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.32e-05/0.003983, allocations: 0 / 368.9 MB, free: 9.512 MB / 362.8 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003984, allocations: 0 / 368.9 MB, free: 9.512 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.003998, allocations: 3.938 kB / 368.9 MB, free: 9.508 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.00048/0.004478, allocations: 405.9 kB / 369.3 MB, free: 9.082 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004512, allocations: 11.98 kB / 369.3 MB, free: 9.07 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.012e-05/0.004552, allocations: 12.92 kB / 369.3 MB, free: 9.059 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002232/0.004775, allocations: 198.2 kB / 369.5 MB, free: 8.844 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.689e-06/0.004785, allocations: 4.375 kB / 369.5 MB, free: 8.84 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.167e-06/0.004794, allocations: 384 / 369.5 MB, free: 8.84 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.004898, allocations: 79.94 kB / 369.6 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.004904, allocations: 192 / 369.6 MB, free: 8.75 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.957e-06/0.004913, allocations: 4.375 kB / 369.6 MB, free: 8.746 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.004919, allocations: 3.938 kB / 369.6 MB, free: 8.742 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.355e-05/0.004962, allocations: 49.62 kB / 369.7 MB, free: 8.688 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001046/0.005067, allocations: 76.91 kB / 369.8 MB, free: 8.598 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.005124, allocations: 60.27 kB / 369.8 MB, free: 8.523 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.983e-05/0.005164, allocations: 42.56 kB / 369.9 MB, free: 8.473 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.942e-06/0.00517, allocations: 0 / 369.9 MB, free: 8.473 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.005296, allocations: 130.8 kB / 370 MB, free: 8.32 MB / 362.8 MB Notification: Performance of pre-optimization done (n=8): time 8.21e-07/0.005297, allocations: 4 kB / 370 MB, free: 8.316 MB / 362.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001786/0.005476, allocations: 178.7 kB / 370.2 MB, free: 8.117 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.005519, allocations: 85.11 kB / 370.2 MB, free: 8.016 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001264/0.005646, allocations: 199.9 kB / 370.4 MB, free: 7.809 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.005659, allocations: 29.7 kB / 370.5 MB, free: 7.773 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.005698, allocations: 100.6 kB / 370.6 MB, free: 7.672 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.005727, allocations: 11.89 kB / 370.6 MB, free: 7.66 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.005764, allocations: 25.7 kB / 370.6 MB, free: 7.629 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 9.575e-05/0.00586, allocations: 338.7 kB / 370.9 MB, free: 7.289 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.969e-05/0.005889, allocations: 41.69 kB / 371 MB, free: 7.242 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.393e-05/0.005913, allocations: 41.7 kB / 371 MB, free: 7.195 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.651e-05/0.00599, allocations: 108.2 kB / 371.1 MB, free: 7.074 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.005992, allocations: 0 / 371.1 MB, free: 7.074 MB / 362.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000105/0.006097, allocations: 133.1 kB / 371.2 MB, free: 6.926 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.138e-05/0.006138, allocations: 37.69 kB / 371.3 MB, free: 6.883 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006143, allocations: 0 / 371.3 MB, free: 6.883 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.668e-06/0.006153, allocations: 4 kB / 371.3 MB, free: 6.879 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.595e-05/0.006209, allocations: 7.938 kB / 371.3 MB, free: 6.871 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.006213, allocations: 0 / 371.3 MB, free: 6.871 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.853e-05/0.006251, allocations: 15.89 kB / 371.3 MB, free: 6.855 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.00627, allocations: 15.98 kB / 371.3 MB, free: 6.84 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.048e-05/0.006351, allocations: 154.5 kB / 371.5 MB, free: 6.672 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.006367, allocations: 15.97 kB / 371.5 MB, free: 6.656 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.006391, allocations: 17.47 kB / 371.5 MB, free: 6.641 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.006392, allocations: 0 / 371.5 MB, free: 6.641 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.006394, allocations: 0 / 371.5 MB, free: 6.641 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006398, allocations: 3.938 kB / 371.5 MB, free: 6.637 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.682e-05/0.006474, allocations: 97.78 kB / 371.6 MB, free: 6.523 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006475, allocations: 0 / 371.6 MB, free: 6.523 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.189e-05/0.006487, allocations: 4 kB / 371.6 MB, free: 6.52 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.071e-05/0.006518, allocations: 19.89 kB / 371.6 MB, free: 6.5 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.00652, allocations: 4 kB / 371.6 MB, free: 6.496 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.006528, allocations: 4 kB / 371.6 MB, free: 6.492 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.006528, allocations: 0 / 371.6 MB, free: 6.492 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.006529, allocations: 0 / 371.6 MB, free: 6.492 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006648, allocations: 188.3 kB / 371.8 MB, free: 6.277 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.006668, allocations: 4 kB / 371.8 MB, free: 6.273 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.179e-05/0.00669, allocations: 0 / 371.8 MB, free: 6.273 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.006721, allocations: 7.984 kB / 371.8 MB, free: 6.266 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.006733, allocations: 12 kB / 371.9 MB, free: 6.254 MB / 362.8 MB Notification: Performance of sorting global known variables: time 4.5e-05/0.006778, allocations: 57.98 kB / 371.9 MB, free: 6.195 MB / 362.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006778, allocations: 0 / 371.9 MB, free: 6.195 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0001388/0.006917, allocations: 40 kB / 371.9 MB, free: 6.156 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.0001246/0.007041, allocations: 109.2 kB / 372.1 MB, free: 6.039 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0001428/0.007184, allocations: 183.5 kB / 372.2 MB, free: 5.832 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.00719, allocations: 0 / 372.2 MB, free: 5.832 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 6.119e-05/0.007251, allocations: 121.9 kB / 372.4 MB, free: 5.691 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001067/0.007358, allocations: 29.48 kB / 372.4 MB, free: 5.656 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.007803, allocations: 302.9 kB / 372.7 MB, free: 5.324 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.54e-05/0.007848, allocations: 87.69 kB / 372.8 MB, free: 5.219 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 4.577e-05/0.007894, allocations: 17.7 kB / 372.8 MB, free: 5.203 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.724e-05/0.007981, allocations: 87.36 kB / 372.9 MB, free: 5.117 MB / 362.8 MB Notification: Performance of SimCode: time 6.12e-07/0.007982, allocations: 0 / 372.9 MB, free: 5.117 MB / 362.8 MB Notification: Performance of Templates: time 0.002949/0.01093, allocations: 1.387 MB / 374.3 MB, free: 3.742 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3356373198330402]