Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.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.0009519/0.0009519, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.0009186/0.0009186, allocations: 161 kB / 24.56 MB, free: 4 kB / 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.8674/0.8674, allocations: 177.1 MB / 205 MB, free: 5.617 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.5658/0.5658, allocations: 88.08 MB / 349.6 MB, free: 14.29 MB / 330.7 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.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.[0-9,]+.|Ttilde.[0-9,]+.|der.Ttilde.[0-9,]+..|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") translateModel(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="T.[0-9,]+.|Ttilde.[0-9,]+.|der.Ttilde.[0-9,]+..|time",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 451.7 MB, free: 33.3 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.217e-05, allocations: 2.312 kB / 451.7 MB, free: 33.3 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100): time 0.001229/0.001241, allocations: 1.389 MB / 453.1 MB, free: 32.36 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.001686, allocations: 460.9 kB / 453.5 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.361e-05/0.00172, allocations: 0 / 453.5 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 9.426e-05/0.001814, allocations: 7.312 kB / 453.5 MB, free: 32.07 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.002034, allocations: 49.14 kB / 453.6 MB, free: 32.04 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.629e-05/0.00208, allocations: 23.28 kB / 453.6 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.002365, allocations: 0.6364 MB / 454.2 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.712e-05/0.002402, allocations: 5.625 kB / 454.2 MB, free: 31.86 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.002653, allocations: 294 kB / 454.5 MB, free: 31.77 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.002883, allocations: 328.2 kB / 454.8 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.203e-05/0.002935, allocations: 29.97 kB / 454.9 MB, free: 31.68 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.901e-05/0.003024, allocations: 38.06 kB / 454.9 MB, free: 31.67 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.003263, allocations: 0.6964 MB / 455.6 MB, free: 31.42 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002845/0.003548, allocations: 492.6 kB / 456.1 MB, free: 31.31 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.003972, allocations: 0.9718 MB / 457.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003974, allocations: 0 / 457.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003975, allocations: 0 / 457.1 MB, free: 31.08 MB / 410.8 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.003983, allocations: 0 / 457.1 MB, free: 31.08 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.00163/0.005612, allocations: 1.734 MB / 458.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.005645, allocations: 7.75 kB / 458.8 MB, free: 30.19 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001542/0.005799, allocations: 182.6 kB / 459 MB, free: 30.11 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.006117, allocations: 396.6 kB / 459.4 MB, free: 29.87 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/0.006144, allocations: 68.83 kB / 459.4 MB, free: 29.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.105e-05/0.006235, allocations: 122.7 kB / 459.5 MB, free: 29.78 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005685/0.006804, allocations: 0.5982 MB / 460.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.00682, allocations: 192 / 460.1 MB, free: 29.61 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.537e-05/0.006865, allocations: 34.09 kB / 460.2 MB, free: 29.59 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.568e-05/0.006881, allocations: 24.34 kB / 460.2 MB, free: 29.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.007204, allocations: 291.4 kB / 460.5 MB, free: 29.54 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.009556, allocations: 2.302 MB / 462.8 MB, free: 28.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008232/0.01038, allocations: 1.019 MB / 463.8 MB, free: 28.12 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.0106, allocations: 246.3 kB / 464.1 MB, free: 28.07 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.01064, allocations: 17.41 kB / 464.1 MB, free: 28.06 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.01066, allocations: 41.3 kB / 464.1 MB, free: 28.02 MB / 410.8 MB Notification: Performance of pre-optimization done (n=101): time 2.004e-06/0.01066, allocations: 0 / 464.1 MB, free: 28.02 MB / 410.8 MB Notification: Performance of matching and sorting (n=101): time 0.0009318/0.0116, allocations: 0.8727 MB / 465 MB, free: 27.78 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.01162, allocations: 69.22 kB / 465 MB, free: 27.71 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.01179, allocations: 427.8 kB / 465.5 MB, free: 27.46 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.01183, allocations: 40.33 kB / 465.5 MB, free: 27.42 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.01191, allocations: 368.8 kB / 465.9 MB, free: 27.12 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.00018/0.01209, allocations: 0.5039 MB / 466.4 MB, free: 26.71 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/0.01226, allocations: 257.2 kB / 466.6 MB, free: 26.58 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.399e-05/0.01231, allocations: 0.5177 MB / 467.1 MB, free: 26.08 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.01259, allocations: 259.7 kB / 467.4 MB, free: 26.04 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000281/0.01287, allocations: 282.9 kB / 467.7 MB, free: 25.99 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005993/0.01347, allocations: 0.6564 MB / 468.3 MB, free: 25.76 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.01348, allocations: 4 kB / 468.3 MB, free: 25.76 MB / 410.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0008632/0.01434, allocations: 1.029 MB / 469.4 MB, free: 25.44 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01435, allocations: 7.594 kB / 469.4 MB, free: 25.44 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.01436, allocations: 0 / 469.4 MB, free: 25.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.01437, allocations: 5.25 kB / 469.4 MB, free: 25.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000737/0.01511, allocations: 415 kB / 469.8 MB, free: 25.38 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.01512, allocations: 7.75 kB / 469.8 MB, free: 25.38 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.01554, allocations: 208.6 kB / 470 MB, free: 25.27 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.471e-05/0.01558, allocations: 43.19 kB / 470 MB, free: 25.26 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (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 prepare postOptimizeDAE: time 0.0001254/0.01571, allocations: 227.2 kB / 470.2 MB, free: 25.04 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.884e-05/0.01581, allocations: 113.4 kB / 470.4 MB, free: 24.99 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000702/0.01651, allocations: 0.7876 MB / 471.1 MB, free: 24.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.01652, allocations: 14.91 kB / 471.2 MB, free: 24.7 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.01652, allocations: 3.938 kB / 471.2 MB, free: 24.69 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.01652, allocations: 6.703 kB / 471.2 MB, free: 24.69 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.01693, allocations: 0.5776 MB / 471.8 MB, free: 24.32 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.01694, allocations: 0 / 471.8 MB, free: 24.32 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008917/0.01783, allocations: 292.8 kB / 472 MB, free: 24.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.01783, allocations: 3.688 kB / 472 MB, free: 24.27 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.826e-05/0.01791, allocations: 57.81 kB / 472.1 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.01792, allocations: 3.688 kB / 472.1 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.01792, allocations: 0 / 472.1 MB, free: 24.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.01905, allocations: 1.276 MB / 473.4 MB, free: 23.76 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.01924, allocations: 159 kB / 473.5 MB, free: 23.71 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.66e-05/0.01934, allocations: 51.08 kB / 473.6 MB, free: 23.69 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004087/0.01975, allocations: 119.8 kB / 473.7 MB, free: 23.66 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.975e-05/0.01983, allocations: 72.11 kB / 473.8 MB, free: 23.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.01986, allocations: 31.47 kB / 473.8 MB, free: 23.64 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.01997, allocations: 270.2 kB / 474.1 MB, free: 23.48 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01997, allocations: 5.25 kB / 474.1 MB, free: 23.47 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.000506/0.02048, allocations: 0.4928 MB / 474.6 MB, free: 23.4 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 99 (Ttilde[1],Ttilde[2],Ttilde[3],Ttilde[4],Ttilde[5],Ttilde[6],Ttilde[7],Ttilde[8],Ttilde[9],Ttilde[10],Ttilde[11],Ttilde[12],Ttilde[13],Ttilde[14],Ttilde[15],Ttilde[16],Ttilde[17],Ttilde[18],Ttilde[19],Ttilde[20],Ttilde[21],Ttilde[22],Ttilde[23],Ttilde[24],Ttilde[25],Ttilde[26],Ttilde[27],Ttilde[28],Ttilde[29],Ttilde[30],Ttilde[31],Ttilde[32],Ttilde[33],Ttilde[34],Ttilde[35],Ttilde[36],Ttilde[37],Ttilde[38],Ttilde[39],Ttilde[40],Ttilde[41],Ttilde[42],Ttilde[43],Ttilde[44],Ttilde[45],Ttilde[46],Ttilde[47],Ttilde[48],Ttilde[49],Ttilde[50],Ttilde[51],Ttilde[52],Ttilde[53],Ttilde[54],Ttilde[55],Ttilde[56],Ttilde[57],Ttilde[58],Ttilde[59],Ttilde[60],Ttilde[61],Ttilde[62],Ttilde[63],Ttilde[64],Ttilde[65],Ttilde[66],Ttilde[67],Ttilde[68],Ttilde[69],Ttilde[70],Ttilde[71],Ttilde[72],Ttilde[73],Ttilde[74],Ttilde[75],Ttilde[76],Ttilde[77],Ttilde[78],Ttilde[79],Ttilde[80],Ttilde[81],Ttilde[82],Ttilde[83],Ttilde[84],Ttilde[85],Ttilde[86],Ttilde[87],Ttilde[88],Ttilde[89],Ttilde[90],Ttilde[91],Ttilde[92],Ttilde[93],Ttilde[94],Ttilde[95],Ttilde[96],Ttilde[97],Ttilde[98],Ttilde[99]) * 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 (103): * Single equations (assignments): 103 * 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.0001338/0.02061, allocations: 176.8 kB / 474.7 MB, free: 23.27 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007679/0.02138, allocations: 0.773 MB / 475.5 MB, free: 23.12 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.02138, allocations: 0 / 475.5 MB, free: 23.12 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003335/0.02171, allocations: 384.8 kB / 475.9 MB, free: 23.04 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007657/0.02248, allocations: 450.6 kB / 476.3 MB, free: 22.87 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005351/0.02783, allocations: 5.786 MB / 482.1 MB, free: 19.27 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.02796, allocations: 266.8 kB / 482.4 MB, free: 19.19 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004614/0.02842, allocations: 350.5 kB / 482.7 MB, free: 19.11 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000205/0.02863, allocations: 79.06 kB / 482.8 MB, free: 19.11 MB / 410.8 MB Notification: Performance of SimCode: time 7.01e-07/0.02863, allocations: 0 / 482.8 MB, free: 19.11 MB / 410.8 MB Notification: Performance of Templates: time 0.01886/0.04749, allocations: 23.89 MB / 0.4948 GB, free: 1.875 MB / 410.8 MB " [Timeout remaining time 300] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100.pipe 2>&1) [Timeout 240] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100_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.9853568128310144]