Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.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.0009491/0.0009491, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.0009113/0.0009113, allocations: 170.4 kB / 25.61 MB, free: 8.902 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.9485/0.9485, allocations: 177.1 MB / 206 MB, free: 4.5 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.7716/0.7716, allocations: 88.08 MB / 350.7 MB, free: 11.83 MB / 330.8 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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4498,variableFilter="time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 452.8 MB, free: 8.035 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.6e-05/1.72e-05, allocations: 9.266 kB / 452.9 MB, free: 8.027 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001877/0.001894, allocations: 1.458 MB / 454.3 MB, free: 6.555 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009006/0.002795, allocations: 0.5687 MB / 454.9 MB, free: 5.98 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.299e-05/0.002868, allocations: 0 / 454.9 MB, free: 5.98 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008887/0.003756, allocations: 1.715 MB / 456.6 MB, free: 4.262 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0009745/0.004731, allocations: 1.774 MB / 458.4 MB, free: 2.484 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005228/0.005254, allocations: 79.72 kB / 458.4 MB, free: 2.406 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.002232/0.007486, allocations: 4.314 MB / 462.8 MB, free: 14.08 MB / 442.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.138e-05/0.007527, allocations: 0 / 462.8 MB, free: 14.08 MB / 442.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01223/0.01976, allocations: 16.48 MB / 479.2 MB, free: 13.57 MB / 458.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.0212, allocations: 2.156 MB / 481.4 MB, free: 11.41 MB / 458.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001731/0.02137, allocations: 0 / 481.4 MB, free: 11.41 MB / 458.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002694/0.02164, allocations: 75.88 kB / 481.5 MB, free: 11.34 MB / 458.8 MB Notification: Performance of NFScalarize.scalarize: time 0.007164/0.02881, allocations: 10.17 MB / 491.6 MB, free: 1.141 MB / 458.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001561/0.03037, allocations: 1.892 MB / 493.5 MB, free: 15.23 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.006104/0.03647, allocations: 10.19 MB / 0.4919 GB, free: 4.992 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.03648, allocations: 4 kB / 0.4919 GB, free: 4.988 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.162e-06/0.03648, allocations: 3.938 kB / 0.4919 GB, free: 4.984 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.000239/0.03672, allocations: 0 / 0.4919 GB, free: 4.984 MB / 474.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.3677/0.4044, allocations: 21.37 MB / 0.5128 GB, free: 101.3 MB / 490.9 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.4045, allocations: 9.875 kB / 0.5128 GB, free: 101.3 MB / 490.9 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/0.4068, allocations: 2.328 MB / 0.5151 GB, free: 101.1 MB / 490.9 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01504/0.4218, allocations: 15.09 MB / 0.5298 GB, free: 94.99 MB / 490.9 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.4218, allocations: 1.625 kB / 0.5298 GB, free: 94.99 MB / 490.9 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001841/0.422, allocations: 2.188 kB / 0.5298 GB, free: 94.99 MB / 490.9 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001209/0.4232, allocations: 0.8965 MB / 0.5307 GB, free: 94.93 MB / 490.9 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.4233, allocations: 0.7188 kB / 0.5307 GB, free: 94.93 MB / 490.9 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001613/0.4234, allocations: 2.406 kB / 0.5307 GB, free: 94.93 MB / 490.9 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.4234, allocations: 3.938 kB / 0.5307 GB, free: 94.92 MB / 490.9 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008548/0.4243, allocations: 0.5941 MB / 0.5313 GB, free: 94.89 MB / 490.9 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006327/0.4306, allocations: 4.965 MB / 0.5361 GB, free: 92.59 MB / 490.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006638/0.4313, allocations: 347.4 kB / 0.5365 GB, free: 92.52 MB / 490.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009339/0.4322, allocations: 329.6 kB / 0.5368 GB, free: 92.48 MB / 490.9 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-06/0.4322, allocations: 1.156 kB / 0.5368 GB, free: 92.48 MB / 490.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.4335, allocations: 0.9529 MB / 0.5377 GB, free: 92.35 MB / 490.9 MB Notification: Performance of pre-optimization done (n=8): time 2.325e-06/0.4335, allocations: 2.469 kB / 0.5377 GB, free: 92.35 MB / 490.9 MB Notification: Performance of matching and sorting (n=8): time 0.007355/0.4408, allocations: 4.981 MB / 0.5426 GB, free: 90.85 MB / 490.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.378e-05/0.4408, allocations: 85.83 kB / 0.5427 GB, free: 90.75 MB / 490.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/0.4612, allocations: 21.88 MB / 0.564 GB, free: 71.11 MB / 490.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0002796/0.4615, allocations: 31.95 kB / 0.5641 GB, free: 71.08 MB / 490.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.00829/0.4698, allocations: 11.94 MB / 0.5757 GB, free: 59.12 MB / 490.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/0.4701, allocations: 25.25 kB / 0.5757 GB, free: 59.1 MB / 490.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005331/0.4707, allocations: 0.578 MB / 0.5763 GB, free: 58.52 MB / 490.9 MB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.4707, allocations: 484.4 kB / 0.5768 GB, free: 58.04 MB / 490.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003989/0.4711, allocations: 326.5 kB / 0.5771 GB, free: 57.71 MB / 490.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.4715, allocations: 325.3 kB / 0.5774 GB, free: 57.39 MB / 490.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000746/0.4722, allocations: 0.642 MB / 0.578 GB, free: 56.73 MB / 490.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4722, allocations: 1.094 kB / 0.578 GB, free: 56.73 MB / 490.9 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.004226/0.4765, allocations: 4.677 MB / 0.5826 GB, free: 52.02 MB / 490.9 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/0.4765, allocations: 34.83 kB / 0.5826 GB, free: 51.98 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.4765, allocations: 0 / 0.5826 GB, free: 51.98 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.4765, allocations: 0 / 0.5826 GB, free: 51.98 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.4766, allocations: 9.078 kB / 0.5826 GB, free: 51.98 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-06/0.4766, allocations: 0 / 0.5826 GB, free: 51.98 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002011/0.4786, allocations: 7.938 kB / 0.5826 GB, free: 51.97 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006683/0.4793, allocations: 1.439 MB / 0.584 GB, free: 50.53 MB / 490.9 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 0.001118/0.4804, allocations: 194.7 kB / 0.5842 GB, free: 50.33 MB / 490.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/0.4816, allocations: 2.332 MB / 0.5865 GB, free: 47.98 MB / 490.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001185/0.4827, allocations: 1.835 MB / 0.5883 GB, free: 46.14 MB / 490.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4827, allocations: 1.172 kB / 0.5883 GB, free: 46.14 MB / 490.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.534e-06/0.4827, allocations: 0.5312 kB / 0.5883 GB, free: 46.14 MB / 490.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4827, allocations: 5.906 kB / 0.5883 GB, free: 46.14 MB / 490.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004973/0.4877, allocations: 5.699 MB / 0.5939 GB, free: 40.41 MB / 490.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4877, allocations: 0.5 kB / 0.5939 GB, free: 40.41 MB / 490.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.51e-05/0.4877, allocations: 5.875 kB / 0.5939 GB, free: 40.4 MB / 490.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.4878, allocations: 0 / 0.5939 GB, free: 40.4 MB / 490.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.4879, allocations: 288.6 kB / 0.5941 GB, free: 40.12 MB / 490.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.4879, allocations: 0 / 0.5941 GB, free: 40.12 MB / 490.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.4879, allocations: 0 / 0.5941 GB, free: 40.12 MB / 490.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/0.4906, allocations: 4.958 MB / 0.599 GB, free: 35.11 MB / 490.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001242/0.4919, allocations: 2.028 MB / 0.601 GB, free: 33.07 MB / 490.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006049/0.4925, allocations: 4.547 kB / 0.601 GB, free: 33.07 MB / 490.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007222/0.4932, allocations: 9.344 kB / 0.601 GB, free: 33.06 MB / 490.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.4932, allocations: 1.219 kB / 0.601 GB, free: 33.06 MB / 490.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006613/0.4939, allocations: 1.443 MB / 0.6024 GB, free: 31.62 MB / 490.9 MB Notification: Performance of sorting global known variables: time 0.007024/0.5009, allocations: 13.08 MB / 0.6152 GB, free: 18.69 MB / 490.9 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5009, allocations: 0.7656 kB / 0.6152 GB, free: 18.69 MB / 490.9 MB Notification: Performance of remove unused functions: time 0.001118/0.502, allocations: 0.5195 MB / 0.6157 GB, free: 18.17 MB / 490.9 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.0002222/0.5023, allocations: 125.2 kB / 0.6158 GB, free: 18.04 MB / 490.9 MB Notification: Performance of simCode: created initialization part: time 0.0008766/0.5031, allocations: 0.7235 MB / 0.6165 GB, free: 17.29 MB / 490.9 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5031, allocations: 0 / 0.6165 GB, free: 17.29 MB / 490.9 MB Notification: Performance of simCode: created simulation system equations: time 0.0004457/0.5036, allocations: 404.4 kB / 0.6169 GB, free: 16.88 MB / 490.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.5061, allocations: 1.841 MB / 0.6187 GB, free: 15.03 MB / 490.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02045/0.5266, allocations: 29.8 MB / 0.6478 GB, free: 1.262 MB / 0.495 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002548/0.5291, allocations: 3.837 MB / 0.6515 GB, free: 13.39 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.004708/0.5338, allocations: 3.027 MB / 0.6545 GB, free: 10.6 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005545/0.5394, allocations: 3.507 MB / 0.6579 GB, free: 7.094 MB / 0.5107 GB Notification: Performance of SimCode: time 1.913e-06/0.5394, allocations: 0 / 0.6579 GB, free: 7.094 MB / 0.5107 GB Notification: Performance of Templates: time 0.1285/0.6679, allocations: 58.36 MB / 0.7149 GB, free: 13.04 MB / 0.5732 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_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: 5.5695705697871745]