Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_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_noopt_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_noopt_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.0009181/0.0009181, allocations: 87.44 kB / 17.3 MB, free: 5.938 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.0009587/0.0009588, allocations: 182.5 kB / 18.22 MB, free: 5.391 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.254/1.254, allocations: 223.3 MB / 242.3 MB, free: 14.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8801/0.8801, allocations: 120.5 MB / 413.8 MB, free: 9.18 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002808, allocations: 8 kB / 0.4956 GB, free: 11.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.446, allocations: 82.83 MB / 0.5764 GB, free: 41.32 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.0004953/0.4465, allocations: 250.8 kB / 0.5767 GB, free: 41.14 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001295/0.4467, allocations: 30.92 kB / 0.5767 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.182e-05/0.4467, allocations: 0 / 0.5767 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.254e-05/0.4468, allocations: 0 / 0.5767 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.122e-05/0.4468, allocations: 3.156 kB / 0.5767 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001279/0.4469, allocations: 6.484 kB / 0.5767 GB, free: 41.11 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007637/0.4477, allocations: 0.9839 MB / 0.5777 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 4.439e-05/0.4478, allocations: 4 kB / 0.5777 GB, free: 40.59 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003812/0.4481, allocations: 417.7 kB / 0.5781 GB, free: 40.42 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005787/0.4487, allocations: 0.524 MB / 0.5786 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0001075/0.4488, allocations: 43.88 kB / 0.5786 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 9.831e-05/0.4489, allocations: 43.56 kB / 0.5787 GB, free: 40.12 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0001779/0.4491, allocations: 238.2 kB / 0.5789 GB, free: 39.96 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0002445/0.4494, allocations: 289.2 kB / 0.5792 GB, free: 39.74 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.4496, allocations: 388.2 kB / 0.5796 GB, free: 39.55 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.4496, allocations: 3.938 kB / 0.5796 GB, free: 39.55 MB / 462.3 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4497, allocations: 0 / 0.5796 GB, free: 39.55 MB / 462.3 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.4497, allocations: 0 / 0.5796 GB, free: 39.55 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.005138/0.4548, allocations: 1.679 MB / 0.5812 GB, free: 38.51 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.4548, allocations: 10.12 kB / 0.5812 GB, free: 38.51 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001377/0.455, allocations: 38.69 kB / 0.5812 GB, free: 38.5 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.4554, allocations: 330.7 kB / 0.5816 GB, free: 38.23 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.335e-05/0.4554, allocations: 32.28 kB / 0.5816 GB, free: 38.21 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001567/0.4556, allocations: 83.33 kB / 0.5817 GB, free: 38.17 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001239/0.4568, allocations: 0.8733 MB / 0.5825 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.4569, allocations: 1.438 kB / 0.5825 GB, free: 37.66 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.347e-05/0.4569, allocations: 18.47 kB / 0.5825 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.457, allocations: 14.12 kB / 0.5826 GB, free: 37.64 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007828/0.4578, allocations: 0.5492 MB / 0.5831 GB, free: 37.39 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001645/0.4594, allocations: 1.112 MB / 0.5842 GB, free: 36.64 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.4619, allocations: 1.845 MB / 0.586 GB, free: 35.8 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00079/0.4627, allocations: 0.5889 MB / 0.5866 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 9.329e-05/0.4628, allocations: 11.09 kB / 0.5866 GB, free: 35.53 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.4629, allocations: 47.31 kB / 0.5866 GB, free: 35.48 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 1.934e-06/0.4629, allocations: 0 / 0.5866 GB, free: 35.48 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.002543/0.4654, allocations: 1.891 MB / 0.5885 GB, free: 33.81 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.325e-05/0.4655, allocations: 60.41 kB / 0.5885 GB, free: 33.74 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.994e-05/0.4655, allocations: 101.8 kB / 0.5886 GB, free: 33.63 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 8.028e-05/0.4656, allocations: 45.7 kB / 0.5887 GB, free: 33.58 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 2.555e-05/0.4656, allocations: 86.14 kB / 0.5887 GB, free: 33.5 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.4659, allocations: 477.3 kB / 0.5892 GB, free: 33.02 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001559/0.466, allocations: 129.6 kB / 0.5893 GB, free: 32.89 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 3.229e-05/0.4661, allocations: 310 kB / 0.5896 GB, free: 32.58 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009757/0.467, allocations: 0.8353 MB / 0.5904 GB, free: 31.75 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.4681, allocations: 0.9677 MB / 0.5914 GB, free: 30.77 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/0.4701, allocations: 1.751 MB / 0.5931 GB, free: 29.02 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.4701, allocations: 0 / 0.5931 GB, free: 29.02 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002467/0.4726, allocations: 2.113 MB / 0.5951 GB, free: 26.89 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4726, allocations: 4 kB / 0.5952 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.4726, allocations: 0 / 0.5952 GB, free: 26.89 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.4726, allocations: 8 kB / 0.5952 GB, free: 26.88 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.4744, allocations: 407.5 kB / 0.5955 GB, free: 26.48 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.198e-05/0.4744, allocations: 4 kB / 0.5956 GB, free: 26.48 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009241/0.4753, allocations: 202.7 kB / 0.5957 GB, free: 26.28 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.916e-05/0.4754, allocations: 44 kB / 0.5958 GB, free: 26.24 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.0002558/0.4757, allocations: 229.3 kB / 0.596 GB, free: 26 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.4758, allocations: 35.62 kB / 0.596 GB, free: 25.97 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006078/0.4764, allocations: 179.6 kB / 0.5962 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.4764, allocations: 8 kB / 0.5962 GB, free: 25.79 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.4765, allocations: 4 kB / 0.5962 GB, free: 25.78 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/0.4765, allocations: 7.969 kB / 0.5962 GB, free: 25.77 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.4775, allocations: 0.7979 MB / 0.597 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.035e-06/0.4775, allocations: 0 / 0.597 GB, free: 24.93 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/0.4795, allocations: 287.6 kB / 0.5973 GB, free: 24.64 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.4795, allocations: 7.984 kB / 0.5973 GB, free: 24.64 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001192/0.4797, allocations: 63.94 kB / 0.5974 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.4797, allocations: 4 kB / 0.5974 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.4797, allocations: 0 / 0.5974 GB, free: 24.57 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4819, allocations: 1.909 MB / 0.5992 GB, free: 22.64 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003167/0.4822, allocations: 252.3 kB / 0.5995 GB, free: 22.38 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/0.4824, allocations: 55.94 kB / 0.5995 GB, free: 22.32 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.4833, allocations: 115.8 kB / 0.5996 GB, free: 22.21 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/0.4835, allocations: 60.91 kB / 0.5997 GB, free: 22.15 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.92e-05/0.4836, allocations: 31.98 kB / 0.5997 GB, free: 22.12 MB / 462.3 MB Notification: Performance of sorting global known variables: time 1.886e-05/0.4836, allocations: 79.27 kB / 0.5998 GB, free: 22.04 MB / 462.3 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4836, allocations: 0 / 0.5998 GB, free: 22.04 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0005092/0.4842, allocations: 272 kB / 0.6 GB, free: 21.78 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.0002032/0.4844, allocations: 165.7 kB / 0.6002 GB, free: 21.61 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.001946/0.4863, allocations: 1.689 MB / 0.6019 GB, free: 19.91 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4863, allocations: 0 / 0.6019 GB, free: 19.91 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0008153/0.4872, allocations: 0.6848 MB / 0.6025 GB, free: 19.23 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.4875, allocations: 36.75 kB / 0.6026 GB, free: 19.19 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.4894, allocations: 3.135 MB / 0.6056 GB, free: 16.01 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.4896, allocations: 0.9147 MB / 0.6065 GB, free: 15.07 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/0.4903, allocations: 59.44 kB / 0.6066 GB, free: 15.01 MB / 462.3 MB Notification: Performance of SimCode: time 2.3e-07/0.4903, allocations: 0 / 0.6066 GB, free: 15.01 MB / 462.3 MB Notification: Performance of Templates: time 0.01222/0.5025, allocations: 12.81 MB / 0.6191 GB, free: 2.191 MB / 462.3 MB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_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","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches