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.0008712/0.0008712, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005092/0.005092, allocations: 165.3 kB / 24.7 MB, free: 9.426 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.9009/0.9009, allocations: 177.1 MB / 205 MB, free: 5.723 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.6488/0.6488, allocations: 88.07 MB / 349.5 MB, free: 14.36 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|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.904e-06/1.904e-06, allocations: 3.938 kB / 0.5242 GB, free: 3.578 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.609e-05, allocations: 3.828 kB / 0.5242 GB, free: 3.574 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001985/0.002011, allocations: 1.396 MB / 0.5256 GB, free: 2.168 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.000963/0.002974, allocations: 0.557 MB / 0.5261 GB, free: 1.605 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.866e-05/0.003043, allocations: 7.875 kB / 0.5261 GB, free: 1.598 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.003264, allocations: 23.91 kB / 0.5261 GB, free: 1.574 MB / 442.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003671/0.003631, allocations: 67.78 kB / 0.5262 GB, free: 1.508 MB / 442.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.003906, allocations: 82.97 kB / 0.5263 GB, free: 1.43 MB / 442.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.004073, allocations: 87.81 kB / 0.5264 GB, free: 1.344 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.786e-05/0.004131, allocations: 4 kB / 0.5264 GB, free: 1.34 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.004347, allocations: 63.81 kB / 0.5264 GB, free: 1.277 MB / 442.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.004499, allocations: 55.81 kB / 0.5265 GB, free: 1.223 MB / 442.8 MB Notification: Performance of NFPackage.collectConstants: time 2.097e-05/0.00452, allocations: 4 kB / 0.5265 GB, free: 1.219 MB / 442.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.004623, allocations: 71.94 kB / 0.5266 GB, free: 1.148 MB / 442.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001122/0.004735, allocations: 59.81 kB / 0.5266 GB, free: 1.09 MB / 442.8 MB Notification: Performance of NFVerifyModel.verify: time 5.486e-05/0.00479, allocations: 27.92 kB / 0.5266 GB, free: 1.062 MB / 442.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.005022, allocations: 163.4 kB / 0.5268 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.853e-06/0.005024, allocations: 0 / 0.5268 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of FrontEnd: time 1.603e-06/0.005025, allocations: 0 / 0.5268 GB, free: 0.9023 MB / 442.8 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.00503, allocations: 0 / 0.5268 GB, free: 0.9023 MB / 442.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.0004875/0.005517, allocations: 403 kB / 0.5272 GB, free: 484 kB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.005558, allocations: 8.031 kB / 0.5272 GB, free: 476 kB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.005606, allocations: 24.78 kB / 0.5272 GB, free: 452 kB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.005971, allocations: 248.8 kB / 0.5274 GB, free: 172 kB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.168e-05/0.005982, allocations: 384 / 0.5274 GB, free: 172 kB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.005993, allocations: 8.312 kB / 0.5275 GB, free: 164 kB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.006131, allocations: 87.94 kB / 0.5275 GB, free: 64 kB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.006147, allocations: 192 / 0.5275 GB, free: 64 kB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.006167, allocations: 384 / 0.5275 GB, free: 64 kB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.006176, allocations: 7.938 kB / 0.5275 GB, free: 56 kB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.006245, allocations: 49.69 kB / 0.5276 GB, free: 0 / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002018/0.006447, allocations: 149.2 kB / 0.5277 GB, free: 15.82 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.006532, allocations: 64.27 kB / 0.5278 GB, free: 15.75 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.006595, allocations: 62.42 kB / 0.5279 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.006609, allocations: 0 / 0.5279 GB, free: 15.68 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001712/0.00678, allocations: 131 kB / 0.528 GB, free: 15.52 MB / 458.8 MB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.006781, allocations: 0 / 0.528 GB, free: 15.52 MB / 458.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003275/0.007108, allocations: 234.7 kB / 0.5282 GB, free: 15.27 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.007169, allocations: 89.03 kB / 0.5283 GB, free: 15.16 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.007337, allocations: 229.5 kB / 0.5285 GB, free: 14.93 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.007353, allocations: 25.7 kB / 0.5285 GB, free: 14.9 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.644e-05/0.007419, allocations: 120.1 kB / 0.5287 GB, free: 14.78 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.007455, allocations: 23.8 kB / 0.5287 GB, free: 14.76 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.742e-05/0.007492, allocations: 21.7 kB / 0.5287 GB, free: 14.73 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.007604, allocations: 330.8 kB / 0.529 GB, free: 14.4 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.007649, allocations: 53.69 kB / 0.5291 GB, free: 14.34 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.342e-05/0.007683, allocations: 53.62 kB / 0.5291 GB, free: 14.28 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.672e-05/0.00777, allocations: 112.2 kB / 0.5292 GB, free: 14.16 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.007773, allocations: 0 / 0.5292 GB, free: 14.16 MB / 458.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001527/0.007925, allocations: 188.8 kB / 0.5294 GB, free: 13.95 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.007958, allocations: 37.69 kB / 0.5294 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.007963, allocations: 240 / 0.5294 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007976, allocations: 0 / 0.5294 GB, free: 13.91 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.00804, allocations: 7.938 kB / 0.5294 GB, free: 13.9 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.008046, allocations: 3.984 kB / 0.5294 GB, free: 13.9 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.261e-05/0.008089, allocations: 4 kB / 0.5294 GB, free: 13.89 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.069e-05/0.008109, allocations: 11.98 kB / 0.5295 GB, free: 13.88 MB / 458.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 0.0001063/0.008216, allocations: 179.5 kB / 0.5296 GB, free: 13.69 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.594e-05/0.008232, allocations: 19.86 kB / 0.5297 GB, free: 13.67 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.00826, allocations: 17.47 kB / 0.5297 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.008262, allocations: 3.984 kB / 0.5297 GB, free: 13.66 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.008268, allocations: 7.938 kB / 0.5297 GB, free: 13.65 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.008272, allocations: 0 / 0.5297 GB, free: 13.65 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.008388, allocations: 157.2 kB / 0.5298 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.008389, allocations: 3.938 kB / 0.5298 GB, free: 13.46 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.424e-05/0.008404, allocations: 8 kB / 0.5298 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.008405, allocations: 0 / 0.5298 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.988e-06/0.008415, allocations: 4 kB / 0.5298 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.008416, allocations: 4 kB / 0.5298 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.008417, allocations: 0 / 0.5298 GB, free: 13.45 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.008601, allocations: 232.4 kB / 0.5301 GB, free: 13.19 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.869e-05/0.00864, allocations: 35.72 kB / 0.5301 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.008658, allocations: 4 kB / 0.5301 GB, free: 13.15 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.587e-05/0.008684, allocations: 4 kB / 0.5301 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.318e-05/0.008717, allocations: 7.922 kB / 0.5301 GB, free: 13.14 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.008727, allocations: 12 kB / 0.5301 GB, free: 13.12 MB / 458.8 MB Notification: Performance of sorting global known variables: time 9.928e-05/0.008826, allocations: 172.5 kB / 0.5303 GB, free: 12.96 MB / 458.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008827, allocations: 0 / 0.5303 GB, free: 12.96 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0001573/0.008984, allocations: 31.98 kB / 0.5303 GB, free: 12.93 MB / 458.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.0001652/0.009149, allocations: 135.1 kB / 0.5305 GB, free: 12.79 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.0001911/0.00934, allocations: 178.8 kB / 0.5306 GB, free: 12.59 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.009342, allocations: 0 / 0.5306 GB, free: 12.59 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 6.477e-05/0.009407, allocations: 113.1 kB / 0.5307 GB, free: 12.46 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.009584, allocations: 21.34 kB / 0.5308 GB, free: 12.43 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004612/0.01005, allocations: 354 kB / 0.5311 GB, free: 12.05 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.022e-05/0.01014, allocations: 118.7 kB / 0.5312 GB, free: 11.91 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.089e-05/0.01016, allocations: 12.5 kB / 0.5312 GB, free: 11.9 MB / 458.8 MB Notification: Performance of SimCode: time 5.61e-07/0.01016, allocations: 4 kB / 0.5312 GB, free: 11.89 MB / 458.8 MB Notification: Performance of Templates: time 0.00313/0.01329, allocations: 2.119 MB / 0.5333 GB, free: 9.77 MB / 458.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=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: 5.548192455433309]