Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_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.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") translateModel(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|timeTable.y",fileNamePrefix="ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 94.81 kB / 17.31 MB, free: 5.98 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.001315/0.001315, allocations: 179.4 kB / 18.21 MB, free: 5.406 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.325/1.325, allocations: 223.3 MB / 242.3 MB, free: 204 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.003/1.003, allocations: 120.5 MB / 413.8 MB, free: 9.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003697, allocations: 8.281 kB / 0.4955 GB, free: 11.44 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/0.6022, allocations: 82.85 MB / 0.5764 GB, free: 42.18 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000): time 0.001454/0.6037, allocations: 1.128 MB / 0.5775 GB, free: 41.27 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0009042/0.6046, allocations: 0.581 MB / 0.5781 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.859e-05/0.6047, allocations: 1.812 kB / 0.5781 GB, free: 40.83 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.606, allocations: 1.72 MB / 0.5798 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 0.001488/0.6075, allocations: 1.76 MB / 0.5815 GB, free: 39.07 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.6078, allocations: 60.02 kB / 0.5816 GB, free: 39.03 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.004222/0.6121, allocations: 4.297 MB / 0.5858 GB, free: 36.87 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.6121, allocations: 11.92 kB / 0.5858 GB, free: 36.86 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003724/0.6159, allocations: 2.137 MB / 0.5879 GB, free: 34.72 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003418/0.6193, allocations: 3.806 MB / 0.5916 GB, free: 30.91 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0004379/0.6197, allocations: 256 kB / 0.5918 GB, free: 30.66 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005127/0.6203, allocations: 327.9 kB / 0.5921 GB, free: 30.34 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.006725/0.627, allocations: 9.958 MB / 0.6019 GB, free: 20.35 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.005971/0.633, allocations: 5.657 MB / 0.6074 GB, free: 14.63 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.006294/0.6393, allocations: 9.029 MB / 0.6162 GB, free: 5.578 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.6394, allocations: 0 / 0.6162 GB, free: 5.578 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6394, allocations: 0 / 0.6162 GB, free: 5.578 MB / 462.3 MB Notification: Performance of Transformations before backend: time 0.0004193/0.6398, allocations: 0 / 0.6162 GB, free: 5.578 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02431/0.6641, allocations: 17.23 MB / 0.633 GB, free: 4.148 MB / 478.3 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.6642, allocations: 8.031 kB / 0.633 GB, free: 4.141 MB / 478.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004431/0.6686, allocations: 2.206 MB / 0.6352 GB, free: 1.906 MB / 478.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0523/0.7209, allocations: 25.82 MB / 0.6604 GB, free: 7.883 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.721, allocations: 12.31 kB / 0.6604 GB, free: 7.871 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.7212, allocations: 64.38 kB / 0.6605 GB, free: 7.809 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00094/0.7221, allocations: 0.7863 MB / 0.6613 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7222, allocations: 0 / 0.6613 GB, free: 7.016 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/0.7223, allocations: 64 kB / 0.6613 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.7223, allocations: 0 / 0.6613 GB, free: 6.953 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006066/0.7229, allocations: 460 kB / 0.6618 GB, free: 6.504 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0132/0.7361, allocations: 6.996 MB / 0.6686 GB, free: 15.46 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007668/0.7369, allocations: 294.6 kB / 0.6689 GB, free: 15.16 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004406/0.7374, allocations: 280.9 kB / 0.6691 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 1.041e-05/0.7374, allocations: 0 / 0.6691 GB, free: 14.88 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000783/0.7382, allocations: 0.7075 MB / 0.6698 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=8): time 2.194e-06/0.7382, allocations: 0 / 0.6698 GB, free: 14.16 MB / 0.5139 GB Notification: Performance of matching and sorting (n=8): time 0.00612/0.7443, allocations: 4.228 MB / 0.674 GB, free: 9.887 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.7444, allocations: 81.11 kB / 0.674 GB, free: 9.789 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04214/0.7866, allocations: 24.85 MB / 0.6983 GB, free: 1.148 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003869/0.787, allocations: 89.7 kB / 0.6984 GB, free: 1.055 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 0.01336/0.8004, allocations: 10.82 MB / 0.7089 GB, free: 6.23 MB / 0.5452 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.8011, allocations: 79.72 kB / 0.709 GB, free: 6.152 MB / 0.5452 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.8013, allocations: 81.7 kB / 0.7091 GB, free: 6.066 MB / 0.5452 GB Notification: Performance of setup shared object (initialization): time 0.0001144/0.8014, allocations: 310 kB / 0.7094 GB, free: 5.758 MB / 0.5452 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004768/0.8019, allocations: 271.9 kB / 0.7097 GB, free: 5.492 MB / 0.5452 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.8024, allocations: 264 kB / 0.7099 GB, free: 5.234 MB / 0.5452 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009289/0.8033, allocations: 0.5901 MB / 0.7105 GB, free: 4.629 MB / 0.5452 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.8033, allocations: 0 / 0.7105 GB, free: 4.629 MB / 0.5452 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.00595/0.8093, allocations: 3.982 MB / 0.7144 GB, free: 0.6055 MB / 0.5452 GB Notification: Performance of prepare postOptimizeDAE: time 5.327e-05/0.8094, allocations: 37.69 kB / 0.7144 GB, free: 0.5625 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8094, allocations: 0 / 0.7144 GB, free: 0.5625 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.8094, allocations: 0 / 0.7144 GB, free: 0.5625 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.8095, allocations: 7.938 kB / 0.7144 GB, free: 0.5547 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.8095, allocations: 0 / 0.7144 GB, free: 0.5547 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003476/0.813, allocations: 71.94 kB / 0.7145 GB, free: 496 kB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008944/0.8139, allocations: 0.8555 MB / 0.7153 GB, free: 15.62 MB / 0.5608 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.009567/0.8235, allocations: 4.909 MB / 0.7201 GB, free: 10.7 MB / 0.5608 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004193/0.8277, allocations: 2.275 MB / 0.7223 GB, free: 8.395 MB / 0.5608 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006467/0.8342, allocations: 2.565 MB / 0.7248 GB, free: 5.82 MB / 0.5608 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.8342, allocations: 0 / 0.7248 GB, free: 5.82 MB / 0.5608 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.8342, allocations: 0 / 0.7248 GB, free: 5.82 MB / 0.5608 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8343, allocations: 0 / 0.7248 GB, free: 5.82 MB / 0.5608 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/0.8539, allocations: 7.621 MB / 0.7323 GB, free: 14.15 MB / 0.5764 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.854, allocations: 4 kB / 0.7323 GB, free: 14.14 MB / 0.5764 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.244e-05/0.854, allocations: 3.938 kB / 0.7323 GB, free: 14.14 MB / 0.5764 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.854, allocations: 4 kB / 0.7323 GB, free: 14.14 MB / 0.5764 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006465/0.8547, allocations: 192 kB / 0.7325 GB, free: 13.95 MB / 0.5764 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.581e-06/0.8547, allocations: 3.938 kB / 0.7325 GB, free: 13.95 MB / 0.5764 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.8547, allocations: 0 / 0.7325 GB, free: 13.95 MB / 0.5764 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005427/0.8601, allocations: 4.158 MB / 0.7365 GB, free: 9.734 MB / 0.5764 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003862/0.864, allocations: 1.98 MB / 0.7385 GB, free: 7.707 MB / 0.5764 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001384/0.8654, allocations: 72 kB / 0.7385 GB, free: 7.637 MB / 0.5764 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001305/0.8667, allocations: 67.98 kB / 0.7386 GB, free: 7.57 MB / 0.5764 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.8668, allocations: 8 kB / 0.7386 GB, free: 7.562 MB / 0.5764 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006412/0.8674, allocations: 0.8555 MB / 0.7394 GB, free: 6.707 MB / 0.5764 GB Notification: Performance of sorting global known variables: time 0.03141/0.8989, allocations: 17.24 MB / 0.7563 GB, free: 5.617 MB / 0.592 GB Notification: Performance of sort global known variables: time 6.71e-07/0.8989, allocations: 0 / 0.7563 GB, free: 5.617 MB / 0.592 GB Notification: Performance of remove unused functions: time 0.003218/0.9021, allocations: 0.6406 MB / 0.7569 GB, free: 4.977 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: 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.0003678/0.9025, allocations: 182.1 kB / 0.7571 GB, free: 4.793 MB / 0.592 GB Notification: Performance of simCode: created initialization part: time 0.001171/0.9037, allocations: 0.6868 MB / 0.7578 GB, free: 4.094 MB / 0.592 GB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.9037, allocations: 0 / 0.7578 GB, free: 4.094 MB / 0.592 GB Notification: Performance of simCode: created simulation system equations: time 0.0005939/0.9043, allocations: 435.3 kB / 0.7582 GB, free: 3.656 MB / 0.592 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006008/0.9103, allocations: 1.691 MB / 0.7598 GB, free: 1.961 MB / 0.592 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6117/1.522, allocations: 39.9 MB / 0.7988 GB, free: 138.9 MB / 0.5923 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01243/1.535, allocations: 8.912 MB / 0.8075 GB, free: 129.9 MB / 0.5923 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001609/1.536, allocations: 0.9877 MB / 0.8085 GB, free: 128.9 MB / 0.5923 GB Notification: Performance of SimCode: time 1.363e-06/1.536, allocations: 0 / 0.8085 GB, free: 128.9 MB / 0.5923 GB Notification: Performance of Templates: time 4.82/6.356, allocations: 1.614 GB / 2.423 GB, free: 190.8 MB / 0.7173 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Elementary.Tables.ScaledExperiments.TimeTable_N_2000.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches