Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.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_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001288/0.001288, allocations: 100.8 kB / 16.5 MB, free: 6.641 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.001327/0.001328, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.363/1.363, allocations: 222.9 MB / 241.1 MB, free: 15.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.066/1.066, allocations: 119.3 MB / 410.5 MB, free: 9.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 55.91 kB / 0.4902 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5998/0.6012, allocations: 80.69 MB / 0.569 GB, free: 43.48 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002518/0.6038, allocations: 1.477 MB / 0.5705 GB, free: 42.32 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.6048, allocations: 0.5882 MB / 0.5711 GB, free: 41.87 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.558e-05/0.6049, allocations: 6 kB / 0.5711 GB, free: 41.86 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005305/0.6102, allocations: 6.839 MB / 0.5777 GB, free: 38.42 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004324/0.6146, allocations: 6.889 MB / 0.5845 GB, free: 34.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.6151, allocations: 55.88 kB / 0.5845 GB, free: 34.02 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01096/0.626, allocations: 17.03 MB / 0.6012 GB, free: 16.97 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.412e-05/0.6261, allocations: 4 kB / 0.6012 GB, free: 16.96 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0113/0.6374, allocations: 8.454 MB / 0.6094 GB, free: 8.496 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01874/0.6562, allocations: 15.17 MB / 0.6242 GB, free: 9.301 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005731/0.662, allocations: 0.9805 MB / 0.6252 GB, free: 8.32 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005701/0.6677, allocations: 1.043 MB / 0.6262 GB, free: 7.277 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.05641/0.7242, allocations: 39.8 MB / 0.6651 GB, free: 15.37 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04899/0.7732, allocations: 22.48 MB / 0.687 GB, free: 8.66 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.05524/0.8285, allocations: 47.44 MB / 0.7334 GB, free: 8.957 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.8286, allocations: 4 kB / 0.7334 GB, free: 8.953 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.876e-06/0.8286, allocations: 0 / 0.7334 GB, free: 8.953 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002353/0.831, allocations: 0 / 0.7334 GB, free: 8.953 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.8153/1.646, allocations: 77.13 MB / 0.8087 GB, free: 84.4 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.646, allocations: 15.72 kB / 0.8087 GB, free: 84.39 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01515/1.662, allocations: 8.798 MB / 0.8173 GB, free: 75.48 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2875/1.949, allocations: 103.1 MB / 0.9179 GB, free: 3.828 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/1.949, allocations: 7.875 kB / 0.9179 GB, free: 3.824 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00211/1.951, allocations: 252.4 kB / 0.9182 GB, free: 3.578 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007411/1.959, allocations: 2.98 MB / 0.9211 GB, free: 0.5898 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/1.959, allocations: 0 / 0.9211 GB, free: 0.5898 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/1.959, allocations: 255.9 kB / 0.9213 GB, free: 348 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/1.959, allocations: 0 / 0.9213 GB, free: 348 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/1.961, allocations: 1.728 MB / 0.923 GB, free: 14.61 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.055/2.016, allocations: 27.54 MB / 0.9499 GB, free: 3 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005265/2.022, allocations: 1.018 MB / 0.9509 GB, free: 1.973 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004607/2.026, allocations: 1.005 MB / 0.9519 GB, free: 0.9648 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/2.026, allocations: 0 / 0.9519 GB, free: 0.9648 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003726/2.03, allocations: 2.541 MB / 0.9544 GB, free: 14.41 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 3.306e-06/2.03, allocations: 5.219 kB / 0.9544 GB, free: 14.4 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.02961/2.06, allocations: 16.5 MB / 0.9705 GB, free: 13.77 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/2.06, allocations: 85.05 kB / 0.9706 GB, free: 13.66 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6323/2.692, allocations: 99.06 MB / 1.067 GB, free: 197 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002071/2.694, allocations: 281.7 kB / 1.068 GB, free: 197 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.05831/2.753, allocations: 46.97 MB / 1.113 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.002257/2.755, allocations: 267.6 kB / 1.114 GB, free: 158.6 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006052/2.761, allocations: 1.732 MB / 1.115 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/2.761, allocations: 313.3 kB / 1.116 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002452/2.764, allocations: 0.9909 MB / 1.117 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/2.765, allocations: 0.9973 MB / 1.118 GB, free: 158.2 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002956/2.768, allocations: 2.049 MB / 1.12 GB, free: 158.1 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/2.768, allocations: 0 / 1.12 GB, free: 158.1 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02546/2.793, allocations: 15.51 MB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 5.997e-05/2.794, allocations: 37.8 kB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/2.794, allocations: 6.5 kB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/2.794, allocations: 3.984 kB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/2.794, allocations: 3.75 kB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/2.794, allocations: 0 / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01695/2.811, allocations: 257.3 kB / 1.135 GB, free: 158 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005858/2.817, allocations: 3.421 MB / 1.138 GB, free: 157.5 MB / 0.7329 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.02682/2.843, allocations: 19.19 MB / 1.157 GB, free: 145.4 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01462/2.858, allocations: 9.04 MB / 1.166 GB, free: 141.2 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0236/2.882, allocations: 10.22 MB / 1.176 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.275e-06/2.882, allocations: 11.25 kB / 1.176 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/2.882, allocations: 0 / 1.176 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.882, allocations: 1.281 kB / 1.176 GB, free: 131 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05764/2.939, allocations: 29.99 MB / 1.205 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.595e-06/2.939, allocations: 0 / 1.205 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.64e-05/2.94, allocations: 4 kB / 1.205 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/2.94, allocations: 2.844 kB / 1.205 GB, free: 100.9 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002433/2.942, allocations: 0.7378 MB / 1.206 GB, free: 100.2 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/2.942, allocations: 7.922 kB / 1.206 GB, free: 100.2 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/2.942, allocations: 0 / 1.206 GB, free: 100.2 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02144/2.963, allocations: 16.14 MB / 1.222 GB, free: 83.9 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01556/2.979, allocations: 7.661 MB / 1.229 GB, free: 76.11 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009085/2.988, allocations: 256.1 kB / 1.229 GB, free: 75.86 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01059/2.999, allocations: 259.9 kB / 1.23 GB, free: 75.61 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.758e-05/2.999, allocations: 6 kB / 1.23 GB, free: 75.61 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007449/3.006, allocations: 3.422 MB / 1.233 GB, free: 72.18 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1228/3.129, allocations: 68.98 MB / 1.3 GB, free: 3.852 MB / 0.7329 GB Notification: Performance of sort global known variables: time 7.72e-07/3.129, allocations: 0 / 1.3 GB, free: 3.852 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01303/3.142, allocations: 2.473 MB / 1.303 GB, free: 1.383 MB / 0.7329 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.001858/3.144, allocations: 373.2 kB / 1.303 GB, free: 1.012 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.00793/3.152, allocations: 2.335 MB / 1.305 GB, free: 14.66 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/3.152, allocations: 0 / 1.305 GB, free: 14.66 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.002104/3.154, allocations: 1.329 MB / 1.307 GB, free: 13.32 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04547/3.2, allocations: 6.742 MB / 1.313 GB, free: 6.578 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5595/3.759, allocations: 161.5 MB / 1.471 GB, free: 136.5 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06137/3.821, allocations: 34.38 MB / 1.505 GB, free: 102 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.05479/3.875, allocations: 18.65 MB / 1.523 GB, free: 83.34 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007291/3.883, allocations: 3.914 MB / 1.527 GB, free: 79.42 MB / 0.7485 GB Notification: Performance of SimCode: time 1.432e-06/3.883, allocations: 0 / 1.527 GB, free: 79.42 MB / 0.7485 GB Notification: Performance of Templates: time 1.248/5.131, allocations: 333.9 MB / 1.853 GB, free: 2.188 MB / 0.7642 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches