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.001431/0.001431, allocations: 84.22 kB / 21.18 MB, free: 3.383 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.001018/0.001018, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.8786/0.8786, allocations: 177.1 MB / 205 MB, free: 5.641 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.5712/0.5712, allocations: 88.08 MB / 349.6 MB, free: 14.26 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_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.483e-06/1.483e-06, allocations: 0 / 451.6 MB, free: 33.37 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.811e-05/1.96e-05, allocations: 5.672 kB / 451.6 MB, free: 33.36 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001593/0.001612, allocations: 1.448 MB / 453 MB, free: 32.39 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007327/0.002345, allocations: 0.5718 MB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.28e-05/0.002408, allocations: 0 / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.002592, allocations: 18.95 kB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002937/0.002886, allocations: 81.58 kB / 453.7 MB, free: 31.99 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.003094, allocations: 72.52 kB / 453.7 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001154/0.00321, allocations: 102.7 kB / 453.8 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.003247, allocations: 6.844 kB / 453.9 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.003404, allocations: 58.91 kB / 453.9 MB, free: 31.9 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.003512, allocations: 41.53 kB / 454 MB, free: 31.9 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.003532, allocations: 9.562 kB / 454 MB, free: 31.89 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-05/0.003623, allocations: 75.14 kB / 454 MB, free: 31.87 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 9.135e-05/0.003714, allocations: 60.08 kB / 454.1 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.573e-05/0.00376, allocations: 34.7 kB / 454.1 MB, free: 31.84 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.003931, allocations: 138.6 kB / 454.3 MB, free: 31.79 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.973e-06/0.003933, allocations: 0 / 454.3 MB, free: 31.79 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.01e-07/0.003934, allocations: 3.938 kB / 454.3 MB, free: 31.79 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.499e-06/0.003938, allocations: 0 / 454.3 MB, free: 31.79 MB / 410.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.0003911/0.004329, allocations: 0.5015 MB / 454.8 MB, free: 31.3 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.004365, allocations: 12.34 kB / 454.8 MB, free: 31.3 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.004413, allocations: 17.59 kB / 454.8 MB, free: 31.29 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.00467, allocations: 235.2 kB / 455 MB, free: 31.11 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.004682, allocations: 7.219 kB / 455 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.004697, allocations: 3.188 kB / 455 MB, free: 31.1 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.004801, allocations: 83.7 kB / 455.1 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.00481, allocations: 192 / 455.1 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00482, allocations: 384 / 455.1 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.004829, allocations: 3.938 kB / 455.1 MB, free: 31.03 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.979e-05/0.004868, allocations: 50.72 kB / 455.2 MB, free: 30.99 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001367/0.005005, allocations: 172.5 kB / 455.3 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.163e-05/0.005057, allocations: 74.3 kB / 455.4 MB, free: 30.75 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.005094, allocations: 48.95 kB / 455.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.424e-06/0.005102, allocations: 6.297 kB / 455.5 MB, free: 30.7 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-05/0.005202, allocations: 126.8 kB / 455.6 MB, free: 30.58 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 6.92e-07/0.005202, allocations: 0 / 455.6 MB, free: 30.58 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.000242/0.005444, allocations: 226.4 kB / 455.8 MB, free: 30.43 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.00547, allocations: 87.95 kB / 455.9 MB, free: 30.33 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.005589, allocations: 266 kB / 456.2 MB, free: 30.13 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.528e-06/0.005598, allocations: 28.52 kB / 456.2 MB, free: 30.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.005641, allocations: 178.8 kB / 456.4 MB, free: 29.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.00567, allocations: 28.89 kB / 456.4 MB, free: 29.91 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.174e-05/0.005701, allocations: 23.94 kB / 456.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.005758, allocations: 0.5069 MB / 456.9 MB, free: 29.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.211e-05/0.00579, allocations: 44.3 kB / 457 MB, free: 29.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.005813, allocations: 47.34 kB / 457 MB, free: 29.32 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.184e-05/0.005875, allocations: 99.27 kB / 457.1 MB, free: 29.23 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.005877, allocations: 0 / 457.1 MB, free: 29.23 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001232/0.006, allocations: 182.4 kB / 457.3 MB, free: 29.11 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.598e-05/0.006026, allocations: 41.23 kB / 457.3 MB, free: 29.08 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.00603, allocations: 4 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.006044, allocations: 4 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.006101, allocations: 9.25 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.006107, allocations: 0 / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.782e-05/0.006144, allocations: 5.312 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.631e-05/0.006161, allocations: 5.219 kB / 457.4 MB, free: 29.07 MB / 410.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 6.321e-05/0.006224, allocations: 197.8 kB / 457.5 MB, free: 28.87 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.006245, allocations: 28.41 kB / 457.6 MB, free: 28.86 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.006269, allocations: 15.31 kB / 457.6 MB, free: 28.85 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.006271, allocations: 0 / 457.6 MB, free: 28.85 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.006276, allocations: 11.12 kB / 457.6 MB, free: 28.84 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.006279, allocations: 144 / 457.6 MB, free: 28.84 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.066e-05/0.00636, allocations: 175.1 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.006362, allocations: 6.453 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.379e-05/0.006376, allocations: 2.594 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.006378, allocations: 0 / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.006387, allocations: 2.625 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006388, allocations: 0 / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.006388, allocations: 2.688 kB / 457.8 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001571/0.006545, allocations: 249.8 kB / 458 MB, free: 28.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.278e-05/0.006578, allocations: 29 kB / 458.1 MB, free: 28.48 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.006598, allocations: 8.938 kB / 458.1 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.69e-05/0.006625, allocations: 2.969 kB / 458.1 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-05/0.006656, allocations: 6.719 kB / 458.1 MB, free: 28.47 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.02e-05/0.006666, allocations: 13.03 kB / 458.1 MB, free: 28.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.006728, allocations: 185.4 kB / 458.3 MB, free: 28.33 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.006728, allocations: 0 / 458.3 MB, free: 28.33 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001489/0.006877, allocations: 35.06 kB / 458.3 MB, free: 28.33 MB / 410.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.0001193/0.006996, allocations: 121.3 kB / 458.4 MB, free: 28.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001376/0.007134, allocations: 178.1 kB / 458.6 MB, free: 28.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.007135, allocations: 4 kB / 458.6 MB, free: 28.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.007187, allocations: 125.4 kB / 458.7 MB, free: 27.97 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.00734, allocations: 20.48 kB / 458.7 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003255/0.007666, allocations: 299.2 kB / 459 MB, free: 27.74 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.828e-05/0.007704, allocations: 76.62 kB / 459.1 MB, free: 27.67 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.007756, allocations: 22.02 kB / 459.1 MB, free: 27.66 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.953e-05/0.007776, allocations: 14.25 kB / 459.1 MB, free: 27.65 MB / 410.8 MB Notification: Performance of SimCode: time 5.91e-07/0.007776, allocations: 0 / 459.1 MB, free: 27.65 MB / 410.8 MB Notification: Performance of Templates: time 0.003119/0.01089, allocations: 1.433 MB / 460.6 MB, free: 27.41 MB / 410.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.379701316356659]