Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009594/0.0009594, allocations: 80.31 kB / 22.21 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009903/0.0009903, allocations: 167.5 kB / 25.61 MB, free: 8.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8433/0.8433, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.6364/0.6364, allocations: 88.08 MB / 350.7 MB, free: 11.81 MB / 330.8 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250,variableFilter="der.u.[0-9,]+..|time|u.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200,tolerance=1e-06,outputFormat="mat",numberOfIntervals=250,variableFilter="der.u.[0-9,]+..|time|u.[0-9,]+.",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 452.9 MB, free: 7.969 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.551e-05/2.71e-05, allocations: 10.31 kB / 452.9 MB, free: 7.957 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200): time 0.001662/0.001689, allocations: 0.5268 MB / 453.5 MB, free: 7.434 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.0001648/0.001854, allocations: 24.09 kB / 453.5 MB, free: 7.41 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.562e-05/0.00189, allocations: 0 / 453.5 MB, free: 7.41 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.133e-05/0.001971, allocations: 0 / 453.5 MB, free: 7.41 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 1.539e-05/0.001987, allocations: 4 kB / 453.5 MB, free: 7.406 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.00217, allocations: 15.92 kB / 453.5 MB, free: 7.391 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.001831/0.004001, allocations: 2.04 MB / 455.5 MB, free: 5.348 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.004049, allocations: 12 kB / 455.6 MB, free: 5.336 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.005281, allocations: 0.9677 MB / 456.5 MB, free: 4.367 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/0.006881, allocations: 1.014 MB / 457.5 MB, free: 3.352 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002432/0.007124, allocations: 88 kB / 457.6 MB, free: 3.266 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.007316, allocations: 88 kB / 457.7 MB, free: 3.18 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.007797, allocations: 482.9 kB / 458.2 MB, free: 2.707 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.008399, allocations: 435 kB / 458.6 MB, free: 2.281 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.001428/0.009828, allocations: 1.309 MB / 459.9 MB, free: 0.9688 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.009831, allocations: 0 / 459.9 MB, free: 0.9688 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.009833, allocations: 0 / 459.9 MB, free: 0.9688 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.009845, allocations: 0 / 459.9 MB, free: 0.9688 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.005748/0.01559, allocations: 2.026 MB / 461.9 MB, free: 14.9 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.01564, allocations: 12.02 kB / 461.9 MB, free: 14.89 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004606/0.0161, allocations: 144.5 kB / 462.1 MB, free: 14.75 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006767/0.01678, allocations: 315.5 kB / 462.4 MB, free: 14.41 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.317e-05/0.01683, allocations: 58.38 kB / 462.5 MB, free: 14.35 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.0172, allocations: 163.9 kB / 462.6 MB, free: 14.19 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001811/0.01901, allocations: 1.002 MB / 463.6 MB, free: 13.18 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/0.01903, allocations: 192 / 463.6 MB, free: 13.18 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.0192, allocations: 32.38 kB / 463.6 MB, free: 13.14 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.01922, allocations: 20.38 kB / 463.7 MB, free: 13.12 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009589/0.02018, allocations: 473.5 kB / 464.1 MB, free: 12.66 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002298/0.02248, allocations: 1.115 MB / 465.2 MB, free: 11.51 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003138/0.02562, allocations: 1.769 MB / 467 MB, free: 9.73 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000967/0.02658, allocations: 0.5247 MB / 467.5 MB, free: 9.203 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001913/0.02678, allocations: 34 kB / 467.6 MB, free: 9.172 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/0.02682, allocations: 59.33 kB / 467.6 MB, free: 9.105 MB / 442.8 MB Notification: Performance of pre-optimization done (n=200): time 5.199e-06/0.02683, allocations: 0 / 467.6 MB, free: 9.105 MB / 442.8 MB Notification: Performance of matching and sorting (n=200): time 0.003189/0.03001, allocations: 1.91 MB / 469.5 MB, free: 7.184 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.03006, allocations: 73.41 kB / 469.6 MB, free: 7.102 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.038e-05/0.03014, allocations: 153.9 kB / 469.8 MB, free: 6.934 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001113/0.03025, allocations: 57.7 kB / 469.8 MB, free: 6.871 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.03029, allocations: 138 kB / 470 MB, free: 6.73 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005305/0.03083, allocations: 1.027 MB / 471 MB, free: 5.695 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005328/0.03136, allocations: 0.5023 MB / 471.5 MB, free: 5.18 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.03146, allocations: 488.4 kB / 472 MB, free: 4.695 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.03209, allocations: 0.5253 MB / 472.5 MB, free: 4.168 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007821/0.03288, allocations: 0.8061 MB / 473.3 MB, free: 3.348 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001469/0.03434, allocations: 1.396 MB / 474.7 MB, free: 1.926 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.03435, allocations: 0 / 474.7 MB, free: 1.926 MB / 442.8 MB Notification: Performance of matching and sorting (n=401) (initialization): time 0.002165/0.03652, allocations: 1.984 MB / 476.7 MB, free: 15.92 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.03653, allocations: 4 kB / 476.7 MB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.03654, allocations: 4 kB / 476.7 MB, free: 15.91 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.03656, allocations: 15.94 kB / 476.7 MB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.03829, allocations: 0.6048 MB / 477.3 MB, free: 15.29 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/0.03831, allocations: 27.92 kB / 477.3 MB, free: 15.27 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006838/0.039, allocations: 222.3 kB / 477.5 MB, free: 15.05 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.03912, allocations: 68 kB / 477.6 MB, free: 14.98 MB / 458.8 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 (401): * Single equations (assignments): 401 * 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.0003181/0.03944, allocations: 284 kB / 477.9 MB, free: 14.69 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002542/0.03969, allocations: 139.6 kB / 478 MB, free: 14.55 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003792/0.04007, allocations: 351 kB / 478.4 MB, free: 14.2 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.709e-06/0.04008, allocations: 19.94 kB / 478.4 MB, free: 14.18 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.04009, allocations: 4 kB / 478.4 MB, free: 14.18 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.0401, allocations: 11.91 kB / 478.4 MB, free: 14.17 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009651/0.04107, allocations: 0.6385 MB / 479 MB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.04107, allocations: 0 / 479 MB, free: 13.5 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.04295, allocations: 383.5 kB / 479.4 MB, free: 13.13 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.248e-06/0.04296, allocations: 8 kB / 479.4 MB, free: 13.12 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001773/0.04314, allocations: 111.9 kB / 479.5 MB, free: 13.01 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.04314, allocations: 8 kB / 479.5 MB, free: 13 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.04315, allocations: 3.984 kB / 479.5 MB, free: 13 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.04589, allocations: 2.688 MB / 482.2 MB, free: 10.27 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003533/0.04624, allocations: 230.8 kB / 482.5 MB, free: 10.04 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002359/0.04647, allocations: 95.89 kB / 482.5 MB, free: 9.949 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/0.04714, allocations: 44 kB / 482.6 MB, free: 9.906 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.04736, allocations: 121.8 kB / 482.7 MB, free: 9.789 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.04747, allocations: 59.89 kB / 482.8 MB, free: 9.73 MB / 458.8 MB Notification: Performance of sorting global known variables: time 3.172e-05/0.0475, allocations: 119.2 kB / 482.9 MB, free: 9.613 MB / 458.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0475, allocations: 4 kB / 482.9 MB, free: 9.609 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.0006547/0.04815, allocations: 0.5234 MB / 483.4 MB, free: 9.086 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 200 (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],u[101],u[102],u[103],u[104],u[105],u[106],u[107],u[108],u[109],u[110],u[111],u[112],u[113],u[114],u[115],u[116],u[117],u[118],u[119],u[120],u[121],u[122],u[123],u[124],u[125],u[126],u[127],u[128],u[129],u[130],u[131],u[132],u[133],u[134],u[135],u[136],u[137],u[138],u[139],u[140],u[141],u[142],u[143],u[144],u[145],u[146],u[147],u[148],u[149],u[150],u[151],u[152],u[153],u[154],u[155],u[156],u[157],u[158],u[159],u[160],u[161],u[162],u[163],u[164],u[165],u[166],u[167],u[168],u[169],u[170],u[171],u[172],u[173],u[174],u[175],u[176],u[177],u[178],u[179],u[180],u[181],u[182],u[183],u[184],u[185],u[186],u[187],u[188],u[189],u[190],u[191],u[192],u[193],u[194],u[195],u[196],u[197],u[198],u[199],u[200]) * 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 (200): * Single equations (assignments): 200 * 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.0002746/0.04843, allocations: 260.1 kB / 483.7 MB, free: 8.82 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.001699/0.05013, allocations: 1.646 MB / 485.3 MB, free: 7.168 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.05013, allocations: 8 kB / 485.3 MB, free: 7.16 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007923/0.05092, allocations: 0.7876 MB / 486.1 MB, free: 6.363 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.0513, allocations: 79.97 kB / 486.2 MB, free: 6.285 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002794/0.0541, allocations: 3.87 MB / 490.1 MB, free: 2.359 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001735/0.05427, allocations: 309.9 kB / 490.4 MB, free: 2.031 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0008681/0.05514, allocations: 270.6 kB / 490.6 MB, free: 1.762 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008671/0.056, allocations: 242.2 kB / 490.9 MB, free: 1.523 MB / 458.8 MB Notification: Performance of SimCode: time 1.002e-06/0.056, allocations: 0 / 490.9 MB, free: 1.523 MB / 458.8 MB Notification: Performance of Templates: time 0.01882/0.07483, allocations: 20.64 MB / 0.4995 GB, free: 12.87 MB / 490.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_200_res.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 3.739669907372445]