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.001963/0.001963, allocations: 84.3 kB / 20.68 MB, free: 1.035 MB / 14.72 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.002398/0.002398, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.508/1.508, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.253/1.253, allocations: 88.07 MB / 348.7 MB, free: 1.828 MB / 318.1 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|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|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5234 GB, free: 8.336 MB / 446.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.354e-05/3.522e-05, allocations: 7.344 kB / 0.5235 GB, free: 8.328 MB / 446.2 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002358/0.002394, allocations: 1.399 MB / 0.5248 GB, free: 7.23 MB / 446.2 MB Notification: Performance of NFInst.instExpressions: time 0.0009495/0.003343, allocations: 0.5554 MB / 0.5254 GB, free: 6.809 MB / 446.2 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.272e-05/0.003406, allocations: 1.375 kB / 0.5254 GB, free: 6.809 MB / 446.2 MB Notification: Performance of NFTyping.typeComponents: time 0.0001816/0.003587, allocations: 18.41 kB / 0.5254 GB, free: 6.797 MB / 446.2 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.003915, allocations: 69.31 kB / 0.5254 GB, free: 6.754 MB / 446.2 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.004199, allocations: 79.61 kB / 0.5255 GB, free: 6.707 MB / 446.2 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.004353, allocations: 98.88 kB / 0.5256 GB, free: 6.648 MB / 446.2 MB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.004397, allocations: 11.06 kB / 0.5256 GB, free: 6.641 MB / 446.2 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001995/0.004597, allocations: 58.73 kB / 0.5257 GB, free: 6.609 MB / 446.2 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.004735, allocations: 50.69 kB / 0.5257 GB, free: 6.582 MB / 446.2 MB Notification: Performance of NFPackage.collectConstants: time 2.812e-05/0.004763, allocations: 4.594 kB / 0.5257 GB, free: 6.582 MB / 446.2 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001385/0.004902, allocations: 73.73 kB / 0.5258 GB, free: 6.547 MB / 446.2 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.005046, allocations: 61.41 kB / 0.5259 GB, free: 6.516 MB / 446.2 MB Notification: Performance of NFVerifyModel.verify: time 6.216e-05/0.005108, allocations: 22.03 kB / 0.5259 GB, free: 6.504 MB / 446.2 MB Notification: Performance of NFConvertDAE.convert: time 0.0002491/0.005357, allocations: 169.2 kB / 0.526 GB, free: 6.398 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.00536, allocations: 0 / 0.526 GB, free: 6.398 MB / 446.2 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005361, allocations: 3.938 kB / 0.526 GB, free: 6.395 MB / 446.2 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005365, allocations: 0.9062 kB / 0.5261 GB, free: 6.395 MB / 446.2 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.0005102/0.005875, allocations: 407.8 kB / 0.5264 GB, free: 6.004 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.005917, allocations: 13.16 kB / 0.5265 GB, free: 6 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.005971, allocations: 24.17 kB / 0.5265 GB, free: 5.984 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.006395, allocations: 245.4 kB / 0.5267 GB, free: 5.777 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.649e-05/0.006412, allocations: 6.219 kB / 0.5267 GB, free: 5.773 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.006432, allocations: 2.25 kB / 0.5267 GB, free: 5.773 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.006583, allocations: 84.53 kB / 0.5268 GB, free: 5.695 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/0.006592, allocations: 192 / 0.5268 GB, free: 5.695 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.006605, allocations: 5.281 kB / 0.5268 GB, free: 5.691 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.006612, allocations: 4.875 kB / 0.5268 GB, free: 5.688 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.442e-05/0.006686, allocations: 55.47 kB / 0.5269 GB, free: 5.641 MB / 446.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.006846, allocations: 148.2 kB / 0.527 GB, free: 5.488 MB / 446.2 MB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.006932, allocations: 59.34 kB / 0.5271 GB, free: 5.426 MB / 446.2 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.352e-05/0.006996, allocations: 54.59 kB / 0.5271 GB, free: 5.375 MB / 446.2 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.007009, allocations: 4.906 kB / 0.5271 GB, free: 5.371 MB / 446.2 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/0.007162, allocations: 135 kB / 0.5272 GB, free: 5.234 MB / 446.2 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.007163, allocations: 3.938 kB / 0.5272 GB, free: 5.23 MB / 446.2 MB Notification: Performance of matching and sorting (n=8): time 0.0003633/0.007526, allocations: 235.3 kB / 0.5275 GB, free: 5.051 MB / 446.2 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.00756, allocations: 83.83 kB / 0.5276 GB, free: 4.953 MB / 446.2 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002132/0.007773, allocations: 232.8 kB / 0.5278 GB, free: 4.797 MB / 446.2 MB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.007786, allocations: 27.58 kB / 0.5278 GB, free: 4.766 MB / 446.2 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.007842, allocations: 120.4 kB / 0.5279 GB, free: 4.652 MB / 446.2 MB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.007873, allocations: 15.55 kB / 0.5279 GB, free: 4.641 MB / 446.2 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.007922, allocations: 27.86 kB / 0.528 GB, free: 4.617 MB / 446.2 MB Notification: Performance of setup shared object (initialization): time 6.247e-05/0.007985, allocations: 332.4 kB / 0.5283 GB, free: 4.289 MB / 446.2 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-05/0.008039, allocations: 49.69 kB / 0.5283 GB, free: 4.246 MB / 446.2 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.571e-05/0.008084, allocations: 45.7 kB / 0.5284 GB, free: 4.207 MB / 446.2 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001183/0.008203, allocations: 115.8 kB / 0.5285 GB, free: 4.105 MB / 446.2 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008204, allocations: 0 / 0.5285 GB, free: 4.105 MB / 446.2 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002137/0.008418, allocations: 188.5 kB / 0.5287 GB, free: 3.965 MB / 446.2 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.008454, allocations: 41.06 kB / 0.5287 GB, free: 3.926 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.00846, allocations: 0.9375 kB / 0.5287 GB, free: 3.926 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.008477, allocations: 0 / 0.5287 GB, free: 3.926 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.217e-05/0.008549, allocations: 12.47 kB / 0.5287 GB, free: 3.918 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.008555, allocations: 0 / 0.5287 GB, free: 3.918 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.354e-05/0.008609, allocations: 7.688 kB / 0.5287 GB, free: 3.914 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.008634, allocations: 6.469 kB / 0.5287 GB, free: 3.914 MB / 446.2 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.0001275/0.008762, allocations: 172.3 kB / 0.5289 GB, free: 3.754 MB / 446.2 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.787e-05/0.00879, allocations: 21.95 kB / 0.5289 GB, free: 3.742 MB / 446.2 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.068e-05/0.00883, allocations: 22.3 kB / 0.5289 GB, free: 3.734 MB / 446.2 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.008832, allocations: 0 / 0.5289 GB, free: 3.734 MB / 446.2 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.008838, allocations: 5.188 kB / 0.5289 GB, free: 3.73 MB / 446.2 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.008841, allocations: 0 / 0.5289 GB, free: 3.73 MB / 446.2 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001214/0.008962, allocations: 157 kB / 0.5291 GB, free: 3.574 MB / 446.2 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.008963, allocations: 1.281 kB / 0.5291 GB, free: 3.574 MB / 446.2 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.154e-05/0.008985, allocations: 6.531 kB / 0.5291 GB, free: 3.57 MB / 446.2 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008987, allocations: 3.938 kB / 0.5291 GB, free: 3.566 MB / 446.2 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.009001, allocations: 3.75 kB / 0.5291 GB, free: 3.566 MB / 446.2 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.009004, allocations: 1.281 kB / 0.5291 GB, free: 3.566 MB / 446.2 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.009005, allocations: 4 kB / 0.5291 GB, free: 3.562 MB / 446.2 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.009256, allocations: 242 kB / 0.5293 GB, free: 3.371 MB / 446.2 MB Notification: Performance of postOpt removeConstants (simulation): time 4.744e-05/0.009304, allocations: 27.91 kB / 0.5294 GB, free: 3.352 MB / 446.2 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.947e-05/0.009333, allocations: 4.312 kB / 0.5294 GB, free: 3.352 MB / 446.2 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.191e-05/0.009375, allocations: 2.5 kB / 0.5294 GB, free: 3.352 MB / 446.2 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.009419, allocations: 9.094 kB / 0.5294 GB, free: 3.344 MB / 446.2 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.009436, allocations: 7.906 kB / 0.5294 GB, free: 3.344 MB / 446.2 MB Notification: Performance of sorting global known variables: time 0.0001613/0.009597, allocations: 178.4 kB / 0.5296 GB, free: 3.223 MB / 446.2 MB Notification: Performance of sort global known variables: time 8e-08/0.009597, allocations: 0 / 0.5296 GB, free: 3.223 MB / 446.2 MB Notification: Performance of remove unused functions: time 0.0002644/0.009862, allocations: 33.88 kB / 0.5296 GB, free: 3.219 MB / 446.2 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.0001888/0.01005, allocations: 122.8 kB / 0.5297 GB, free: 3.125 MB / 446.2 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.01027, allocations: 182.3 kB / 0.5299 GB, free: 2.961 MB / 446.2 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01027, allocations: 1.25 kB / 0.5299 GB, free: 2.961 MB / 446.2 MB Notification: Performance of simCode: created simulation system equations: time 8.527e-05/0.01035, allocations: 117.2 kB / 0.53 GB, free: 2.848 MB / 446.2 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.01058, allocations: 20.23 kB / 0.53 GB, free: 2.836 MB / 446.2 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005231/0.01111, allocations: 326.1 kB / 0.5303 GB, free: 2.59 MB / 446.2 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.819e-05/0.01121, allocations: 115.5 kB / 0.5304 GB, free: 2.488 MB / 446.2 MB Notification: Performance of simCode: alias equations: time 6.936e-05/0.01127, allocations: 27.7 kB / 0.5305 GB, free: 2.477 MB / 446.2 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.0113, allocations: 14.81 kB / 0.5305 GB, free: 2.465 MB / 446.2 MB Notification: Performance of SimCode: time 3e-07/0.0113, allocations: 0 / 0.5305 GB, free: 2.465 MB / 446.2 MB Notification: Performance of Templates: time 0.005035/0.01633, allocations: 1.443 MB / 0.5319 GB, free: 1.719 MB / 446.2 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=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.Models.TimeTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.35491818934679]