Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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.0008265/0.0008265, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001079/0.001906, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007404/0.0007404, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000971/0.001711, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.051/1.051, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09586/1.147, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-master/package.mo): time 0.7601/0.7601, allocations: 88.09 MB / 332.1 MB, free: 14.16 MB / 330.8 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07579/0.8359, allocations: 32.92 MB / 365 MB, free: 13.45 MB / 362.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.4.0-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.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 366.2 MB, free: 12.27 MB / 362.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.247e-05/2.463e-05, allocations: 2.969 kB / 366.2 MB, free: 12.27 MB / 362.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.00322/0.003245, allocations: 1.51 MB / 367.7 MB, free: 10.75 MB / 362.8 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.004267, allocations: 0.5762 MB / 368.3 MB, free: 10.17 MB / 362.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.65e-05/0.004333, allocations: 3.938 kB / 368.3 MB, free: 10.16 MB / 362.8 MB Notification: Performance of NFTyping.typeComponents: time 0.004633/0.008966, allocations: 6.849 MB / 375.1 MB, free: 3.301 MB / 362.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004745/0.01371, allocations: 6.892 MB / 382 MB, free: 12.39 MB / 378.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.01411, allocations: 71.72 kB / 382.1 MB, free: 12.32 MB / 378.8 MB Notification: Performance of NFFlatten.flatten: time 0.01362/0.02773, allocations: 16.3 MB / 398.4 MB, free: 12.01 MB / 394.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.209e-05/0.02779, allocations: 4 kB / 398.4 MB, free: 12 MB / 394.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.4414/0.4692, allocations: 58.73 MB / 457.1 MB, free: 36.69 MB / 426.9 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0055/0.4747, allocations: 8.567 MB / 465.7 MB, free: 33.5 MB / 426.9 MB Notification: Performance of NFPackage.collectConstants: time 0.0007464/0.4755, allocations: 0 / 465.7 MB, free: 33.5 MB / 426.9 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009951/0.4765, allocations: 82.97 kB / 465.8 MB, free: 33.48 MB / 426.9 MB Notification: Performance of NFScalarize.scalarize: time 0.01623/0.4927, allocations: 34.01 MB / 499.8 MB, free: 7.723 MB / 426.9 MB Notification: Performance of NFVerifyModel.verify: time 0.005669/0.4984, allocations: 6.844 MB / 0.4947 GB, free: 0.8242 MB / 426.9 MB Notification: Performance of NFConvertDAE.convert: time 0.0264/0.5248, allocations: 39.13 MB / 0.533 GB, free: 9.492 MB / 474.9 MB Notification: Performance of FrontEnd - DAE generated: time 1.922e-05/0.5248, allocations: 4.594 kB / 0.533 GB, free: 9.488 MB / 474.9 MB Notification: Performance of FrontEnd: time 2.384e-06/0.5248, allocations: 0 / 0.533 GB, free: 9.488 MB / 474.9 MB Notification: Performance of Transformations before backend: time 0.002234/0.527, allocations: 0 / 0.533 GB, free: 9.488 MB / 474.9 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.08228/0.6093, allocations: 87.43 MB / 0.6183 GB, free: 1.324 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.6094, allocations: 8.75 kB / 0.6183 GB, free: 1.316 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00834/0.6177, allocations: 4.401 MB / 0.6226 GB, free: 12.91 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5187/1.136, allocations: 61.52 MB / 0.6827 GB, free: 136.9 MB / 0.5734 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/1.136, allocations: 4.094 kB / 0.6827 GB, free: 136.9 MB / 0.5734 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004444/1.137, allocations: 384 / 0.6827 GB, free: 136.9 MB / 0.5734 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/1.139, allocations: 2.395 MB / 0.6851 GB, free: 135 MB / 0.5734 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/1.139, allocations: 192 / 0.6851 GB, free: 135 MB / 0.5734 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/1.139, allocations: 2.844 kB / 0.6851 GB, free: 135 MB / 0.5734 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/1.139, allocations: 0 / 0.6851 GB, free: 135 MB / 0.5734 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/1.141, allocations: 1.272 MB / 0.6863 GB, free: 134.2 MB / 0.5734 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008704/1.149, allocations: 64.23 kB / 0.6864 GB, free: 134.1 MB / 0.5734 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/1.151, allocations: 0.6704 MB / 0.687 GB, free: 133.7 MB / 0.5734 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001176/1.152, allocations: 0.6545 MB / 0.6877 GB, free: 133.3 MB / 0.5734 GB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/1.152, allocations: 1.312 kB / 0.6877 GB, free: 133.3 MB / 0.5734 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001765/1.154, allocations: 2.444 MB / 0.6901 GB, free: 131.3 MB / 0.5734 GB Notification: Performance of pre-optimization done (n=8): time 3.997e-06/1.154, allocations: 0 / 0.6901 GB, free: 131.3 MB / 0.5734 GB Notification: Performance of matching and sorting (n=8): time 0.01363/1.167, allocations: 6.398 MB / 0.6963 GB, free: 128.6 MB / 0.5734 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/1.167, allocations: 88.81 kB / 0.6964 GB, free: 128.5 MB / 0.5734 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.09283/1.26, allocations: 68.6 MB / 0.7634 GB, free: 76.08 MB / 0.5734 GB Notification: Performance of collectPreVariables (initialization): time 0.0006759/1.261, allocations: 29.7 kB / 0.7634 GB, free: 76.05 MB / 0.5734 GB Notification: Performance of collectInitialEqns (initialization): time 0.01708/1.278, allocations: 13.6 MB / 0.7767 GB, free: 62.41 MB / 0.5734 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007405/1.279, allocations: 16.52 kB / 0.7767 GB, free: 62.39 MB / 0.5734 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001252/1.28, allocations: 1.249 MB / 0.7779 GB, free: 61.14 MB / 0.5734 GB Notification: Performance of setup shared object (initialization): time 3.377e-05/1.28, allocations: 306 kB / 0.7782 GB, free: 60.83 MB / 0.5734 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008136/1.281, allocations: 0.6583 MB / 0.7789 GB, free: 60.17 MB / 0.5734 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008151/1.282, allocations: 0.6583 MB / 0.7795 GB, free: 59.51 MB / 0.5734 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001547/1.283, allocations: 1.318 MB / 0.7808 GB, free: 58.18 MB / 0.5734 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.283, allocations: 0 / 0.7808 GB, free: 58.18 MB / 0.5734 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.01114/1.294, allocations: 5.743 MB / 0.7864 GB, free: 52.41 MB / 0.5734 GB Notification: Performance of prepare postOptimizeDAE: time 5.76e-05/1.294, allocations: 37.69 kB / 0.7864 GB, free: 52.37 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/1.294, allocations: 6.406 kB / 0.7864 GB, free: 52.36 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/1.294, allocations: 3.938 kB / 0.7864 GB, free: 52.36 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/1.295, allocations: 4 kB / 0.7864 GB, free: 52.36 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/1.295, allocations: 0 / 0.7864 GB, free: 52.36 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/1.305, allocations: 7.984 kB / 0.7864 GB, free: 52.35 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004291/1.309, allocations: 5.249 MB / 0.7916 GB, free: 47.1 MB / 0.5734 GB 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.01262/1.322, allocations: 152.5 kB / 0.7917 GB, free: 46.93 MB / 0.5734 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01006/1.332, allocations: 4.407 MB / 0.796 GB, free: 42.52 MB / 0.5734 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0188/1.35, allocations: 7.291 MB / 0.8031 GB, free: 35.22 MB / 0.5734 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.567e-06/1.35, allocations: 3.938 kB / 0.8031 GB, free: 35.22 MB / 0.5734 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/1.35, allocations: 0 / 0.8031 GB, free: 35.22 MB / 0.5734 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.35, allocations: 3.281 kB / 0.8032 GB, free: 35.22 MB / 0.5734 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04024/1.391, allocations: 16.29 MB / 0.8191 GB, free: 18.89 MB / 0.5734 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.232e-06/1.391, allocations: 0 / 0.8191 GB, free: 18.89 MB / 0.5734 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.069e-05/1.391, allocations: 4 kB / 0.8191 GB, free: 18.88 MB / 0.5734 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0136/1.404, allocations: 8.073 MB / 0.8269 GB, free: 10.75 MB / 0.5734 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.74e-06/1.404, allocations: 0 / 0.8269 GB, free: 10.75 MB / 0.5734 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007066/1.405, allocations: 0.6149 MB / 0.8275 GB, free: 10.13 MB / 0.5734 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/1.405, allocations: 0 / 0.8275 GB, free: 10.13 MB / 0.5734 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/1.405, allocations: 3.938 kB / 0.8275 GB, free: 10.13 MB / 0.5734 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01143/1.416, allocations: 6.361 MB / 0.8338 GB, free: 3.73 MB / 0.5734 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006806/1.423, allocations: 4 kB / 0.8338 GB, free: 3.727 MB / 0.5734 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008108/1.431, allocations: 8 kB / 0.8338 GB, free: 3.719 MB / 0.5734 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.896e-05/1.431, allocations: 9.203 kB / 0.8338 GB, free: 3.715 MB / 0.5734 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004808/1.436, allocations: 5.259 MB / 0.8389 GB, free: 14.46 MB / 0.589 GB Notification: Performance of sorting global known variables: time 0.05885/1.495, allocations: 38.19 MB / 0.8762 GB, free: 8.922 MB / 0.6203 GB Notification: Performance of sort global known variables: time 4.01e-07/1.495, allocations: 0 / 0.8762 GB, free: 8.922 MB / 0.6203 GB Notification: Performance of remove unused functions: time 0.01124/1.506, allocations: 1.984 MB / 0.8781 GB, free: 6.934 MB / 0.6203 GB 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.001813/1.508, allocations: 111.8 kB / 0.8783 GB, free: 6.816 MB / 0.6203 GB Notification: Performance of simCode: created initialization part: time 0.00475/1.513, allocations: 1.387 MB / 0.8796 GB, free: 5.398 MB / 0.6203 GB Notification: Performance of simCode: created event and clocks part: time 0.001294/1.514, allocations: 0.9805 MB / 0.8806 GB, free: 4.418 MB / 0.6203 GB Notification: Performance of simCode: created simulation system equations: time 0.002015/1.516, allocations: 0.7263 MB / 0.8813 GB, free: 3.672 MB / 0.6203 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2613/1.778, allocations: 9.435 MB / 0.8905 GB, free: 196.7 MB / 0.6203 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1915/1.969, allocations: 124.1 MB / 1.012 GB, free: 111.5 MB / 0.6203 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02298/1.992, allocations: 15.23 MB / 1.027 GB, free: 96.21 MB / 0.6203 GB Notification: Performance of simCode: alias equations: time 0.02647/2.019, allocations: 12.1 MB / 1.038 GB, free: 84.61 MB / 0.6203 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02998/2.048, allocations: 13.73 MB / 1.052 GB, free: 70.87 MB / 0.6203 GB Notification: Performance of SimCode: time 2.484e-06/2.048, allocations: 0 / 1.052 GB, free: 70.87 MB / 0.6203 GB Notification: Performance of Templates: time 0.7969/2.845, allocations: 237.8 MB / 1.284 GB, free: 33.03 MB / 0.6203 GB " [Timeout remaining time 297] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_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: 10.636787589639425]