Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.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_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="combiTimeTable.y.1.|time|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001577/0.001578, allocations: 101.8 kB / 16.5 MB, free: 6.645 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.001685/0.001685, allocations: 194.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.392/1.392, allocations: 222.9 MB / 241.1 MB, free: 15.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.9805/0.9805, allocations: 119.3 MB / 410.5 MB, free: 9.734 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 55.91 kB / 0.4902 GB, free: 14.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5744/0.5756, allocations: 80.68 MB / 0.569 GB, free: 43.47 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000): time 0.002483/0.5781, allocations: 1.639 MB / 0.5706 GB, free: 42.19 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.5794, allocations: 0.8801 MB / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.5795, allocations: 0 / 0.5715 GB, free: 41.51 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.002272/0.5818, allocations: 3.46 MB / 0.5749 GB, free: 39.77 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001273/0.5831, allocations: 1.793 MB / 0.5766 GB, free: 38.85 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003235/0.5835, allocations: 95.98 kB / 0.5767 GB, free: 38.79 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.003331/0.5868, allocations: 4.339 MB / 0.581 GB, free: 36.68 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 6.296e-05/0.5869, allocations: 7.953 kB / 0.581 GB, free: 36.67 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.59, allocations: 2.156 MB / 0.5831 GB, free: 35.52 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.5935, allocations: 3.818 MB / 0.5868 GB, free: 31.69 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0005426/0.594, allocations: 256 kB / 0.587 GB, free: 31.44 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005349/0.5946, allocations: 287.9 kB / 0.5873 GB, free: 31.16 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006556/0.6011, allocations: 9.966 MB / 0.597 GB, free: 21.17 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005773/0.6069, allocations: 5.643 MB / 0.6026 GB, free: 15.47 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.007256/0.6142, allocations: 11.93 MB / 0.6142 GB, free: 3.477 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.6142, allocations: 0 / 0.6142 GB, free: 3.477 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6142, allocations: 0 / 0.6142 GB, free: 3.477 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0003051/0.6146, allocations: 0 / 0.6142 GB, free: 3.477 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.02259/0.6372, allocations: 19.57 MB / 0.6333 GB, free: 15.68 MB / 494.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6372, allocations: 8.031 kB / 0.6333 GB, free: 15.67 MB / 494.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003319/0.6405, allocations: 2.21 MB / 0.6355 GB, free: 13.43 MB / 494.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04751/0.6881, allocations: 25.85 MB / 0.6607 GB, free: 3.391 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.6881, allocations: 4.375 kB / 0.6607 GB, free: 3.387 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.6882, allocations: 12.06 kB / 0.6607 GB, free: 3.375 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.6883, allocations: 41.69 kB / 0.6608 GB, free: 3.328 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.363e-06/0.6883, allocations: 0 / 0.6608 GB, free: 3.328 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/0.6884, allocations: 7.984 kB / 0.6608 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.6884, allocations: 0 / 0.6608 GB, free: 3.32 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.6884, allocations: 8 kB / 0.6608 GB, free: 3.312 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009366/0.6978, allocations: 6.954 MB / 0.6676 GB, free: 12.31 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002267/0.6981, allocations: 54.56 kB / 0.6676 GB, free: 12.25 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.063e-05/0.6981, allocations: 24.78 kB / 0.6677 GB, free: 12.22 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 2.6e-05/0.6982, allocations: 8 kB / 0.6677 GB, free: 12.21 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002266/0.6984, allocations: 59.39 kB / 0.6677 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.6984, allocations: 0 / 0.6677 GB, free: 12.14 MB / 0.5139 GB Notification: Performance of matching and sorting (n=5): time 0.003485/0.7019, allocations: 2.351 MB / 0.67 GB, free: 9.754 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.702, allocations: 55.34 kB / 0.6701 GB, free: 9.688 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0354/0.7374, allocations: 25.36 MB / 0.6948 GB, free: 0.5391 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.7375, allocations: 25.7 kB / 0.6949 GB, free: 0.5078 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0117/0.7492, allocations: 11.35 MB / 0.7059 GB, free: 5.152 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 7.364e-05/0.7493, allocations: 15.84 kB / 0.706 GB, free: 5.137 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-05/0.7494, allocations: 21.7 kB / 0.706 GB, free: 5.109 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 9.974e-05/0.7495, allocations: 310 kB / 0.7063 GB, free: 4.801 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.7496, allocations: 19.98 kB / 0.7063 GB, free: 4.781 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.473e-05/0.7496, allocations: 21.72 kB / 0.7063 GB, free: 4.754 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.7498, allocations: 49.95 kB / 0.7064 GB, free: 4.699 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.7498, allocations: 0 / 0.7064 GB, free: 4.699 MB / 0.5452 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.003597/0.7534, allocations: 2.339 MB / 0.7086 GB, free: 2.324 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.7534, allocations: 11.94 kB / 0.7087 GB, free: 2.312 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.7534, allocations: 8.016 kB / 0.7087 GB, free: 2.305 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.7534, allocations: 0 / 0.7087 GB, free: 2.305 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.7535, allocations: 12 kB / 0.7087 GB, free: 2.293 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7535, allocations: 4 kB / 0.7087 GB, free: 2.289 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002292/0.7558, allocations: 71.88 kB / 0.7087 GB, free: 2.219 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.7559, allocations: 0 / 0.7087 GB, free: 2.219 MB / 0.5452 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 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006419/0.7623, allocations: 4.764 MB / 0.7134 GB, free: 13.44 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003225/0.7655, allocations: 2.326 MB / 0.7157 GB, free: 11.09 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005267/0.7708, allocations: 2.573 MB / 0.7182 GB, free: 8.512 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.7708, allocations: 0 / 0.7182 GB, free: 8.512 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.7709, allocations: 0 / 0.7182 GB, free: 8.512 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.7709, allocations: 4 kB / 0.7182 GB, free: 8.508 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/0.783, allocations: 7.618 MB / 0.7256 GB, free: 0.8438 MB / 0.5608 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.7831, allocations: 4 kB / 0.7256 GB, free: 0.8398 MB / 0.5608 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.615e-05/0.7831, allocations: 3.984 kB / 0.7256 GB, free: 0.8359 MB / 0.5608 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.7832, allocations: 4 kB / 0.7256 GB, free: 0.832 MB / 0.5608 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.7832, allocations: 0 / 0.7256 GB, free: 0.832 MB / 0.5608 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.7832, allocations: 0 / 0.7256 GB, free: 0.832 MB / 0.5608 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7832, allocations: 0 / 0.7256 GB, free: 0.832 MB / 0.5608 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004699/0.7879, allocations: 2.583 MB / 0.7282 GB, free: 14.2 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003796/0.7917, allocations: 1.796 MB / 0.7299 GB, free: 12.36 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002271/0.794, allocations: 67.98 kB / 0.73 GB, free: 12.29 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001927/0.796, allocations: 64 kB / 0.73 GB, free: 12.23 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.796, allocations: 4 kB / 0.73 GB, free: 12.23 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.288e-05/0.7961, allocations: 0 / 0.73 GB, free: 12.23 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03195/0.828, allocations: 17.51 MB / 0.7471 GB, free: 10.87 MB / 0.592 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8281, allocations: 4 kB / 0.7471 GB, free: 10.86 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003977/0.8321, allocations: 0.6367 MB / 0.7478 GB, free: 10.23 MB / 0.592 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 (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.001038/0.8331, allocations: 404.2 kB / 0.7482 GB, free: 9.984 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.0002372/0.8334, allocations: 43.92 kB / 0.7482 GB, free: 9.941 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8334, allocations: 0 / 0.7482 GB, free: 9.941 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 7.234e-05/0.8335, allocations: 20 kB / 0.7482 GB, free: 9.922 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007975/0.8414, allocations: 1.711 MB / 0.7499 GB, free: 8.207 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5749/1.416, allocations: 39.06 MB / 0.788 GB, free: 143.7 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01985/1.436, allocations: 8.926 MB / 0.7968 GB, free: 138.5 MB / 0.5923 GB Notification: Performance of simCode: alias equations: time 0.01688/1.453, allocations: 5.66 MB / 0.8023 GB, free: 132.9 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005243/1.458, allocations: 2.217 MB / 0.8044 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of SimCode: time 2.946e-06/1.458, allocations: 0 / 0.8044 GB, free: 130.7 MB / 0.5923 GB Notification: Performance of Templates: time 0.175/1.633, allocations: 59.52 MB / 0.8626 GB, free: 71.2 MB / 0.5923 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.sim & ./ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.ScaledExperiments.CombiTimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches