Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000.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.001477/0.001477, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.006681/0.006681, allocations: 161.5 kB / 24.7 MB, free: 9.418 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.9023/0.9023, allocations: 177.2 MB / 205 MB, free: 5.703 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.6974/0.6974, allocations: 88.08 MB / 349.5 MB, free: 14.34 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.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") [Timeout 300] Thread is still alive. "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 0 / 0.5242 GB, free: 3.508 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.815e-05/5.104e-05, allocations: 9.516 kB / 0.5242 GB, free: 3.5 MB / 442.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000): time 0.003982/0.004033, allocations: 1.423 MB / 0.5256 GB, free: 2.066 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.001183/0.005216, allocations: 0.5569 MB / 0.5262 GB, free: 1.504 MB / 442.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.005294, allocations: 4 kB / 0.5262 GB, free: 1.5 MB / 442.8 MB Notification: Performance of NFTyping.typeComponents: time 0.006605/0.0119, allocations: 13.68 MB / 0.5395 GB, free: 3.793 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.006995/0.01889, allocations: 13.74 MB / 0.5529 GB, free: 6.023 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004787/0.01937, allocations: 75.72 kB / 0.553 GB, free: 5.953 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0209/0.04027, allocations: 34 MB / 0.5862 GB, free: 3.902 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 7.132e-05/0.04034, allocations: 0 / 0.5862 GB, free: 3.902 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03267/0.07302, allocations: 18.85 MB / 0.6046 GB, free: 1.016 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6566/0.7296, allocations: 36.15 MB / 0.6399 GB, free: 37.65 MB / 0.5419 GB Notification: Performance of NFPackage.collectConstants: time 0.01246/0.7421, allocations: 1.959 MB / 0.6419 GB, free: 37.65 MB / 0.5419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01249/0.7546, allocations: 2.021 MB / 0.6438 GB, free: 37.65 MB / 0.5419 GB Notification: Performance of NFScalarize.scalarize: time 0.07018/0.8248, allocations: 83.75 MB / 0.7256 GB, free: 2.227 MB / 0.5419 GB Notification: Performance of NFVerifyModel.verify: time 0.04577/0.8705, allocations: 19.06 MB / 0.7442 GB, free: 0.5234 MB / 0.5575 GB Notification: Performance of NFConvertDAE.convert: time 0.07225/0.9428, allocations: 87.99 MB / 0.8302 GB, free: 8.152 MB / 0.6513 GB Notification: Performance of FrontEnd - DAE generated: time 1.095e-05/0.9428, allocations: 3.938 kB / 0.8302 GB, free: 8.152 MB / 0.6513 GB Notification: Performance of FrontEnd: time 3.767e-06/0.9428, allocations: 4 kB / 0.8302 GB, free: 8.148 MB / 0.6513 GB Notification: Performance of Transformations before backend: time 0.005486/0.9483, allocations: 0 / 0.8302 GB, free: 8.148 MB / 0.6513 GB 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.8474/1.796, allocations: 158.7 MB / 0.9851 GB, free: 106.2 MB / 0.7296 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.796, allocations: 9.562 kB / 0.9851 GB, free: 106.2 MB / 0.7296 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02985/1.826, allocations: 18.57 MB / 1.003 GB, free: 87.53 MB / 0.7296 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.366/2.192, allocations: 209.8 MB / 1.208 GB, free: 13.8 MB / 0.8546 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.378e-05/2.192, allocations: 384 / 1.208 GB, free: 13.8 MB / 0.8546 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/2.195, allocations: 0.5018 MB / 1.209 GB, free: 13.3 MB / 0.8546 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/2.207, allocations: 5.939 MB / 1.214 GB, free: 7.352 MB / 0.8546 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/2.207, allocations: 192 / 1.214 GB, free: 7.352 MB / 0.8546 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001361/2.208, allocations: 0.4908 MB / 1.215 GB, free: 6.863 MB / 0.8546 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/2.208, allocations: 0 / 1.215 GB, free: 6.863 MB / 0.8546 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003885/2.212, allocations: 3.466 MB / 1.218 GB, free: 3.391 MB / 0.8546 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4692/2.681, allocations: 53.71 MB / 1.271 GB, free: 260.1 MB / 0.8859 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007407/2.689, allocations: 2.013 MB / 1.273 GB, free: 260 MB / 0.8859 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004387/2.693, allocations: 2.009 MB / 1.275 GB, free: 259.9 MB / 0.8859 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/2.693, allocations: 4.375 kB / 1.275 GB, free: 259.9 MB / 0.8859 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003665/2.697, allocations: 5.011 MB / 1.28 GB, free: 259.8 MB / 0.8859 GB Notification: Performance of pre-optimization done (n=8): time 3.948e-06/2.697, allocations: 4.594 kB / 1.28 GB, free: 259.8 MB / 0.8859 GB Notification: Performance of matching and sorting (n=8): time 0.0496/2.746, allocations: 33.89 MB / 1.313 GB, free: 259.7 MB / 0.8859 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.486e-05/2.746, allocations: 85.11 kB / 1.313 GB, free: 259.6 MB / 0.8859 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2764/3.023, allocations: 198 MB / 1.506 GB, free: 102.1 MB / 0.8859 GB Notification: Performance of collectPreVariables (initialization): time 0.003387/3.026, allocations: 0.5134 MB / 1.507 GB, free: 101.6 MB / 0.8859 GB Notification: Performance of collectInitialEqns (initialization): time 0.07302/3.099, allocations: 97.77 MB / 1.602 GB, free: 3.789 MB / 0.8859 GB Notification: Performance of collectInitialBindings (initialization): time 0.003511/3.103, allocations: 0.5038 MB / 1.603 GB, free: 3.297 MB / 0.8859 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.4385/3.541, allocations: 3.441 MB / 1.606 GB, free: 192.2 MB / 0.8859 GB Notification: Performance of setup shared object (initialization): time 6.697e-05/3.541, allocations: 313.1 kB / 1.606 GB, free: 191.9 MB / 0.8859 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00828/3.549, allocations: 2 MB / 1.608 GB, free: 191.8 MB / 0.8859 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007556/3.557, allocations: 2.001 MB / 1.61 GB, free: 191.8 MB / 0.8859 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01351/3.571, allocations: 4.013 MB / 1.614 GB, free: 191.7 MB / 0.8859 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/3.571, allocations: 0 / 1.614 GB, free: 191.7 MB / 0.8859 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.05351/3.624, allocations: 31.9 MB / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/3.624, allocations: 36.62 kB / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/3.624, allocations: 0 / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/3.624, allocations: 7.781 kB / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.24e-05/3.624, allocations: 3.797 kB / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/3.624, allocations: 3.562 kB / 1.645 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02872/3.653, allocations: 0.4991 MB / 1.646 GB, free: 191.6 MB / 0.8859 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01128/3.664, allocations: 6.842 MB / 1.652 GB, free: 191.6 MB / 0.8859 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.06209/3.726, allocations: 38.24 MB / 1.69 GB, free: 188.9 MB / 0.8859 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.03565/3.762, allocations: 19.05 MB / 1.708 GB, free: 188.9 MB / 0.8859 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04538/3.807, allocations: 20.44 MB / 1.728 GB, free: 174 MB / 0.8859 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/3.807, allocations: 5.359 kB / 1.728 GB, free: 174 MB / 0.8859 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/3.807, allocations: 3 kB / 1.728 GB, free: 174 MB / 0.8859 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/3.807, allocations: 0 / 1.728 GB, free: 174 MB / 0.8859 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1229/3.93, allocations: 58.6 MB / 1.786 GB, free: 131 MB / 0.8859 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.93, allocations: 1.812 kB / 1.786 GB, free: 131 MB / 0.8859 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/3.93, allocations: 4 kB / 1.786 GB, free: 131 MB / 0.8859 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/3.93, allocations: 0 / 1.786 GB, free: 131 MB / 0.8859 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003797/3.934, allocations: 1.472 MB / 1.787 GB, free: 129.5 MB / 0.8859 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.182e-06/3.934, allocations: 4 kB / 1.787 GB, free: 129.5 MB / 0.8859 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/3.934, allocations: 6.938 kB / 1.787 GB, free: 129.5 MB / 0.8859 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07238/4.007, allocations: 33.12 MB / 1.819 GB, free: 96.25 MB / 0.8859 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03109/4.038, allocations: 16.13 MB / 1.835 GB, free: 80 MB / 0.8859 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01685/4.054, allocations: 0.4922 MB / 1.836 GB, free: 79.51 MB / 0.8859 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02034/4.075, allocations: 500 kB / 1.836 GB, free: 79.02 MB / 0.8859 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/4.075, allocations: 11.92 kB / 1.836 GB, free: 79.01 MB / 0.8859 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.009669/4.085, allocations: 6.84 MB / 1.843 GB, free: 73.15 MB / 0.8859 GB Notification: Performance of sorting global known variables: time 0.6776/4.762, allocations: 137.9 MB / 1.978 GB, free: 154.2 MB / 0.8859 GB Notification: Performance of sort global known variables: time 2.71e-07/4.762, allocations: 0.5625 kB / 1.978 GB, free: 154.2 MB / 0.8859 GB Notification: Performance of remove unused functions: time 0.02581/4.788, allocations: 4.918 MB / 1.982 GB, free: 154.2 MB / 0.8859 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.00338/4.791, allocations: 0.6116 MB / 1.983 GB, free: 154.1 MB / 0.8859 GB Notification: Performance of simCode: created initialization part: time 0.01941/4.811, allocations: 4.572 MB / 1.987 GB, free: 153.9 MB / 0.8859 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/4.811, allocations: 0 / 1.987 GB, free: 153.9 MB / 0.8859 GB Notification: Performance of simCode: created simulation system equations: time 0.01241/4.823, allocations: 2.553 MB / 1.99 GB, free: 153.8 MB / 0.8859 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09272/4.916, allocations: 13.49 MB / 2.003 GB, free: 145.2 MB / 0.8859 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.189/6.105, allocations: 305.4 MB / 2.301 GB, free: 263.5 MB / 0.9333 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.13/6.235, allocations: 68.83 MB / 2.369 GB, free: 238.2 MB / 0.9333 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01668/6.252, allocations: 7.823 MB / 2.376 GB, free: 238.2 MB / 0.9333 GB Notification: Performance of SimCode: time 3.997e-06/6.252, allocations: 0 / 2.376 GB, free: 238.2 MB / 0.9333 GB Notification: Performance of Templates: time 295.1/301.4, allocations: 93.12 GB / 95.5 GB, free: 0.5723 GB / 1.355 GB " [Timeout remaining time 0] Timeout error for cmd: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=16498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_16000") Failed to read output from testmodel.py, exit status != 0: Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 408, in res=sendExpressionTimeout(omc, cmd, conf["ulimitOmc"]) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 144, in sendExpressionTimeout raise TimeoutError(res[1]) TimeoutError During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/./testmodel.py", line 422, in writeResultAndExit(0, omc, omc_new) ^^^ NameError: name 'omc' is not defined