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.001/0.001, allocations: 78.66 kB / 21.42 MB, free: 3.07 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.001772/0.001772, allocations: 174.5 kB / 24.82 MB, free: 9.27 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.9296/0.9296, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.5928/0.5928, allocations: 88.08 MB / 349.9 MB, free: 14.15 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 1.664e-06/1.664e-06, allocations: 0 / 452 MB, free: 33.15 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.429e-05, allocations: 5.828 kB / 452 MB, free: 33.15 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002229/0.002253, allocations: 1.44 MB / 453.4 MB, free: 32.18 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008025/0.003056, allocations: 0.5654 MB / 454 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.00312, allocations: 3.938 kB / 454 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001755/0.003296, allocations: 20.31 kB / 454 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002549/0.003551, allocations: 80.12 kB / 454.1 MB, free: 31.78 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002181/0.003769, allocations: 72.97 kB / 454.2 MB, free: 31.75 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001131/0.003882, allocations: 88.36 kB / 454.3 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.431e-05/0.003916, allocations: 14.83 kB / 454.3 MB, free: 31.71 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.004235, allocations: 161.5 kB / 454.4 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.297e-05/0.004297, allocations: 30.78 kB / 454.5 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.004314, allocations: 3 kB / 454.5 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.948e-05/0.004414, allocations: 70.72 kB / 454.5 MB, free: 31.66 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.085e-05/0.004485, allocations: 70.89 kB / 454.6 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.979e-05/0.004514, allocations: 15.34 kB / 454.6 MB, free: 31.62 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.00467, allocations: 141 kB / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.703e-06/0.004671, allocations: 0 / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.12e-07/0.004672, allocations: 6.781 kB / 454.8 MB, free: 31.57 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.038e-06/0.004676, allocations: 0 / 454.8 MB, free: 31.57 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.0003481/0.005024, allocations: 0.5014 MB / 455.3 MB, free: 31.09 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.005064, allocations: 11.47 kB / 455.3 MB, free: 31.09 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.07e-05/0.005104, allocations: 22.11 kB / 455.3 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.005284, allocations: 199.2 kB / 455.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.005294, allocations: 3.094 kB / 455.5 MB, free: 30.9 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-06/0.005303, allocations: 7.188 kB / 455.5 MB, free: 30.89 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.291e-05/0.005386, allocations: 76.98 kB / 455.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.005391, allocations: 192 / 455.6 MB, free: 30.83 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.005399, allocations: 9.812 kB / 455.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.381e-06/0.005405, allocations: 3.938 kB / 455.6 MB, free: 30.82 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.892e-05/0.005434, allocations: 49.89 kB / 455.7 MB, free: 30.78 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001028/0.005536, allocations: 125.7 kB / 455.8 MB, free: 30.66 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 3.965e-05/0.005576, allocations: 67.69 kB / 455.8 MB, free: 30.59 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.712e-05/0.005603, allocations: 56.36 kB / 455.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.005609, allocations: 0 / 455.9 MB, free: 30.54 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.044e-05/0.005699, allocations: 126.5 kB / 456 MB, free: 30.41 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.005701, allocations: 3.984 kB / 456 MB, free: 30.41 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0001934/0.005894, allocations: 220.8 kB / 456.2 MB, free: 30.26 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.256e-05/0.005917, allocations: 90.97 kB / 456.3 MB, free: 30.16 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.006023, allocations: 267.9 kB / 456.6 MB, free: 29.96 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.00603, allocations: 28.7 kB / 456.6 MB, free: 29.93 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.006071, allocations: 174.7 kB / 456.8 MB, free: 29.77 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.544e-05/0.006096, allocations: 19 kB / 456.8 MB, free: 29.75 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.006133, allocations: 30.42 kB / 456.8 MB, free: 29.73 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.305e-05/0.006186, allocations: 0.5049 MB / 457.3 MB, free: 29.22 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.006211, allocations: 44.23 kB / 457.4 MB, free: 29.19 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.964e-05/0.006231, allocations: 42.31 kB / 457.4 MB, free: 29.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.006279, allocations: 98.89 kB / 457.5 MB, free: 29.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.006281, allocations: 0 / 457.5 MB, free: 29.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001082/0.006389, allocations: 183.2 kB / 457.7 MB, free: 28.95 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.006416, allocations: 41.83 kB / 457.7 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.00642, allocations: 0 / 457.7 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.298e-06/0.006429, allocations: 0 / 457.7 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.063e-05/0.00648, allocations: 7.125 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.006483, allocations: 3.938 kB / 457.8 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.006516, allocations: 10.7 kB / 457.8 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.006531, allocations: 11.88 kB / 457.8 MB, free: 28.9 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.278e-05/0.006593, allocations: 200.8 kB / 458 MB, free: 28.7 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.649e-05/0.00661, allocations: 23.31 kB / 458 MB, free: 28.69 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.422e-05/0.006634, allocations: 19.19 kB / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.006636, allocations: 3.234 kB / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.006638, allocations: 0 / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.006641, allocations: 3.938 kB / 458 MB, free: 28.68 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.072e-05/0.006712, allocations: 134.9 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006714, allocations: 2.875 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.006725, allocations: 4 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.006727, allocations: 2.812 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.006734, allocations: 6.094 kB / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.006734, allocations: 0 / 458.2 MB, free: 28.55 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.006735, allocations: 4 kB / 458.2 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001392/0.006875, allocations: 242.9 kB / 458.4 MB, free: 28.37 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.099e-05/0.006906, allocations: 21.08 kB / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.006922, allocations: 5.719 kB / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.274e-05/0.006944, allocations: 0 / 458.4 MB, free: 28.36 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.006969, allocations: 10.25 kB / 458.4 MB, free: 28.35 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/0.006981, allocations: 12.53 kB / 458.5 MB, free: 28.35 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.8e-05/0.007049, allocations: 182 kB / 458.6 MB, free: 28.21 MB / 410.8 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007049, allocations: 0 / 458.6 MB, free: 28.21 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001521/0.007201, allocations: 39.28 kB / 458.7 MB, free: 28.21 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.000126/0.007327, allocations: 129.6 kB / 458.8 MB, free: 28.11 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.007451, allocations: 177.7 kB / 459 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.007452, allocations: 0 / 459 MB, free: 27.96 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.447e-05/0.007497, allocations: 122 kB / 459.1 MB, free: 27.85 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.007659, allocations: 23.67 kB / 459.1 MB, free: 27.84 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.007956, allocations: 288.9 kB / 459.4 MB, free: 27.62 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.071e-05/0.007987, allocations: 81.92 kB / 459.5 MB, free: 27.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 5.383e-05/0.008041, allocations: 21.42 kB / 459.5 MB, free: 27.54 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.605e-05/0.008117, allocations: 109.3 kB / 459.6 MB, free: 27.46 MB / 410.8 MB Notification: Performance of SimCode: time 6.72e-07/0.008117, allocations: 0 / 459.6 MB, free: 27.46 MB / 410.8 MB Notification: Performance of Templates: time 0.003138/0.01126, allocations: 1.395 MB / 461 MB, free: 27.23 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.4053377942182124]