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.001163/0.001163, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001206/0.001206, allocations: 191.4 kB / 18.51 MB, free: 4.641 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.432/1.432, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.069/1.069, allocations: 119.3 MB / 411.7 MB, free: 9.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 0.4916 GB, free: 13.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6007/0.6022, allocations: 80.69 MB / 0.5704 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.002682/0.605, allocations: 1.414 MB / 0.5718 GB, free: 42.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009485/0.606, allocations: 0.5738 MB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.338e-05/0.606, allocations: 1.438 kB / 0.5723 GB, free: 41.82 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.004816/0.6108, allocations: 6.843 MB / 0.579 GB, free: 38.38 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.004391/0.6153, allocations: 6.894 MB / 0.5858 GB, free: 33.95 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.000457/0.6158, allocations: 71.8 kB / 0.5858 GB, free: 33.88 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01334/0.6291, allocations: 17.03 MB / 0.6025 GB, free: 16.82 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.6293, allocations: 11.98 kB / 0.6025 GB, free: 16.81 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0129/0.6422, allocations: 8.458 MB / 0.6107 GB, free: 8.336 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02001/0.6622, allocations: 16.14 MB / 0.6265 GB, free: 8.168 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.006804/0.6691, allocations: 0.9843 MB / 0.6275 GB, free: 7.184 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006741/0.6759, allocations: 1.051 MB / 0.6285 GB, free: 6.133 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04676/0.7227, allocations: 39.81 MB / 0.6673 GB, free: 14.22 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.03844/0.7611, allocations: 22.48 MB / 0.6893 GB, free: 7.523 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.05971/0.8209, allocations: 48.43 MB / 0.7366 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.821, allocations: 0 / 0.7366 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of FrontEnd: time 2.835e-06/0.821, allocations: 0 / 0.7366 GB, free: 6.824 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002256/0.8232, allocations: 4 kB / 0.7366 GB, free: 6.82 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.7806/1.604, allocations: 77.12 MB / 0.8119 GB, free: 84.12 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.604, allocations: 8.031 kB / 0.8119 GB, free: 84.12 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/1.62, allocations: 8.798 MB / 0.8205 GB, free: 75.2 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3241/1.944, allocations: 103 MB / 0.9211 GB, free: 3.555 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.415e-05/1.944, allocations: 5.109 kB / 0.9211 GB, free: 3.551 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002285/1.946, allocations: 252.4 kB / 0.9214 GB, free: 3.305 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005492/1.952, allocations: 2.978 MB / 0.9243 GB, free: 328 kB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/1.952, allocations: 0.9375 kB / 0.9243 GB, free: 328 kB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/1.952, allocations: 259.5 kB / 0.9245 GB, free: 72 kB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.952, allocations: 0 / 0.9245 GB, free: 72 kB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002368/1.955, allocations: 1.731 MB / 0.9262 GB, free: 14.34 MB / 0.6392 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06352/2.018, allocations: 27.55 MB / 0.9531 GB, free: 2.723 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003934/2.022, allocations: 1.018 MB / 0.9541 GB, free: 1.695 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/2.024, allocations: 1.001 MB / 0.9551 GB, free: 0.6914 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/2.024, allocations: 4 kB / 0.9551 GB, free: 0.6875 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002755/2.027, allocations: 2.534 MB / 0.9576 GB, free: 14.13 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=8): time 3.467e-06/2.027, allocations: 0 / 0.9576 GB, free: 14.13 MB / 0.6704 GB Notification: Performance of matching and sorting (n=8): time 0.03133/2.058, allocations: 16.51 MB / 0.9737 GB, free: 13.49 MB / 0.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/2.058, allocations: 80.23 kB / 0.9738 GB, free: 13.4 MB / 0.686 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7153/2.773, allocations: 99.07 MB / 1.071 GB, free: 197.3 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.001969/2.775, allocations: 276 kB / 1.071 GB, free: 197.3 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.05159/2.827, allocations: 46.97 MB / 1.117 GB, free: 158.8 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.00216/2.829, allocations: 272.2 kB / 1.117 GB, free: 158.8 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003009/2.832, allocations: 1.729 MB / 1.119 GB, free: 158.8 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 7.231e-05/2.832, allocations: 310.3 kB / 1.119 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/2.834, allocations: 0.9937 MB / 1.12 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/2.835, allocations: 0.9934 MB / 1.121 GB, free: 158.5 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003356/2.838, allocations: 2.056 MB / 1.123 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/2.838, allocations: 0.75 kB / 1.123 GB, free: 158.4 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02432/2.863, allocations: 15.51 MB / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 6.56e-05/2.863, allocations: 41.19 kB / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/2.863, allocations: 3.75 kB / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.407e-05/2.863, allocations: 0 / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.846e-05/2.863, allocations: 3.812 kB / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/2.863, allocations: 0 / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01226/2.875, allocations: 258.9 kB / 1.138 GB, free: 158.3 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004227/2.88, allocations: 3.426 MB / 1.142 GB, free: 157.8 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.02625/2.906, allocations: 19.19 MB / 1.16 GB, free: 145.2 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0131/2.919, allocations: 9.043 MB / 1.169 GB, free: 141 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02261/2.942, allocations: 10.22 MB / 1.179 GB, free: 130.8 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/2.942, allocations: 3.375 kB / 1.179 GB, free: 130.8 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.942, allocations: 4 kB / 1.179 GB, free: 130.8 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/2.942, allocations: 0 / 1.179 GB, free: 130.8 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05744/2.999, allocations: 29.99 MB / 1.208 GB, free: 100.7 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/2.999, allocations: 3.094 kB / 1.208 GB, free: 100.7 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.564e-05/2.999, allocations: 4 kB / 1.208 GB, free: 100.7 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/2.999, allocations: 3.938 kB / 1.208 GB, free: 100.7 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003122/3.002, allocations: 0.7486 MB / 1.209 GB, free: 99.96 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/3.002, allocations: 3.5 kB / 1.209 GB, free: 99.96 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/3.002, allocations: 0 / 1.209 GB, free: 99.96 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02637/3.029, allocations: 16.14 MB / 1.225 GB, free: 83.69 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02042/3.049, allocations: 7.661 MB / 1.232 GB, free: 75.9 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01177/3.061, allocations: 255.9 kB / 1.233 GB, free: 75.65 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01381/3.075, allocations: 256 kB / 1.233 GB, free: 75.4 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.101e-05/3.075, allocations: 4 kB / 1.233 GB, free: 75.39 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.008131/3.083, allocations: 3.418 MB / 1.236 GB, free: 71.98 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.122/3.205, allocations: 68.98 MB / 1.304 GB, free: 3.641 MB / 0.7329 GB Notification: Performance of sort global known variables: time 4.31e-07/3.205, allocations: 2 kB / 1.304 GB, free: 3.641 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01542/3.221, allocations: 2.472 MB / 1.306 GB, free: 1.172 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.002948/3.224, allocations: 375.7 kB / 1.306 GB, free: 0.8008 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.01151/3.235, allocations: 2.337 MB / 1.309 GB, free: 14.45 MB / 0.7485 GB Notification: Performance of simCode: created event and clocks part: time 5.56e-06/3.235, allocations: 0 / 1.309 GB, free: 14.45 MB / 0.7485 GB Notification: Performance of simCode: created simulation system equations: time 0.00553/3.241, allocations: 1.331 MB / 1.31 GB, free: 13.11 MB / 0.7485 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04994/3.291, allocations: 6.744 MB / 1.317 GB, free: 6.367 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5995/3.89, allocations: 149.3 MB / 1.462 GB, free: 167.4 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06466/3.955, allocations: 34.38 MB / 1.496 GB, free: 132.9 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006611/3.962, allocations: 3.914 MB / 1.5 GB, free: 129 MB / 0.7485 GB Notification: Performance of SimCode: time 1.924e-06/3.962, allocations: 0.75 kB / 1.5 GB, free: 129 MB / 0.7485 GB Notification: Performance of Templates: time 83.25/87.21, allocations: 23.63 GB / 25.13 GB, free: 171.2 MB / 0.9829 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches