Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.001249/0.001249, allocations: 110.6 kB / 16.92 MB, free: 6.332 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.001396/0.001396, allocations: 191.4 kB / 17.85 MB, free: 5.414 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.477/1.477, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.24/1.24, allocations: 119.3 MB / 411 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 59.89 kB / 0.4909 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6717/0.673, allocations: 80.69 MB / 0.5698 GB, free: 43.34 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250): time 0.002749/0.6758, allocations: 1.409 MB / 0.5711 GB, free: 42.23 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009634/0.6767, allocations: 0.5653 MB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.6768, allocations: 1.031 kB / 0.5717 GB, free: 41.79 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.6772, allocations: 232 kB / 0.5719 GB, free: 41.68 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.6776, allocations: 277 kB / 0.5722 GB, free: 41.53 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002679/0.6779, allocations: 76.69 kB / 0.5722 GB, free: 41.48 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0005463/0.6784, allocations: 0.5936 MB / 0.5728 GB, free: 41.2 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.903e-05/0.6785, allocations: 7.422 kB / 0.5728 GB, free: 41.19 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003181/0.6788, allocations: 300.5 kB / 0.5731 GB, free: 41.05 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005809/0.6794, allocations: 0.5381 MB / 0.5736 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 9.393e-05/0.6795, allocations: 34 kB / 0.5737 GB, free: 40.84 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.6797, allocations: 107 kB / 0.5738 GB, free: 40.8 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.001363/0.6811, allocations: 1.254 MB / 0.575 GB, free: 40.18 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004462/0.6815, allocations: 0.7192 MB / 0.5757 GB, free: 39.57 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.6829, allocations: 1.603 MB / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.6829, allocations: 0 / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6829, allocations: 0.9062 kB / 0.5773 GB, free: 38.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.6829, allocations: 0 / 0.5773 GB, free: 38.55 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.00293/0.6859, allocations: 2.765 MB / 0.58 GB, free: 36.38 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.6859, allocations: 10.09 kB / 0.58 GB, free: 36.38 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000301/0.6862, allocations: 284.6 kB / 0.5802 GB, free: 36.23 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005356/0.6916, allocations: 3.325 MB / 0.5835 GB, free: 34.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.6916, allocations: 9.406 kB / 0.5835 GB, free: 34.19 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.6917, allocations: 15.66 kB / 0.5835 GB, free: 34.18 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003773/0.6921, allocations: 146.2 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6921, allocations: 0 / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.6922, allocations: 8.781 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.6922, allocations: 1.156 kB / 0.5837 GB, free: 34.11 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002207/0.6924, allocations: 76.42 kB / 0.5837 GB, free: 34.1 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001666/0.6941, allocations: 1.002 MB / 0.5847 GB, free: 33.44 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.6942, allocations: 72.3 kB / 0.5848 GB, free: 33.4 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001244/0.6944, allocations: 68.83 kB / 0.5849 GB, free: 33.37 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.6944, allocations: 3.938 kB / 0.5849 GB, free: 33.37 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002924/0.6947, allocations: 175 kB / 0.585 GB, free: 33.25 MB / 462.3 MB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.6947, allocations: 0 / 0.585 GB, free: 33.25 MB / 462.3 MB Notification: Performance of matching and sorting (n=8): time 0.001109/0.6958, allocations: 0.6552 MB / 0.5857 GB, free: 32.99 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.6959, allocations: 83.48 kB / 0.5857 GB, free: 32.89 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002795/0.6987, allocations: 3.186 MB / 0.5889 GB, free: 29.88 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.6987, allocations: 37.7 kB / 0.5889 GB, free: 29.84 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009209/0.6997, allocations: 1.244 MB / 0.5901 GB, free: 28.59 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.6997, allocations: 19.81 kB / 0.5901 GB, free: 28.57 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-05/0.6998, allocations: 81.7 kB / 0.5902 GB, free: 28.48 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 8.142e-05/0.6999, allocations: 306 kB / 0.5905 GB, free: 28.18 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.7, allocations: 48 kB / 0.5905 GB, free: 28.13 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.611e-05/0.7001, allocations: 47.98 kB / 0.5906 GB, free: 28.09 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.7003, allocations: 164.2 kB / 0.5907 GB, free: 27.91 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7003, allocations: 4 kB / 0.5907 GB, free: 27.91 MB / 462.3 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005304/0.7008, allocations: 0.6166 MB / 0.5913 GB, free: 27.27 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/0.7009, allocations: 33.69 kB / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.7009, allocations: 0 / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.7009, allocations: 4 kB / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.701, allocations: 4 kB / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.701, allocations: 240 / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7012, allocations: 15.88 kB / 0.5914 GB, free: 27.21 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/0.7013, allocations: 120 kB / 0.5915 GB, free: 27.09 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.0006093/0.7019, allocations: 0.7412 MB / 0.5922 GB, free: 26.34 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.7021, allocations: 304.2 kB / 0.5925 GB, free: 26.04 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.7024, allocations: 337.7 kB / 0.5929 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.7024, allocations: 0 / 0.5929 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7024, allocations: 3.938 kB / 0.5929 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7024, allocations: 0 / 0.5929 GB, free: 25.7 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.7033, allocations: 1.093 MB / 0.5939 GB, free: 24.56 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.7033, allocations: 0 / 0.5939 GB, free: 24.56 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.27e-05/0.7034, allocations: 7.938 kB / 0.5939 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.7034, allocations: 0 / 0.5939 GB, free: 24.55 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.451e-05/0.7034, allocations: 28 kB / 0.594 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7034, allocations: 4 kB / 0.594 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.7034, allocations: 0 / 0.594 GB, free: 24.52 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005362/0.704, allocations: 0.6611 MB / 0.5946 GB, free: 23.83 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002928/0.7043, allocations: 337.3 kB / 0.5949 GB, free: 23.48 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001242/0.7044, allocations: 8 kB / 0.5949 GB, free: 23.47 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001715/0.7046, allocations: 15.98 kB / 0.595 GB, free: 23.46 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.7046, allocations: 7.984 kB / 0.595 GB, free: 23.45 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-05/0.7047, allocations: 120 kB / 0.5951 GB, free: 23.33 MB / 462.3 MB Notification: Performance of sorting global known variables: time 0.001855/0.7066, allocations: 2.203 MB / 0.5972 GB, free: 21.15 MB / 462.3 MB Notification: Performance of sort global known variables: time 8.12e-07/0.7066, allocations: 0 / 0.5972 GB, free: 21.15 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0003742/0.7069, allocations: 111.9 kB / 0.5973 GB, free: 21.04 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.0001809/0.7071, allocations: 131.9 kB / 0.5975 GB, free: 20.9 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.7074, allocations: 211.4 kB / 0.5977 GB, free: 20.68 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7074, allocations: 0 / 0.5977 GB, free: 20.68 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0001195/0.7076, allocations: 147.4 kB / 0.5978 GB, free: 20.53 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007016/0.7083, allocations: 224.7 kB / 0.598 GB, free: 20.3 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003822/0.7121, allocations: 4.226 MB / 0.6021 GB, free: 16.04 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/0.713, allocations: 1.699 MB / 0.6038 GB, free: 14.31 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001159/0.7142, allocations: 0.5728 MB / 0.6044 GB, free: 13.73 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.7143, allocations: 131.4 kB / 0.6045 GB, free: 13.61 MB / 462.3 MB Notification: Performance of SimCode: time 3.41e-07/0.7143, allocations: 0 / 0.6045 GB, free: 13.61 MB / 462.3 MB Notification: Performance of Templates: time 0.02218/0.7365, allocations: 10.67 MB / 0.6149 GB, free: 2.891 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_250.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches