Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_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.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 88.52 kB / 16.31 MB, free: 5.516 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.001911/0.001911, allocations: 182.1 kB / 17.21 MB, free: 5.453 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.487/1.487, allocations: 223.2 MB / 241.2 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.211/1.211, allocations: 120.5 MB / 412.8 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003741/0.0003741, allocations: 12 kB / 0.4943 GB, free: 11.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6895/0.6899, allocations: 82.84 MB / 0.5752 GB, free: 41.9 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000): time 0.001938/0.6919, allocations: 1.273 MB / 0.5764 GB, free: 40.89 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.6932, allocations: 0.8128 MB / 0.5772 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.6933, allocations: 5.062 kB / 0.5772 GB, free: 40.26 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.009498/0.7028, allocations: 15.17 MB / 0.592 GB, free: 29.13 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.003607/0.7065, allocations: 7.651 MB / 0.5995 GB, free: 21.47 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004245/0.7069, allocations: 87.84 kB / 0.5996 GB, free: 21.38 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.008105/0.715, allocations: 14.49 MB / 0.6137 GB, free: 6.871 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 8.965e-05/0.7152, allocations: 8 kB / 0.6137 GB, free: 6.863 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01469/0.7299, allocations: 8.84 MB / 0.6224 GB, free: 14.01 MB / 478.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02839/0.7583, allocations: 16.27 MB / 0.6382 GB, free: 13.71 MB / 494.3 MB Notification: Performance of NFPackage.collectConstants: time 0.005468/0.7639, allocations: 0.9805 MB / 0.6392 GB, free: 12.73 MB / 494.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003675/0.7676, allocations: 0.9922 MB / 0.6402 GB, free: 11.74 MB / 494.3 MB Notification: Performance of NFScalarize.scalarize: time 0.04936/0.817, allocations: 39.82 MB / 0.6791 GB, free: 3.836 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01716/0.8342, allocations: 7.846 MB / 0.6867 GB, free: 11.93 MB / 0.5295 GB Notification: Performance of NFConvertDAE.convert: time 0.05141/0.8856, allocations: 35.95 MB / 0.7218 GB, free: 7.871 MB / 0.5608 GB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.8857, allocations: 4 kB / 0.7218 GB, free: 7.867 MB / 0.5608 GB Notification: Performance of FrontEnd: time 4.268e-06/0.8857, allocations: 0 / 0.7218 GB, free: 7.867 MB / 0.5608 GB Notification: Performance of Transformations before backend: time 0.00245/0.8882, allocations: 4 kB / 0.7218 GB, free: 7.863 MB / 0.5608 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.7995/1.688, allocations: 68.83 MB / 0.7891 GB, free: 91.6 MB / 0.5923 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/1.688, allocations: 12.03 kB / 0.7891 GB, free: 91.59 MB / 0.5923 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01892/1.707, allocations: 8.801 MB / 0.7977 GB, free: 82.67 MB / 0.5923 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.333/2.04, allocations: 98.18 MB / 0.8935 GB, free: 260 kB / 0.6079 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/2.04, allocations: 7.984 kB / 0.8936 GB, free: 252 kB / 0.6079 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/2.04, allocations: 7.281 kB / 0.8936 GB, free: 248 kB / 0.6079 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002315/2.04, allocations: 41.69 kB / 0.8936 GB, free: 200 kB / 0.6079 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/2.04, allocations: 0 / 0.8936 GB, free: 200 kB / 0.6079 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.964e-05/2.04, allocations: 3.984 kB / 0.8936 GB, free: 196 kB / 0.6079 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/2.04, allocations: 5.594 kB / 0.8936 GB, free: 192 kB / 0.6079 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.676e-05/2.04, allocations: 18.44 kB / 0.8936 GB, free: 176 kB / 0.6079 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05612/2.096, allocations: 27.31 MB / 0.9203 GB, free: 4.789 MB / 0.6392 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002564/2.097, allocations: 57.7 kB / 0.9203 GB, free: 4.73 MB / 0.6392 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/2.097, allocations: 16.86 kB / 0.9204 GB, free: 4.711 MB / 0.6392 GB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/2.097, allocations: 4 kB / 0.9204 GB, free: 4.707 MB / 0.6392 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/2.097, allocations: 66.2 kB / 0.9204 GB, free: 4.633 MB / 0.6392 GB Notification: Performance of pre-optimization done (n=5): time 2.846e-06/2.097, allocations: 0 / 0.9204 GB, free: 4.633 MB / 0.6392 GB Notification: Performance of matching and sorting (n=5): time 0.01963/2.117, allocations: 9.131 MB / 0.9293 GB, free: 11.38 MB / 0.6548 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/2.117, allocations: 51.41 kB / 0.9294 GB, free: 11.31 MB / 0.6548 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.231/2.348, allocations: 100.8 MB / 1.028 GB, free: 7.41 MB / 0.7485 GB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/2.348, allocations: 25.7 kB / 1.028 GB, free: 7.379 MB / 0.7485 GB Notification: Performance of collectInitialEqns (initialization): time 0.5012/2.849, allocations: 49.01 MB / 1.076 GB, free: 240.2 MB / 0.7642 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/2.849, allocations: 13.97 kB / 1.076 GB, free: 240.2 MB / 0.7642 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/2.849, allocations: 0.5938 kB / 1.076 GB, free: 240.2 MB / 0.7642 GB Notification: Performance of setup shared object (initialization): time 7.659e-05/2.849, allocations: 310.8 kB / 1.076 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/2.849, allocations: 13.08 kB / 1.076 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.339e-05/2.85, allocations: 35.7 kB / 1.076 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.404e-05/2.85, allocations: 16.8 kB / 1.076 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/2.85, allocations: 0 / 1.076 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.02046/2.87, allocations: 9.114 MB / 1.085 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/2.87, allocations: 7.562 kB / 1.085 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/2.87, allocations: 1.875 kB / 1.085 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/2.87, allocations: 1.25 kB / 1.085 GB, free: 239.9 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001262/2.87, allocations: 12.84 kB / 1.085 GB, free: 239.8 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/2.87, allocations: 3.219 kB / 1.085 GB, free: 239.8 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01697/2.887, allocations: 259.2 kB / 1.085 GB, free: 239.8 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.665e-05/2.887, allocations: 4.844 kB / 1.085 GB, free: 239.8 MB / 0.7642 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.03134/2.919, allocations: 18.67 MB / 1.103 GB, free: 237.8 MB / 0.7642 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01674/2.936, allocations: 9.283 MB / 1.113 GB, free: 232.8 MB / 0.7642 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02188/2.957, allocations: 10.23 MB / 1.123 GB, free: 229.9 MB / 0.7642 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/2.957, allocations: 5.453 kB / 1.123 GB, free: 229.9 MB / 0.7642 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.957, allocations: 2.062 kB / 1.123 GB, free: 229.9 MB / 0.7642 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/2.958, allocations: 7.953 kB / 1.123 GB, free: 229.9 MB / 0.7642 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06025/3.018, allocations: 29.99 MB / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-06/3.018, allocations: 4 kB / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.146e-05/3.018, allocations: 3.938 kB / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/3.018, allocations: 4 kB / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/3.018, allocations: 2 kB / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/3.018, allocations: 0 / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/3.018, allocations: 0 / 1.152 GB, free: 211.5 MB / 0.7642 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01587/3.034, allocations: 9.967 MB / 1.162 GB, free: 201.4 MB / 0.7642 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01945/3.053, allocations: 7.661 MB / 1.169 GB, free: 193.6 MB / 0.7642 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01137/3.065, allocations: 252 kB / 1.169 GB, free: 193.4 MB / 0.7642 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01124/3.076, allocations: 255.1 kB / 1.17 GB, free: 193.1 MB / 0.7642 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/3.076, allocations: 9.984 kB / 1.17 GB, free: 193.1 MB / 0.7642 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.137e-05/3.076, allocations: 0 / 1.17 GB, free: 193.1 MB / 0.7642 GB Notification: Performance of sorting global known variables: time 0.1322/3.208, allocations: 69.74 MB / 1.238 GB, free: 124 MB / 0.7642 GB Notification: Performance of sort global known variables: time 1.132e-06/3.208, allocations: 0 / 1.238 GB, free: 124 MB / 0.7642 GB Notification: Performance of remove unused functions: time 0.01384/3.222, allocations: 2.457 MB / 1.24 GB, free: 121.6 MB / 0.7642 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001072/3.223, allocations: 411.7 kB / 1.24 GB, free: 121.3 MB / 0.7642 GB Notification: Performance of simCode: created initialization part: time 0.0002229/3.223, allocations: 43.97 kB / 1.241 GB, free: 121.3 MB / 0.7642 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/3.224, allocations: 2 kB / 1.241 GB, free: 121.3 MB / 0.7642 GB Notification: Performance of simCode: created simulation system equations: time 5.862e-05/3.224, allocations: 16 kB / 1.241 GB, free: 121.3 MB / 0.7642 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03236/3.256, allocations: 6.77 MB / 1.247 GB, free: 114.5 MB / 0.7642 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6364/3.892, allocations: 152.8 MB / 1.396 GB, free: 210.6 MB / 0.7642 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.08583/3.978, allocations: 34.39 MB / 1.43 GB, free: 195 MB / 0.7642 GB Notification: Performance of simCode: alias equations: time 0.08446/4.063, allocations: 22.59 MB / 1.452 GB, free: 184.2 MB / 0.7642 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03008/4.093, allocations: 8.811 MB / 1.461 GB, free: 181.3 MB / 0.7642 GB Notification: Performance of SimCode: time 1.853e-06/4.093, allocations: 0 / 1.461 GB, free: 181.3 MB / 0.7642 GB Notification: Performance of Templates: time 1.161/5.254, allocations: 246.4 MB / 1.701 GB, free: 197.8 MB / 0.7642 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_8000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches