Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.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.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="der.u.100..|der.u.1..|der.u.2..|der.u.3..|der.u.4..|der.u.5..|time|time|u.100.|u.1.|u.2.|u.3.|u.4.|u.5.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 112.6 kB / 17.69 MB, free: 5.441 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.001466/0.001466, allocations: 191 kB / 18.63 MB, free: 4.508 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.539/1.539, allocations: 222.9 MB / 242.3 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.434/1.434, allocations: 119.3 MB / 411.8 MB, free: 9.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.001651, allocations: 55.91 kB / 0.4924 GB, free: 13.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8032/0.8048, allocations: 80.7 MB / 0.5712 GB, free: 43.53 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.003102/0.808, allocations: 0.5034 MB / 0.5717 GB, free: 43.16 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0002734/0.8084, allocations: 30.77 kB / 0.5717 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.808e-05/0.8084, allocations: 0 / 0.5717 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 0.0001093/0.8085, allocations: 0 / 0.5717 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 2.302e-05/0.8086, allocations: 5.312 kB / 0.5717 GB, free: 43.14 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002817/0.8089, allocations: 9.344 kB / 0.5717 GB, free: 43.13 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.8101, allocations: 1.022 MB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 9.316e-05/0.8102, allocations: 9.703 kB / 0.5727 GB, free: 42.57 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006042/0.8108, allocations: 416.8 kB / 0.5731 GB, free: 42.4 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009168/0.8117, allocations: 0.5126 MB / 0.5736 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.000176/0.8119, allocations: 44.25 kB / 0.5737 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.8121, allocations: 43.75 kB / 0.5737 GB, free: 42.1 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002836/0.8123, allocations: 234.5 kB / 0.5739 GB, free: 41.95 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0004329/0.8128, allocations: 259.7 kB / 0.5742 GB, free: 41.77 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006535/0.8135, allocations: 0.5514 MB / 0.5747 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 6.922e-06/0.8135, allocations: 0 / 0.5747 GB, free: 41.44 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.224e-06/0.8135, allocations: 1.125 kB / 0.5747 GB, free: 41.44 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.8135, allocations: 0 / 0.5747 GB, free: 41.44 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.005371/0.8189, allocations: 1.536 MB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/0.819, allocations: 17.42 kB / 0.5762 GB, free: 40.48 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002217/0.8192, allocations: 42.47 kB / 0.5763 GB, free: 40.46 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.8202, allocations: 322.7 kB / 0.5766 GB, free: 40.2 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.276e-05/0.8202, allocations: 29.88 kB / 0.5766 GB, free: 40.18 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000263/0.8205, allocations: 89.23 kB / 0.5767 GB, free: 40.13 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.8222, allocations: 0.8777 MB / 0.5775 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.8222, allocations: 1.125 kB / 0.5775 GB, free: 39.62 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.936e-05/0.8223, allocations: 18.69 kB / 0.5776 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.8224, allocations: 10.16 kB / 0.5776 GB, free: 39.61 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/0.8235, allocations: 0.5417 MB / 0.5781 GB, free: 39.37 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.8262, allocations: 1.117 MB / 0.5792 GB, free: 38.61 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003379/0.8296, allocations: 1.843 MB / 0.581 GB, free: 37.76 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.8307, allocations: 0.5894 MB / 0.5816 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000133/0.8309, allocations: 10.66 kB / 0.5816 GB, free: 37.49 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.124e-05/0.8309, allocations: 48.16 kB / 0.5816 GB, free: 37.44 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 4.308e-06/0.831, allocations: 0 / 0.5816 GB, free: 37.44 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.003837/0.8348, allocations: 1.896 MB / 0.5835 GB, free: 36.58 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.8349, allocations: 61.25 kB / 0.5835 GB, free: 36.52 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.835, allocations: 102.9 kB / 0.5836 GB, free: 36.41 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.8351, allocations: 41.52 kB / 0.5837 GB, free: 36.37 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.919e-05/0.8352, allocations: 87.3 kB / 0.5838 GB, free: 36.29 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003573/0.8355, allocations: 473.6 kB / 0.5842 GB, free: 35.87 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/0.8361, allocations: 259.1 kB / 0.5845 GB, free: 35.73 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 7.969e-05/0.8361, allocations: 306 kB / 0.5847 GB, free: 35.43 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.8373, allocations: 0.852 MB / 0.5856 GB, free: 34.59 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/0.8384, allocations: 0.9638 MB / 0.5865 GB, free: 33.62 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002069/0.8405, allocations: 1.739 MB / 0.5882 GB, free: 31.88 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.263e-06/0.8405, allocations: 0 / 0.5882 GB, free: 31.88 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002735/0.8432, allocations: 2.109 MB / 0.5903 GB, free: 29.76 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/0.8433, allocations: 8 kB / 0.5903 GB, free: 29.75 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.8433, allocations: 0 / 0.5903 GB, free: 29.75 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.2e-05/0.8433, allocations: 12.03 kB / 0.5903 GB, free: 29.74 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001815/0.8451, allocations: 399.4 kB / 0.5907 GB, free: 29.35 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.8452, allocations: 8 kB / 0.5907 GB, free: 29.34 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008961/0.8461, allocations: 198.7 kB / 0.5909 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/0.8462, allocations: 48.19 kB / 0.5909 GB, free: 29.1 MB / 462.3 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (201): * Single equations (assignments): 201 * 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.0003581/0.8466, allocations: 221.4 kB / 0.5911 GB, free: 28.87 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.8467, allocations: 43.56 kB / 0.5912 GB, free: 28.83 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.8472, allocations: 179.6 kB / 0.5913 GB, free: 28.65 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.8472, allocations: 12 kB / 0.5914 GB, free: 28.64 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.649e-05/0.8472, allocations: 0 / 0.5914 GB, free: 28.64 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-06/0.8472, allocations: 3.984 kB / 0.5914 GB, free: 28.63 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.8485, allocations: 0.8056 MB / 0.5921 GB, free: 27.78 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.8485, allocations: 0 / 0.5921 GB, free: 27.78 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/0.8504, allocations: 283.6 kB / 0.5924 GB, free: 27.5 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.8504, allocations: 4 kB / 0.5924 GB, free: 27.5 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001432/0.8506, allocations: 63.92 kB / 0.5925 GB, free: 27.43 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/0.8506, allocations: 4 kB / 0.5925 GB, free: 27.43 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8506, allocations: 4 kB / 0.5925 GB, free: 27.43 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/0.8531, allocations: 1.909 MB / 0.5944 GB, free: 25.5 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005529/0.8536, allocations: 252.3 kB / 0.5946 GB, free: 25.23 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/0.8538, allocations: 59.88 kB / 0.5946 GB, free: 25.18 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008488/0.8547, allocations: 111.9 kB / 0.5948 GB, free: 25.07 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.8549, allocations: 60.91 kB / 0.5948 GB, free: 25.01 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.194e-05/0.855, allocations: 27.98 kB / 0.5948 GB, free: 24.98 MB / 462.3 MB Notification: Performance of sorting global known variables: time 4.072e-05/0.855, allocations: 87.27 kB / 0.5949 GB, free: 24.89 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.11e-07/0.8551, allocations: 0 / 0.5949 GB, free: 24.89 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0006717/0.8557, allocations: 264 kB / 0.5952 GB, free: 24.64 MB / 462.3 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 100 (u[1],u[2],u[3],u[4],u[5],u[6],u[7],u[8],u[9],u[10],u[11],u[12],u[13],u[14],u[15],u[16],u[17],u[18],u[19],u[20],u[21],u[22],u[23],u[24],u[25],u[26],u[27],u[28],u[29],u[30],u[31],u[32],u[33],u[34],u[35],u[36],u[37],u[38],u[39],u[40],u[41],u[42],u[43],u[44],u[45],u[46],u[47],u[48],u[49],u[50],u[51],u[52],u[53],u[54],u[55],u[56],u[57],u[58],u[59],u[60],u[61],u[62],u[63],u[64],u[65],u[66],u[67],u[68],u[69],u[70],u[71],u[72],u[73],u[74],u[75],u[76],u[77],u[78],u[79],u[80],u[81],u[82],u[83],u[84],u[85],u[86],u[87],u[88],u[89],u[90],u[91],u[92],u[93],u[94],u[95],u[96],u[97],u[98],u[99],u[100]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 100 * 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 Backend phase and start with SimCode phase: time 0.0002719/0.856, allocations: 182.2 kB / 0.5953 GB, free: 24.45 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.002273/0.8583, allocations: 1.681 MB / 0.597 GB, free: 22.77 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.8583, allocations: 4 kB / 0.597 GB, free: 22.77 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.000885/0.8592, allocations: 0.6809 MB / 0.5977 GB, free: 22.08 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.8596, allocations: 38.59 kB / 0.5977 GB, free: 22.05 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.8621, allocations: 2.709 MB / 0.6003 GB, free: 19.3 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.8625, allocations: 0.9145 MB / 0.6012 GB, free: 18.36 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001434/0.8639, allocations: 0.5128 MB / 0.6017 GB, free: 17.84 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/0.8644, allocations: 51.44 kB / 0.6018 GB, free: 17.79 MB / 462.3 MB Notification: Performance of SimCode: time 8.02e-07/0.8644, allocations: 0 / 0.6018 GB, free: 17.79 MB / 462.3 MB Notification: Performance of Templates: time 0.01491/0.8793, allocations: 9.737 MB / 0.6113 GB, free: 8.051 MB / 462.3 MB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -s cvode -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches