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.0009573/0.0009578, allocations: 91.06 kB / 16.65 MB, free: 6.535 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.001287/0.001287, allocations: 174.5 kB / 17.56 MB, free: 6.184 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.411/1.411, allocations: 223.3 MB / 241.6 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.049/1.049, allocations: 120.5 MB / 413.2 MB, free: 9.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.000367, allocations: 11.98 kB / 0.4949 GB, free: 11.47 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5977/0.5981, allocations: 82.83 MB / 0.5758 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_8000): time 0.001447/0.5996, allocations: 1.144 MB / 0.5769 GB, free: 40.41 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.6006, allocations: 0.5799 MB / 0.5775 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.572e-05/0.6007, allocations: 0 / 0.5775 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.6059, allocations: 6.841 MB / 0.5842 GB, free: 36.52 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003618/0.6095, allocations: 6.88 MB / 0.5909 GB, free: 30.8 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003939/0.6099, allocations: 67.17 kB / 0.5909 GB, free: 30.73 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.01034/0.6203, allocations: 17.02 MB / 0.6076 GB, free: 13.69 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 7.492e-05/0.6204, allocations: 4 kB / 0.6076 GB, free: 13.68 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009581/0.63, allocations: 8.454 MB / 0.6158 GB, free: 5.215 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01821/0.6482, allocations: 15.17 MB / 0.6306 GB, free: 6.02 MB / 478.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005072/0.6534, allocations: 0.9766 MB / 0.6316 GB, free: 5.043 MB / 478.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004955/0.6583, allocations: 1.051 MB / 0.6326 GB, free: 3.992 MB / 478.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04111/0.6995, allocations: 39.8 MB / 0.6715 GB, free: 12.08 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.04481/0.7444, allocations: 22.51 MB / 0.6935 GB, free: 5.344 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.06245/0.8068, allocations: 47.2 MB / 0.7396 GB, free: 5.867 MB / 0.5764 GB Notification: Performance of FrontEnd - DAE generated: time 1.16e-05/0.8069, allocations: 0 / 0.7396 GB, free: 5.867 MB / 0.5764 GB Notification: Performance of FrontEnd: time 3.166e-06/0.807, allocations: 0 / 0.7396 GB, free: 5.867 MB / 0.5764 GB Notification: Performance of Transformations before backend: time 0.002498/0.8095, allocations: 0 / 0.7396 GB, free: 5.867 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.8012/1.611, allocations: 67.84 MB / 0.8058 GB, free: 91.09 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/1.611, allocations: 9.156 kB / 0.8058 GB, free: 91.08 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0134/1.624, allocations: 8.794 MB / 0.8144 GB, free: 82.17 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2954/1.92, allocations: 103.1 MB / 0.915 GB, free: 10.77 MB / 0.6235 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/1.92, allocations: 5.188 kB / 0.9151 GB, free: 10.77 MB / 0.6235 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002329/1.922, allocations: 256.4 kB / 0.9153 GB, free: 10.52 MB / 0.6235 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008571/1.931, allocations: 2.978 MB / 0.9182 GB, free: 7.535 MB / 0.6235 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/1.931, allocations: 0 / 0.9182 GB, free: 7.535 MB / 0.6235 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005556/1.931, allocations: 255.9 kB / 0.9185 GB, free: 7.285 MB / 0.6235 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.036e-06/1.931, allocations: 0 / 0.9185 GB, free: 7.285 MB / 0.6235 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00231/1.934, allocations: 1.734 MB / 0.9201 GB, free: 5.555 MB / 0.6235 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06419/1.998, allocations: 27.54 MB / 0.947 GB, free: 9.941 MB / 0.6548 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006535/2.004, allocations: 1.015 MB / 0.948 GB, free: 8.922 MB / 0.6548 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005537/2.01, allocations: 1.005 MB / 0.949 GB, free: 7.914 MB / 0.6548 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/2.01, allocations: 4.031 kB / 0.949 GB, free: 7.91 MB / 0.6548 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007678/2.018, allocations: 2.535 MB / 0.9515 GB, free: 5.355 MB / 0.6548 GB Notification: Performance of pre-optimization done (n=8): time 4.027e-06/2.018, allocations: 0 / 0.9515 GB, free: 5.355 MB / 0.6548 GB Notification: Performance of matching and sorting (n=8): time 0.05168/2.069, allocations: 16.5 MB / 0.9676 GB, free: 4.723 MB / 0.6704 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.12e-05/2.07, allocations: 81.11 kB / 0.9677 GB, free: 4.625 MB / 0.6704 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.6074/2.677, allocations: 99.07 MB / 1.064 GB, free: 191.4 MB / 0.7329 GB Notification: Performance of collectPreVariables (initialization): time 0.002223/2.679, allocations: 275.5 kB / 1.065 GB, free: 191.4 MB / 0.7329 GB Notification: Performance of collectInitialEqns (initialization): time 0.06007/2.739, allocations: 46.97 MB / 1.111 GB, free: 153.2 MB / 0.7329 GB Notification: Performance of collectInitialBindings (initialization): time 0.002009/2.741, allocations: 265.6 kB / 1.111 GB, free: 153.2 MB / 0.7329 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/2.743, allocations: 274.5 kB / 1.111 GB, free: 153.1 MB / 0.7329 GB Notification: Performance of setup shared object (initialization): time 5.984e-05/2.743, allocations: 306 kB / 1.111 GB, free: 152.8 MB / 0.7329 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001826/2.745, allocations: 0.9896 MB / 1.112 GB, free: 152.8 MB / 0.7329 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001437/2.746, allocations: 0.9942 MB / 1.113 GB, free: 152.8 MB / 0.7329 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002933/2.749, allocations: 2.059 MB / 1.115 GB, free: 152.7 MB / 0.7329 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/2.749, allocations: 6.281 kB / 1.115 GB, free: 152.7 MB / 0.7329 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.02876/2.778, allocations: 15.51 MB / 1.13 GB, free: 152.7 MB / 0.7329 GB Notification: Performance of prepare postOptimizeDAE: time 8.066e-05/2.778, allocations: 42.25 kB / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/2.778, allocations: 2 kB / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.773e-05/2.778, allocations: 0.75 kB / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/2.778, allocations: 4 kB / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/2.778, allocations: 0 / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01617/2.794, allocations: 259 kB / 1.131 GB, free: 152.6 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008355/2.803, allocations: 3.42 MB / 1.134 GB, free: 152.1 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.02932/2.832, allocations: 19.19 MB / 1.153 GB, free: 147.1 MB / 0.7329 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01651/2.849, allocations: 9.043 MB / 1.162 GB, free: 146.4 MB / 0.7329 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02468/2.873, allocations: 10.23 MB / 1.172 GB, free: 136.2 MB / 0.7329 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/2.873, allocations: 3.656 kB / 1.172 GB, free: 136.2 MB / 0.7329 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/2.873, allocations: 0 / 1.172 GB, free: 136.2 MB / 0.7329 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/2.873, allocations: 2 kB / 1.172 GB, free: 136.2 MB / 0.7329 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06589/2.939, allocations: 29.99 MB / 1.201 GB, free: 106.1 MB / 0.7329 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/2.939, allocations: 4 kB / 1.201 GB, free: 106.1 MB / 0.7329 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.246e-05/2.939, allocations: 3.844 kB / 1.201 GB, free: 106.1 MB / 0.7329 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/2.939, allocations: 3.609 kB / 1.201 GB, free: 106.1 MB / 0.7329 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00238/2.942, allocations: 0.748 MB / 1.202 GB, free: 105.4 MB / 0.7329 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/2.942, allocations: 0.875 kB / 1.202 GB, free: 105.4 MB / 0.7329 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.942, allocations: 0 / 1.202 GB, free: 105.4 MB / 0.7329 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0194/2.961, allocations: 16.14 MB / 1.217 GB, free: 89.09 MB / 0.7329 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01725/2.978, allocations: 7.653 MB / 1.225 GB, free: 81.3 MB / 0.7329 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008536/2.987, allocations: 259.9 kB / 1.225 GB, free: 81.05 MB / 0.7329 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01147/2.999, allocations: 256 kB / 1.225 GB, free: 80.8 MB / 0.7329 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/2.999, allocations: 2 kB / 1.225 GB, free: 80.8 MB / 0.7329 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007435/3.006, allocations: 3.427 MB / 1.229 GB, free: 77.37 MB / 0.7329 GB Notification: Performance of sorting global known variables: time 0.1129/3.119, allocations: 68.97 MB / 1.296 GB, free: 9.043 MB / 0.7329 GB Notification: Performance of sort global known variables: time 7.01e-07/3.119, allocations: 96 / 1.296 GB, free: 9.043 MB / 0.7329 GB Notification: Performance of remove unused functions: time 0.01147/3.131, allocations: 2.476 MB / 1.299 GB, free: 6.57 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.001872/3.132, allocations: 377 kB / 1.299 GB, free: 6.199 MB / 0.7329 GB Notification: Performance of simCode: created initialization part: time 0.006608/3.139, allocations: 2.335 MB / 1.301 GB, free: 3.852 MB / 0.7329 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/3.139, allocations: 0 / 1.301 GB, free: 3.852 MB / 0.7329 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/3.141, allocations: 1.329 MB / 1.302 GB, free: 2.512 MB / 0.7329 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04387/3.185, allocations: 6.749 MB / 1.309 GB, free: 11.76 MB / 0.7485 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5897/3.775, allocations: 161.5 MB / 1.467 GB, free: 137.7 MB / 0.7485 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.07508/3.85, allocations: 34.39 MB / 1.5 GB, free: 103.3 MB / 0.7485 GB Notification: Performance of simCode: alias equations: time 0.055/3.905, allocations: 18.64 MB / 1.519 GB, free: 84.59 MB / 0.7485 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007745/3.913, allocations: 3.917 MB / 1.522 GB, free: 80.67 MB / 0.7485 GB Notification: Performance of SimCode: time 1.502e-06/3.913, allocations: 4 kB / 1.522 GB, free: 80.67 MB / 0.7485 GB Notification: Performance of Templates: time 1.222/5.135, allocations: 333.9 MB / 1.848 GB, free: 15.88 MB / 0.7798 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