Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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.001156/0.001156, allocations: 84.22 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.0009836/0.0009836, 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 1.046/1.046, allocations: 177.1 MB / 205 MB, free: 5.27 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.7375/0.7375, allocations: 88.08 MB / 349.6 MB, free: 14.21 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_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") translateModel(ScalableTestSuite.Elementary.Tables.Models.TimeTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.394e-06/2.394e-06, allocations: 0 / 451.5 MB, free: 33.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.456e-05/3.695e-05, allocations: 5.406 kB / 451.6 MB, free: 33.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.Models.TimeTable): time 0.002101/0.002138, allocations: 1.449 MB / 453 MB, free: 32.43 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008831/0.003021, allocations: 0.5765 MB / 453.6 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.186e-05/0.003083, allocations: 0 / 453.6 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001912/0.003274, allocations: 22.12 kB / 453.6 MB, free: 32.06 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003024/0.003577, allocations: 75.56 kB / 453.7 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002348/0.003811, allocations: 82.09 kB / 453.8 MB, free: 32 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001348/0.003946, allocations: 87.47 kB / 453.8 MB, free: 31.97 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.003985, allocations: 3.938 kB / 453.8 MB, free: 31.96 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003501/0.004335, allocations: 167.6 kB / 454 MB, free: 31.93 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.448e-05/0.0044, allocations: 31.81 kB / 454 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 1.804e-05/0.004418, allocations: 2.812 kB / 454 MB, free: 31.92 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-05/0.004512, allocations: 69.12 kB / 454.1 MB, free: 31.91 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 8.69e-05/0.004599, allocations: 68.59 kB / 454.2 MB, free: 31.88 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.004648, allocations: 23.72 kB / 454.2 MB, free: 31.87 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.004848, allocations: 138.8 kB / 454.3 MB, free: 31.82 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.004851, allocations: 0 / 454.3 MB, free: 31.82 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.004852, allocations: 2.812 kB / 454.3 MB, free: 31.82 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.004858, allocations: 0 / 454.3 MB, free: 31.82 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.0004445/0.005303, allocations: 0.5033 MB / 454.8 MB, free: 31.34 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.005345, allocations: 8.406 kB / 454.8 MB, free: 31.34 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.005401, allocations: 23.52 kB / 454.9 MB, free: 31.32 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.005599, allocations: 200.3 kB / 455.1 MB, free: 31.15 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.00561, allocations: 6.969 kB / 455.1 MB, free: 31.14 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.005622, allocations: 7.125 kB / 455.1 MB, free: 31.14 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.005741, allocations: 80 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.005754, allocations: 192 / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.005767, allocations: 3.312 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-06/0.005777, allocations: 7.312 kB / 455.2 MB, free: 31.07 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.422e-05/0.005821, allocations: 43.38 kB / 455.2 MB, free: 31.04 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001658/0.005987, allocations: 164.3 kB / 455.4 MB, free: 30.88 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.664e-05/0.006053, allocations: 66.64 kB / 455.4 MB, free: 30.8 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.828e-05/0.006102, allocations: 58.2 kB / 455.5 MB, free: 30.75 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.006109, allocations: 0 / 455.5 MB, free: 30.75 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.006243, allocations: 136.7 kB / 455.6 MB, free: 30.63 MB / 410.8 MB Notification: Performance of pre-optimization done (n=8): time 1.262e-06/0.006244, allocations: 0 / 455.6 MB, free: 30.63 MB / 410.8 MB Notification: Performance of matching and sorting (n=8): time 0.0003041/0.006548, allocations: 220.3 kB / 455.8 MB, free: 30.48 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.006587, allocations: 88.08 kB / 455.9 MB, free: 30.38 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.006742, allocations: 269.7 kB / 456.2 MB, free: 30.18 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.006753, allocations: 29.7 kB / 456.2 MB, free: 30.15 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.497e-05/0.006808, allocations: 173.9 kB / 456.4 MB, free: 29.99 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.778e-05/0.006846, allocations: 21.92 kB / 456.4 MB, free: 29.97 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.006882, allocations: 36.09 kB / 456.4 MB, free: 29.94 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.006962, allocations: 0.5027 MB / 457 MB, free: 29.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.869e-05/0.007, allocations: 44.7 kB / 457 MB, free: 29.4 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.007027, allocations: 47.52 kB / 457 MB, free: 29.37 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.884e-05/0.007096, allocations: 99.73 kB / 457.1 MB, free: 29.29 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.007098, allocations: 0 / 457.1 MB, free: 29.29 MB / 410.8 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000145/0.007243, allocations: 186.9 kB / 457.3 MB, free: 29.16 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.004e-05/0.007273, allocations: 35.45 kB / 457.4 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.00728, allocations: 7.016 kB / 457.4 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.007295, allocations: 0 / 457.4 MB, free: 29.13 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.741e-05/0.007373, allocations: 10.92 kB / 457.4 MB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.007379, allocations: 0 / 457.4 MB, free: 29.12 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/0.007423, allocations: 17.23 kB / 457.4 MB, free: 29.11 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.007443, allocations: 8.281 kB / 457.4 MB, free: 29.11 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 7.899e-05/0.007522, allocations: 197.6 kB / 457.6 MB, free: 28.91 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.121e-05/0.007543, allocations: 21.31 kB / 457.6 MB, free: 28.9 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.007572, allocations: 19.58 kB / 457.6 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.007577, allocations: 2.938 kB / 457.6 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.007581, allocations: 7.875 kB / 457.6 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.007585, allocations: 0 / 457.6 MB, free: 28.89 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.007686, allocations: 173.4 kB / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.007689, allocations: 2.875 kB / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.443e-05/0.007713, allocations: 6.188 kB / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.007717, allocations: 0 / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.007728, allocations: 3.062 kB / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.00773, allocations: 0 / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.007731, allocations: 0 / 457.8 MB, free: 28.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.00792, allocations: 247.4 kB / 458.1 MB, free: 28.54 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.00796, allocations: 23.94 kB / 458.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.007983, allocations: 2.812 kB / 458.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.235e-05/0.008015, allocations: 6.422 kB / 458.1 MB, free: 28.53 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.008057, allocations: 14.84 kB / 458.1 MB, free: 28.52 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.008071, allocations: 9 kB / 458.1 MB, free: 28.52 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.227e-05/0.008144, allocations: 188.8 kB / 458.3 MB, free: 28.38 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.008144, allocations: 3.938 kB / 458.3 MB, free: 28.38 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001583/0.008302, allocations: 37.03 kB / 458.3 MB, free: 28.38 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.0001789/0.008481, allocations: 125.4 kB / 458.5 MB, free: 28.28 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.008659, allocations: 176.8 kB / 458.6 MB, free: 28.13 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.008661, allocations: 0 / 458.6 MB, free: 28.13 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.337e-05/0.008715, allocations: 123.8 kB / 458.8 MB, free: 28.02 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001861/0.008901, allocations: 26.11 kB / 458.8 MB, free: 28.01 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004053/0.009306, allocations: 300.3 kB / 459.1 MB, free: 27.78 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.631e-05/0.009352, allocations: 80.02 kB / 459.2 MB, free: 27.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 4.886e-05/0.009401, allocations: 20.61 kB / 459.2 MB, free: 27.7 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.469e-05/0.009426, allocations: 14.09 kB / 459.2 MB, free: 27.69 MB / 410.8 MB Notification: Performance of SimCode: time 9.82e-07/0.009427, allocations: 4 kB / 459.2 MB, free: 27.69 MB / 410.8 MB Notification: Performance of Templates: time 0.004621/0.01405, allocations: 1.537 MB / 460.7 MB, free: 27.44 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.makefile [Timeout 300] (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.Models.TimeTable.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_noopt_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.840146065223962]