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.0009823/0.0009823, allocations: 83.59 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.0009238/0.0009238, allocations: 165 kB / 24.56 MB, free: 12 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.9112/0.9112, allocations: 177.1 MB / 205 MB, free: 5.617 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.5992/0.5992, allocations: 88.08 MB / 349.6 MB, free: 14.24 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 2.084e-06/2.084e-06, allocations: 0 / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.953e-05/3.161e-05, allocations: 5.156 kB / 451.6 MB, free: 33.31 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.00184/0.001872, allocations: 1.442 MB / 453 MB, free: 32.34 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007821/0.002654, allocations: 0.5745 MB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.002711, allocations: 2.594 kB / 453.6 MB, free: 31.98 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000182/0.002893, allocations: 15.66 kB / 453.6 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002776/0.00317, allocations: 82.03 kB / 453.7 MB, free: 31.94 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000222/0.003392, allocations: 74.75 kB / 453.7 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.003508, allocations: 92.78 kB / 453.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.477e-05/0.003543, allocations: 7.172 kB / 453.8 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003238/0.003867, allocations: 163.9 kB / 454 MB, free: 31.84 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.085e-05/0.003928, allocations: 36.61 kB / 454 MB, free: 31.83 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.003946, allocations: 2.875 kB / 454 MB, free: 31.83 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.19e-05/0.004038, allocations: 68.27 kB / 454.1 MB, free: 31.81 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.383e-05/0.004112, allocations: 64.64 kB / 454.2 MB, free: 31.79 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.116e-05/0.004153, allocations: 22.75 kB / 454.2 MB, free: 31.78 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004328, allocations: 141.3 kB / 454.3 MB, free: 31.73 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.004332, allocations: 4 kB / 454.3 MB, free: 31.73 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.71e-07/0.004332, allocations: 2.469 kB / 454.3 MB, free: 31.73 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.004338, allocations: 0 / 454.3 MB, free: 31.73 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.0003836/0.004721, allocations: 0.501 MB / 454.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.004758, allocations: 8.312 kB / 454.8 MB, free: 31.25 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.004809, allocations: 23.17 kB / 454.9 MB, free: 31.23 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.004994, allocations: 203.5 kB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.005003, allocations: 3.25 kB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.005014, allocations: 7.25 kB / 455.1 MB, free: 31.05 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.005114, allocations: 76.66 kB / 455.2 MB, free: 30.98 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.00512, allocations: 192 / 455.2 MB, free: 30.98 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.005131, allocations: 3.344 kB / 455.2 MB, free: 30.98 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.685e-06/0.005139, allocations: 3.938 kB / 455.2 MB, free: 30.98 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.857e-05/0.005177, allocations: 46.73 kB / 455.2 MB, free: 30.95 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001449/0.005322, allocations: 164.4 kB / 455.4 MB, free: 30.79 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 5.145e-05/0.005374, allocations: 71.55 kB / 455.4 MB, free: 30.71 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.772e-05/0.005412, allocations: 52.34 kB / 455.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/0.005418, allocations: 0 / 455.5 MB, free: 30.67 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.005524, allocations: 137.4 kB / 455.6 MB, free: 30.54 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.005525, allocations: 3.984 kB / 455.6 MB, free: 30.54 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0002372/0.005762, allocations: 227.9 kB / 455.8 MB, free: 30.38 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.005791, allocations: 91.98 kB / 455.9 MB, free: 30.28 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.005909, allocations: 270.7 kB / 456.2 MB, free: 30.08 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.005916, allocations: 25.7 kB / 456.2 MB, free: 30.05 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.005959, allocations: 173.6 kB / 456.4 MB, free: 29.89 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.854e-05/0.005988, allocations: 22.08 kB / 456.4 MB, free: 29.88 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.006019, allocations: 26.52 kB / 456.4 MB, free: 29.85 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.317e-05/0.006072, allocations: 0.5077 MB / 457 MB, free: 29.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.189e-05/0.006104, allocations: 46.2 kB / 457 MB, free: 29.31 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.319e-05/0.006127, allocations: 44.55 kB / 457 MB, free: 29.27 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.302e-05/0.00619, allocations: 104 kB / 457.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.006193, allocations: 3.328 kB / 457.1 MB, free: 29.19 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001225/0.006316, allocations: 176.7 kB / 457.3 MB, free: 29.07 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.006344, allocations: 41.39 kB / 457.4 MB, free: 29.04 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.006349, allocations: 0 / 457.4 MB, free: 29.04 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.006362, allocations: 4 kB / 457.4 MB, free: 29.03 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.006427, allocations: 12.47 kB / 457.4 MB, free: 29.03 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.006433, allocations: 4 kB / 457.4 MB, free: 29.02 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.605e-05/0.006469, allocations: 14.64 kB / 457.4 MB, free: 29.01 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/0.006486, allocations: 8.781 kB / 457.4 MB, free: 29.01 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.431e-05/0.00655, allocations: 195.1 kB / 457.6 MB, free: 28.82 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.006568, allocations: 19.41 kB / 457.6 MB, free: 28.81 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.611e-05/0.006594, allocations: 18.55 kB / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.006596, allocations: 0 / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.006601, allocations: 6.875 kB / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.006605, allocations: 0 / 457.6 MB, free: 28.8 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.515e-05/0.0067, allocations: 170.5 kB / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.006702, allocations: 4 kB / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.844e-05/0.00672, allocations: 2.844 kB / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.006721, allocations: 0 / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.006733, allocations: 9.125 kB / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.006734, allocations: 0 / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.006735, allocations: 0 / 457.8 MB, free: 28.64 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.00691, allocations: 254.5 kB / 458.1 MB, free: 28.45 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.303e-05/0.006943, allocations: 24.02 kB / 458.1 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.006964, allocations: 3 kB / 458.1 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.746e-05/0.006991, allocations: 2.875 kB / 458.1 MB, free: 28.44 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.007026, allocations: 13.97 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.007037, allocations: 12.59 kB / 458.1 MB, free: 28.43 MB / 410.8 MB Notification: Performance of sorting global known variables: time 6.902e-05/0.007106, allocations: 188 kB / 458.3 MB, free: 28.29 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.007107, allocations: 0 / 458.3 MB, free: 28.29 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001506/0.007257, allocations: 36.62 kB / 458.3 MB, free: 28.29 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.0001372/0.007394, allocations: 122.6 kB / 458.5 MB, free: 28.19 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.007539, allocations: 181.6 kB / 458.6 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.007541, allocations: 3.938 kB / 458.6 MB, free: 28.04 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.513e-05/0.007586, allocations: 124.5 kB / 458.8 MB, free: 27.93 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001726/0.007759, allocations: 20.62 kB / 458.8 MB, free: 27.91 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003414/0.0081, allocations: 302.5 kB / 459.1 MB, free: 27.69 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.452e-05/0.008134, allocations: 76.16 kB / 459.2 MB, free: 27.62 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.008184, allocations: 21.44 kB / 459.2 MB, free: 27.61 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.008204, allocations: 14.41 kB / 459.2 MB, free: 27.6 MB / 410.8 MB Notification: Performance of SimCode: time 7.31e-07/0.008205, allocations: 0 / 459.2 MB, free: 27.6 MB / 410.8 MB Notification: Performance of Templates: time 0.003711/0.01192, allocations: 1.539 MB / 460.7 MB, free: 27.35 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.656329859048128]