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.00127/0.00127, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001175/0.001175, allocations: 164.8 kB / 24.99 MB, free: 8.75 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.9578/0.9578, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.6348/0.6348, allocations: 88.07 MB / 349.9 MB, free: 14.29 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_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 3.036e-06/3.036e-06, allocations: 2.906 kB / 451.5 MB, free: 33.43 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.642e-05/1.946e-05, allocations: 6.312 kB / 451.5 MB, free: 33.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.001543/0.001562, allocations: 1.437 MB / 453 MB, free: 32.46 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0006891/0.002251, allocations: 0.5724 MB / 453.6 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.00232, allocations: 3.938 kB / 453.6 MB, free: 32.09 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.002497, allocations: 27.12 kB / 453.6 MB, free: 32.08 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.002774, allocations: 72.03 kB / 453.7 MB, free: 32.05 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.002993, allocations: 76.67 kB / 453.7 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.00312, allocations: 84.55 kB / 453.8 MB, free: 32 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.424e-05/0.003164, allocations: 6.875 kB / 453.8 MB, free: 31.99 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001674/0.003332, allocations: 63.14 kB / 453.9 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.003458, allocations: 53.81 kB / 453.9 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003479, allocations: 5.594 kB / 453.9 MB, free: 31.95 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.00358, allocations: 70.34 kB / 454 MB, free: 31.94 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001075/0.003688, allocations: 68.38 kB / 454.1 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.003732, allocations: 23.91 kB / 454.1 MB, free: 31.9 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.003926, allocations: 145.8 kB / 454.2 MB, free: 31.85 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.003928, allocations: 0 / 454.2 MB, free: 31.85 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.92e-07/0.003929, allocations: 0 / 454.2 MB, free: 31.85 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.003933, allocations: 0 / 454.2 MB, free: 31.85 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.0004105/0.004343, allocations: 0.5049 MB / 454.7 MB, free: 31.37 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.004378, allocations: 8 kB / 454.8 MB, free: 31.37 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.312e-05/0.004431, allocations: 21.5 kB / 454.8 MB, free: 31.36 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.004727, allocations: 239.4 kB / 455 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004738, allocations: 3.125 kB / 455 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.116e-05/0.004749, allocations: 4.375 kB / 455 MB, free: 31.16 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.004857, allocations: 78.95 kB / 455.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.004864, allocations: 3.062 kB / 455.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.004874, allocations: 384 / 455.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.004883, allocations: 3.938 kB / 455.1 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.432e-05/0.004927, allocations: 47.3 kB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001498/0.005077, allocations: 173.5 kB / 455.3 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.281e-05/0.00513, allocations: 70.92 kB / 455.4 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.488e-05/0.005175, allocations: 55.2 kB / 455.4 MB, free: 30.77 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.901e-06/0.005181, allocations: 0 / 455.4 MB, free: 30.77 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001078/0.005289, allocations: 137.1 kB / 455.6 MB, free: 30.64 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.00529, allocations: 0 / 455.6 MB, free: 30.64 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002599/0.005549, allocations: 232 kB / 455.8 MB, free: 30.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.005578, allocations: 83.89 kB / 455.9 MB, free: 30.38 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.005723, allocations: 273.5 kB / 456.1 MB, free: 30.18 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.005732, allocations: 25.7 kB / 456.2 MB, free: 30.15 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.005784, allocations: 169.8 kB / 456.3 MB, free: 30 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.365e-05/0.005817, allocations: 18.67 kB / 456.4 MB, free: 29.98 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.005856, allocations: 34.08 kB / 456.4 MB, free: 29.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.005911, allocations: 0.5041 MB / 456.9 MB, free: 29.45 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.34e-05/0.005944, allocations: 43.39 kB / 456.9 MB, free: 29.42 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.818e-05/0.005973, allocations: 55.27 kB / 457 MB, free: 29.38 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.123e-05/0.006044, allocations: 104.8 kB / 457.1 MB, free: 29.29 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.006046, allocations: 0 / 457.1 MB, free: 29.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001456/0.006191, allocations: 180.3 kB / 457.3 MB, free: 29.17 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.006215, allocations: 33.61 kB / 457.3 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.006219, allocations: 0 / 457.3 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.006233, allocations: 5.938 kB / 457.3 MB, free: 29.14 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.006289, allocations: 6.594 kB / 457.3 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.46e-06/0.006295, allocations: 7.875 kB / 457.3 MB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.279e-05/0.006338, allocations: 2.969 kB / 457.3 MB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.006354, allocations: 8.281 kB / 457.3 MB, free: 29.12 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.345e-05/0.006418, allocations: 197.6 kB / 457.5 MB, free: 28.93 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.006442, allocations: 25.36 kB / 457.5 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.677e-05/0.006469, allocations: 18.08 kB / 457.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.006471, allocations: 0 / 457.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.006475, allocations: 3.938 kB / 457.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.006478, allocations: 0 / 457.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.362e-05/0.006572, allocations: 176 kB / 457.7 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.006573, allocations: 0 / 457.7 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.367e-05/0.006586, allocations: 2.812 kB / 457.7 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.006588, allocations: 2.75 kB / 457.7 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.006599, allocations: 10.03 kB / 457.8 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.0066, allocations: 0 / 457.8 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.006601, allocations: 0 / 457.8 MB, free: 28.74 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.006784, allocations: 246.3 kB / 458 MB, free: 28.56 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.853e-05/0.006822, allocations: 27.69 kB / 458 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.52e-05/0.006847, allocations: 2.875 kB / 458 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.029e-05/0.006878, allocations: 2.781 kB / 458 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.006909, allocations: 14.11 kB / 458 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/0.006921, allocations: 8.125 kB / 458.1 MB, free: 28.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.567e-05/0.006996, allocations: 187.8 kB / 458.2 MB, free: 28.4 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.006996, allocations: 4 kB / 458.2 MB, free: 28.39 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0002138/0.00721, allocations: 30.03 kB / 458.3 MB, free: 28.39 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.0001274/0.007338, allocations: 124.5 kB / 458.4 MB, free: 28.3 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001554/0.007493, allocations: 184.2 kB / 458.6 MB, free: 28.15 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.382e-06/0.007494, allocations: 0 / 458.6 MB, free: 28.15 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.586e-05/0.00755, allocations: 119.6 kB / 458.7 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.007742, allocations: 27.69 kB / 458.7 MB, free: 28.02 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.008082, allocations: 300.5 kB / 459 MB, free: 27.8 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.736e-05/0.00812, allocations: 79.27 kB / 459.1 MB, free: 27.72 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.809e-05/0.008168, allocations: 20.61 kB / 459.1 MB, free: 27.71 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.008187, allocations: 16.78 kB / 459.1 MB, free: 27.71 MB / 410.8 MB Notification: Performance of SimCode: time 5.01e-07/0.008188, allocations: 0 / 459.1 MB, free: 27.71 MB / 410.8 MB Notification: Performance of Templates: time 0.00351/0.0117, allocations: 1.432 MB / 460.6 MB, free: 27.47 MB / 410.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 -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.8213732661679387]