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.001331/0.001331, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009621/0.0009621, allocations: 161 kB / 24.56 MB, free: 12 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.9052/0.9052, allocations: 177.1 MB / 205 MB, free: 5.629 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.5529/0.5529, allocations: 88.08 MB / 349.6 MB, free: 14.3 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.142e-06/1.142e-06, allocations: 0 / 451.7 MB, free: 33.27 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.181e-05/1.295e-05, allocations: 8.828 kB / 451.7 MB, free: 33.26 MB / 410.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100): time 0.001203/0.001216, allocations: 1.389 MB / 453.1 MB, free: 32.32 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0004266/0.001643, allocations: 459.9 kB / 453.5 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.442e-05/0.001677, allocations: 0 / 453.5 MB, free: 32.03 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 8.582e-05/0.001763, allocations: 7.125 kB / 453.5 MB, free: 32.02 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.001985, allocations: 50.19 kB / 453.6 MB, free: 32 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.218e-05/0.002027, allocations: 23.66 kB / 453.6 MB, free: 31.99 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002847/0.002312, allocations: 0.6336 MB / 454.2 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.14e-05/0.002343, allocations: 5.812 kB / 454.2 MB, free: 31.82 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.002583, allocations: 296.2 kB / 454.5 MB, free: 31.72 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.002824, allocations: 325.8 kB / 454.8 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 5.397e-05/0.002878, allocations: 35.5 kB / 454.9 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.002989, allocations: 30.88 kB / 454.9 MB, free: 31.63 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0002476/0.003236, allocations: 0.7004 MB / 455.6 MB, free: 31.38 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.003526, allocations: 491.9 kB / 456.1 MB, free: 31.27 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004339/0.00396, allocations: 0.9686 MB / 457.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.003962, allocations: 0 / 457.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003963, allocations: 0 / 457.1 MB, free: 31.04 MB / 410.8 MB Notification: Performance of Transformations before backend: time 8.286e-06/0.003971, allocations: 0 / 457.1 MB, free: 31.04 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.001619/0.00559, allocations: 1.735 MB / 458.8 MB, free: 30.15 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 2.762e-05/0.005618, allocations: 7.75 kB / 458.8 MB, free: 30.15 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.00577, allocations: 191 kB / 459 MB, free: 30.07 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000343/0.006113, allocations: 391.7 kB / 459.4 MB, free: 29.82 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/0.00614, allocations: 59.53 kB / 459.4 MB, free: 29.8 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.547e-05/0.006235, allocations: 122.3 kB / 459.5 MB, free: 29.75 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.00678, allocations: 0.6025 MB / 460.1 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.006794, allocations: 192 / 460.1 MB, free: 29.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.006832, allocations: 29.59 kB / 460.2 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.006845, allocations: 25.72 kB / 460.2 MB, free: 29.55 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000328/0.007173, allocations: 298.1 kB / 460.5 MB, free: 29.5 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002341/0.009514, allocations: 2.298 MB / 462.8 MB, free: 28.46 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.01034, allocations: 1.023 MB / 463.8 MB, free: 28.08 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002312/0.01058, allocations: 239.6 kB / 464 MB, free: 28.03 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.657e-05/0.01062, allocations: 21.34 kB / 464.1 MB, free: 28.02 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.01064, allocations: 43.83 kB / 464.1 MB, free: 27.98 MB / 410.8 MB Notification: Performance of pre-optimization done (n=101): time 1.984e-06/0.01064, allocations: 0 / 464.1 MB, free: 27.98 MB / 410.8 MB Notification: Performance of matching and sorting (n=101): time 0.0009255/0.01157, allocations: 0.8759 MB / 465 MB, free: 27.73 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.269e-05/0.01159, allocations: 70.38 kB / 465.1 MB, free: 27.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/0.01177, allocations: 424.6 kB / 465.5 MB, free: 27.42 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.414e-05/0.0118, allocations: 40.8 kB / 465.5 MB, free: 27.38 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.125e-05/0.01189, allocations: 371.9 kB / 465.9 MB, free: 27.07 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000186/0.01208, allocations: 0.5027 MB / 466.4 MB, free: 26.67 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.01225, allocations: 256 kB / 466.6 MB, free: 26.54 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.924e-05/0.0123, allocations: 0.5199 MB / 467.1 MB, free: 26.04 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002941/0.0126, allocations: 254.3 kB / 467.4 MB, free: 26 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003064/0.0129, allocations: 282.7 kB / 467.7 MB, free: 25.95 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006044/0.01351, allocations: 0.6562 MB / 468.3 MB, free: 25.72 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.788e-06/0.01351, allocations: 4 kB / 468.3 MB, free: 25.72 MB / 410.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0008573/0.01437, allocations: 1.031 MB / 469.4 MB, free: 25.39 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01438, allocations: 6.25 kB / 469.4 MB, free: 25.39 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.01439, allocations: 0 / 469.4 MB, free: 25.39 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.01441, allocations: 5.5 kB / 469.4 MB, free: 25.39 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007489/0.01516, allocations: 414.1 kB / 469.8 MB, free: 25.34 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01516, allocations: 5.5 kB / 469.8 MB, free: 25.34 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004192/0.01558, allocations: 215.8 kB / 470 MB, free: 25.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.425e-05/0.01563, allocations: 46.44 kB / 470 MB, free: 25.21 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.0001288/0.01576, allocations: 225.1 kB / 470.3 MB, free: 24.99 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.779e-05/0.01585, allocations: 111.3 kB / 470.4 MB, free: 24.94 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007083/0.01656, allocations: 0.7855 MB / 471.2 MB, free: 24.66 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01657, allocations: 9.719 kB / 471.2 MB, free: 24.66 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01657, allocations: 3.938 kB / 471.2 MB, free: 24.65 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.01658, allocations: 3.375 kB / 471.2 MB, free: 24.65 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.017, allocations: 0.5813 MB / 471.8 MB, free: 24.28 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.017, allocations: 0 / 471.8 MB, free: 24.28 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008658/0.01787, allocations: 299 kB / 472 MB, free: 24.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.01787, allocations: 3.219 kB / 472 MB, free: 24.23 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.457e-05/0.01794, allocations: 54.22 kB / 472.1 MB, free: 24.22 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.01795, allocations: 3.688 kB / 472.1 MB, free: 24.22 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.01795, allocations: 0 / 472.1 MB, free: 24.22 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00113/0.01908, allocations: 1.273 MB / 473.4 MB, free: 23.72 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002116/0.01929, allocations: 158.3 kB / 473.5 MB, free: 23.67 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.01937, allocations: 52.02 kB / 473.6 MB, free: 23.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/0.01978, allocations: 119.4 kB / 473.7 MB, free: 23.62 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.927e-05/0.01985, allocations: 69.27 kB / 473.8 MB, free: 23.61 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.01989, allocations: 31.59 kB / 473.8 MB, free: 23.6 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0001103/0.02, allocations: 274.6 kB / 474.1 MB, free: 23.44 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.02, allocations: 4 kB / 474.1 MB, free: 23.43 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0005113/0.02051, allocations: 0.4934 MB / 474.6 MB, free: 23.36 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.0001253/0.02063, allocations: 171.8 kB / 474.7 MB, free: 23.24 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0007999/0.02143, allocations: 0.7741 MB / 475.5 MB, free: 23.09 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02143, allocations: 1 kB / 475.5 MB, free: 23.09 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.02179, allocations: 377 kB / 475.9 MB, free: 23.01 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007675/0.02256, allocations: 453.6 kB / 476.3 MB, free: 22.83 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.02805, allocations: 5.795 MB / 482.1 MB, free: 19.23 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/0.0282, allocations: 267.5 kB / 482.4 MB, free: 19.15 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0004777/0.02868, allocations: 348.6 kB / 482.7 MB, free: 19.07 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.02889, allocations: 78.41 kB / 482.8 MB, free: 19.06 MB / 410.8 MB Notification: Performance of SimCode: time 6.22e-07/0.02889, allocations: 0 / 482.8 MB, free: 19.06 MB / 410.8 MB Notification: Performance of Templates: time 0.01814/0.04704, allocations: 22.6 MB / 0.4935 GB, free: 3.141 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: 4.103175288066268]