Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 115.4 kB / 18.41 MB, free: 4.652 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002232/0.002232, allocations: 192.3 kB / 21.35 MB, free: 1.723 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.441/1.441, allocations: 222.9 MB / 247 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8877/0.8877, allocations: 119.3 MB / 418.6 MB, free: 12.02 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=8498,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 0.5801 GB, free: 12.72 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6259/0.6279, allocations: 80.7 MB / 0.6589 GB, free: 13.48 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000): time 0.002229/0.6301, allocations: 1.417 MB / 0.6603 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0008722/0.631, allocations: 0.5718 MB / 0.6608 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.6311, allocations: 1.062 kB / 0.6608 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 0.002375/0.6335, allocations: 3.435 MB / 0.6642 GB, free: 10.18 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 0.002358/0.6359, allocations: 3.471 MB / 0.6676 GB, free: 8.434 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003552/0.6362, allocations: 75.98 kB / 0.6677 GB, free: 8.387 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.009783/0.646, allocations: 8.547 MB / 0.676 GB, free: 4.254 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 6.026e-05/0.6461, allocations: 3.5 kB / 0.676 GB, free: 4.254 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007402/0.6535, allocations: 4.247 MB / 0.6801 GB, free: 1.23 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/0.6646, allocations: 8.092 MB / 0.6881 GB, free: 9.121 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.002654/0.6673, allocations: 0.4922 MB / 0.6885 GB, free: 8.629 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001915/0.6692, allocations: 0.5624 MB / 0.6891 GB, free: 8.066 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.02506/0.6943, allocations: 19.9 MB / 0.7085 GB, free: 4.113 MB / 0.5295 GB Notification: Performance of NFVerifyModel.verify: time 0.01843/0.7127, allocations: 11.26 MB / 0.7195 GB, free: 8.738 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.03284/0.7456, allocations: 24.99 MB / 0.7439 GB, free: 15.59 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.947e-06/0.7457, allocations: 0 / 0.7439 GB, free: 15.59 MB / 0.5764 GB Notification: Performance of FrontEnd: time 4.058e-06/0.7457, allocations: 0 / 0.7439 GB, free: 15.59 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.0009709/0.7466, allocations: 0 / 0.7439 GB, free: 15.59 MB / 0.5764 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.05936/0.806, allocations: 40.47 MB / 0.7834 GB, free: 6.715 MB / 0.6077 GB Notification: Performance of prepare preOptimizeDAE: time 5.967e-05/0.8061, allocations: 8.031 kB / 0.7834 GB, free: 6.707 MB / 0.6077 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007139/0.8133, allocations: 4.645 MB / 0.788 GB, free: 2.031 MB / 0.6077 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1264/0.9397, allocations: 52.3 MB / 0.8391 GB, free: 13.46 MB / 0.6702 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.9398, allocations: 4.219 kB / 0.8391 GB, free: 13.46 MB / 0.6702 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003199/0.9401, allocations: 132.4 kB / 0.8392 GB, free: 13.33 MB / 0.6702 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.9421, allocations: 1.512 MB / 0.8407 GB, free: 11.81 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.9421, allocations: 3.938 kB / 0.8407 GB, free: 11.81 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002738/0.9424, allocations: 124 kB / 0.8408 GB, free: 11.69 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.9424, allocations: 0 / 0.8408 GB, free: 11.69 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001315/0.9438, allocations: 0.8789 MB / 0.8416 GB, free: 10.81 MB / 0.6702 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.9732, allocations: 13.85 MB / 0.8552 GB, free: 12.89 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.9751, allocations: 0.5298 MB / 0.8557 GB, free: 12.36 MB / 0.6858 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009315/0.9761, allocations: 0.5204 MB / 0.8562 GB, free: 11.83 MB / 0.6858 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.9761, allocations: 0 / 0.8562 GB, free: 11.83 MB / 0.6858 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001457/0.9776, allocations: 1.316 MB / 0.8575 GB, free: 10.5 MB / 0.6858 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.9776, allocations: 0 / 0.8575 GB, free: 10.5 MB / 0.6858 GB Notification: Performance of matching and sorting (n=8): time 0.01473/0.9923, allocations: 8.561 MB / 0.8658 GB, free: 1.891 MB / 0.6858 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/0.9924, allocations: 88.98 kB / 0.8659 GB, free: 1.785 MB / 0.6858 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7644/1.757, allocations: 49.58 MB / 0.9143 GB, free: 138.8 MB / 0.686 GB Notification: Performance of collectPreVariables (initialization): time 0.0008332/1.758, allocations: 151 kB / 0.9145 GB, free: 138.7 MB / 0.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.0217/1.779, allocations: 22.55 MB / 0.9365 GB, free: 119.1 MB / 0.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009751/1.78, allocations: 144.8 kB / 0.9366 GB, free: 119.1 MB / 0.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008566/1.781, allocations: 0.8751 MB / 0.9375 GB, free: 119.1 MB / 0.686 GB Notification: Performance of setup shared object (initialization): time 6.962e-05/1.781, allocations: 316 kB / 0.9378 GB, free: 118.8 MB / 0.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007861/1.782, allocations: 0.5024 MB / 0.9383 GB, free: 118.5 MB / 0.686 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006655/1.783, allocations: 0.511 MB / 0.9388 GB, free: 118 MB / 0.686 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/1.784, allocations: 1.074 MB / 0.9398 GB, free: 116.9 MB / 0.686 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.784, allocations: 0.875 kB / 0.9398 GB, free: 116.9 MB / 0.686 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.009368/1.794, allocations: 8.059 MB / 0.9477 GB, free: 111.5 MB / 0.686 GB Notification: Performance of prepare postOptimizeDAE: time 5.983e-05/1.794, allocations: 41.45 kB / 0.9477 GB, free: 111.5 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.794, allocations: 0 / 0.9477 GB, free: 111.5 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.678e-05/1.794, allocations: 4 kB / 0.9477 GB, free: 111.5 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.313e-05/1.794, allocations: 7.984 kB / 0.9478 GB, free: 111.5 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/1.794, allocations: 0 / 0.9478 GB, free: 111.5 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/1.799, allocations: 135.4 kB / 0.9479 GB, free: 111.4 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001075/1.8, allocations: 1.71 MB / 0.9496 GB, free: 109.7 MB / 0.686 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.01173/1.812, allocations: 9.67 MB / 0.959 GB, free: 99.96 MB / 0.686 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008275/1.82, allocations: 4.769 MB / 0.9637 GB, free: 97.88 MB / 0.686 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009807/1.83, allocations: 5.122 MB / 0.9687 GB, free: 92.75 MB / 0.686 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/1.83, allocations: 0 / 0.9687 GB, free: 92.75 MB / 0.686 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.83, allocations: 0 / 0.9687 GB, free: 92.75 MB / 0.686 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.83, allocations: 5.312 kB / 0.9687 GB, free: 92.75 MB / 0.686 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02563/1.855, allocations: 15.07 MB / 0.9834 GB, free: 77.61 MB / 0.686 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.855, allocations: 3 kB / 0.9834 GB, free: 77.61 MB / 0.686 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.79e-05/1.855, allocations: 4 kB / 0.9834 GB, free: 77.61 MB / 0.686 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.855, allocations: 3.844 kB / 0.9834 GB, free: 77.61 MB / 0.686 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001052/1.857, allocations: 379.9 kB / 0.9838 GB, free: 77.24 MB / 0.686 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/1.857, allocations: 3.984 kB / 0.9838 GB, free: 77.23 MB / 0.686 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.857, allocations: 4 kB / 0.9838 GB, free: 77.23 MB / 0.686 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009393/1.866, allocations: 8.401 MB / 0.992 GB, free: 68.78 MB / 0.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008363/1.874, allocations: 4.114 MB / 0.996 GB, free: 64.62 MB / 0.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003841/1.878, allocations: 135.9 kB / 0.9961 GB, free: 64.48 MB / 0.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004147/1.882, allocations: 126.8 kB / 0.9962 GB, free: 64.36 MB / 0.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/1.882, allocations: 4 kB / 0.9962 GB, free: 64.36 MB / 0.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00125/1.884, allocations: 1.719 MB / 0.9979 GB, free: 62.64 MB / 0.686 GB Notification: Performance of sorting global known variables: time 0.05164/1.935, allocations: 34.49 MB / 1.032 GB, free: 28.46 MB / 0.686 GB Notification: Performance of sort global known variables: time 6.81e-07/1.935, allocations: 0 / 1.032 GB, free: 28.46 MB / 0.686 GB Notification: Performance of remove unused functions: time 0.006096/1.942, allocations: 1.25 MB / 1.033 GB, free: 27.21 MB / 0.686 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.0008525/1.942, allocations: 258.1 kB / 1.033 GB, free: 26.96 MB / 0.686 GB Notification: Performance of simCode: created initialization part: time 0.0019/1.944, allocations: 1.234 MB / 1.034 GB, free: 25.71 MB / 0.686 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/1.944, allocations: 0 / 1.034 GB, free: 25.71 MB / 0.686 GB Notification: Performance of simCode: created simulation system equations: time 0.0009902/1.945, allocations: 0.7211 MB / 1.035 GB, free: 24.98 MB / 0.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02551/1.971, allocations: 3.379 MB / 1.038 GB, free: 21.6 MB / 0.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1295/2.1, allocations: 73.52 MB / 1.11 GB, free: 12.42 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0349/2.135, allocations: 17.33 MB / 1.127 GB, free: 11.04 MB / 0.7642 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004052/2.139, allocations: 1.964 MB / 1.129 GB, free: 9.07 MB / 0.7642 GB Notification: Performance of SimCode: time 5.55e-06/2.14, allocations: 0 / 1.129 GB, free: 9.07 MB / 0.7642 GB Notification: Performance of Templates: time 18.12/20.26, allocations: 6.098 GB / 7.227 GB, free: 15.75 MB / 0.9204 GB " [Timeout remaining time 280] make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_4000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 41.85672627389431]