Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) 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_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001578, allocations: 110.6 kB / 17.29 MB, free: 6.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 189.3 kB / 18.21 MB, free: 5.297 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 241.9 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9741/0.9741, allocations: 119.3 MB / 411.3 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001608, allocations: 59.91 kB / 0.4911 GB, free: 14.1 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5411/0.5428, allocations: 80.68 MB / 0.5699 GB, free: 43.51 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002373/0.5452, allocations: 1.479 MB / 0.5713 GB, free: 42.35 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0008915/0.5461, allocations: 0.5676 MB / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.563e-05/0.5462, allocations: 3.938 kB / 0.5719 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0002684/0.5465, allocations: 227.4 kB / 0.5721 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.5468, allocations: 261.5 kB / 0.5723 GB, free: 41.66 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.5471, allocations: 74.11 kB / 0.5724 GB, free: 41.61 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0004638/0.5476, allocations: 0.6057 MB / 0.573 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.47e-05/0.5476, allocations: 2.219 kB / 0.573 GB, free: 41.31 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000316/0.548, allocations: 309 kB / 0.5733 GB, free: 41.16 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004892/0.5485, allocations: 0.5293 MB / 0.5738 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 7.938e-05/0.5485, allocations: 35.09 kB / 0.5738 GB, free: 40.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.5487, allocations: 106.4 kB / 0.5739 GB, free: 40.92 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.00103/0.5498, allocations: 1.255 MB / 0.5752 GB, free: 40.3 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004415/0.5502, allocations: 0.7228 MB / 0.5759 GB, free: 39.69 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001029/0.5512, allocations: 1.214 MB / 0.5771 GB, free: 39.03 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.5513, allocations: 0.9375 kB / 0.5771 GB, free: 39.03 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.784e-06/0.5513, allocations: 0 / 0.5771 GB, free: 39.03 MB / 462.3 MB Notification: Performance of Transformations before backend: time 3.122e-05/0.5513, allocations: 0 / 0.5771 GB, free: 39.03 MB / 462.3 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.002857/0.5542, allocations: 2.781 MB / 0.5798 GB, free: 36.84 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.408e-05/0.5542, allocations: 9.094 kB / 0.5798 GB, free: 36.84 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003707/0.5546, allocations: 285.4 kB / 0.5801 GB, free: 36.68 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004586/0.5592, allocations: 3.325 MB / 0.5833 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5593, allocations: 1.594 kB / 0.5833 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.5593, allocations: 10.5 kB / 0.5833 GB, free: 34.65 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.5595, allocations: 142.7 kB / 0.5835 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.5596, allocations: 0 / 0.5835 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.5596, allocations: 9.156 kB / 0.5835 GB, free: 34.59 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.5596, allocations: 4 kB / 0.5835 GB, free: 34.58 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.5597, allocations: 77.67 kB / 0.5835 GB, free: 34.57 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001141/0.5609, allocations: 1.006 MB / 0.5845 GB, free: 33.9 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.561, allocations: 72.58 kB / 0.5846 GB, free: 33.86 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.5611, allocations: 63.05 kB / 0.5847 GB, free: 33.84 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.346e-05/0.5612, allocations: 5.188 kB / 0.5847 GB, free: 33.84 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.5615, allocations: 178.1 kB / 0.5848 GB, free: 33.71 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 2.034e-06/0.5615, allocations: 1.125 kB / 0.5848 GB, free: 33.71 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.0009816/0.5625, allocations: 0.6544 MB / 0.5855 GB, free: 33.45 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.5625, allocations: 80.45 kB / 0.5855 GB, free: 33.36 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/0.5653, allocations: 3.181 MB / 0.5887 GB, free: 30.43 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 5.903e-05/0.5654, allocations: 41.7 kB / 0.5887 GB, free: 30.39 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.5661, allocations: 1.236 MB / 0.5899 GB, free: 29.15 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.737e-05/0.5662, allocations: 23.81 kB / 0.5899 GB, free: 29.12 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.5663, allocations: 77.72 kB / 0.59 GB, free: 29.04 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.627e-05/0.5663, allocations: 310 kB / 0.5903 GB, free: 28.73 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.322e-05/0.5664, allocations: 48 kB / 0.5903 GB, free: 28.69 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.412e-05/0.5665, allocations: 47.98 kB / 0.5904 GB, free: 28.64 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.5666, allocations: 168.3 kB / 0.5905 GB, free: 28.46 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.5667, allocations: 7.984 kB / 0.5906 GB, free: 28.45 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006362/0.5673, allocations: 0.6089 MB / 0.5911 GB, free: 27.83 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.584e-05/0.5673, allocations: 33.7 kB / 0.5912 GB, free: 27.79 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.5674, allocations: 3.984 kB / 0.5912 GB, free: 27.79 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.5674, allocations: 7.984 kB / 0.5912 GB, free: 27.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.841e-05/0.5675, allocations: 4 kB / 0.5912 GB, free: 27.77 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.5675, allocations: 0 / 0.5912 GB, free: 27.77 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003206/0.5678, allocations: 15.94 kB / 0.5912 GB, free: 27.76 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.03e-05/0.5679, allocations: 112 kB / 0.5913 GB, free: 27.65 MB / 462.3 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.0007308/0.5686, allocations: 0.7491 MB / 0.592 GB, free: 26.88 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/0.5688, allocations: 300.1 kB / 0.5923 GB, free: 26.59 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002598/0.5691, allocations: 333.8 kB / 0.5927 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5691, allocations: 4 kB / 0.5927 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5691, allocations: 0 / 0.5927 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5691, allocations: 0 / 0.5927 GB, free: 26.25 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008466/0.57, allocations: 1.093 MB / 0.5937 GB, free: 25.11 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.57, allocations: 0 / 0.5937 GB, free: 25.11 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.815e-05/0.57, allocations: 11.92 kB / 0.5937 GB, free: 25.1 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.57, allocations: 0 / 0.5937 GB, free: 25.1 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.507e-05/0.5701, allocations: 28 kB / 0.5938 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.5701, allocations: 0 / 0.5938 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5701, allocations: 0 / 0.5938 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005711/0.5707, allocations: 0.665 MB / 0.5944 GB, free: 24.38 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.5709, allocations: 337.3 kB / 0.5947 GB, free: 24.03 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.5711, allocations: 12 kB / 0.5947 GB, free: 24.02 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/0.5713, allocations: 8 kB / 0.5948 GB, free: 24.01 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.5713, allocations: 15.92 kB / 0.5948 GB, free: 24 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.31e-05/0.5714, allocations: 112 kB / 0.5949 GB, free: 23.89 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001916/0.5733, allocations: 2.203 MB / 0.597 GB, free: 21.7 MB / 462.3 MB Notification: Performance of sort global known variables: time 2.71e-07/0.5733, allocations: 0 / 0.597 GB, free: 21.7 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0004027/0.5737, allocations: 108 kB / 0.5971 GB, free: 21.6 MB / 462.3 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.0001872/0.5739, allocations: 135.2 kB / 0.5973 GB, free: 21.46 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002842/0.5742, allocations: 219.3 kB / 0.5975 GB, free: 21.23 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.5742, allocations: 0 / 0.5975 GB, free: 21.23 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.5744, allocations: 151.3 kB / 0.5976 GB, free: 21.07 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007113/0.5751, allocations: 220.7 kB / 0.5978 GB, free: 20.85 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004618/0.5797, allocations: 4.856 MB / 0.6026 GB, free: 15.95 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008617/0.5806, allocations: 1.687 MB / 0.6042 GB, free: 14.23 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.5808, allocations: 135.4 kB / 0.6043 GB, free: 14.1 MB / 462.3 MB Notification: Performance of SimCode: time 1.162e-06/0.5808, allocations: 0 / 0.6043 GB, free: 14.1 MB / 462.3 MB Notification: Performance of Templates: time 0.07982/0.6606, allocations: 47.66 MB / 0.6509 GB, free: 14.37 MB / 0.4983 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches