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.001446/0.001446, allocations: 80.41 kB / 22.21 MB, free: 2.289 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.001045/0.001045, allocations: 170.4 kB / 25.61 MB, free: 8.902 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.8744/0.8744, allocations: 177.1 MB / 206 MB, free: 4.527 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.6267/0.6267, allocations: 88.08 MB / 350.7 MB, free: 11.86 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.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.092e-06/1.092e-06, allocations: 0 / 452.9 MB, free: 7.957 MB / 426.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.231e-05/2.34e-05, allocations: 9.344 kB / 452.9 MB, free: 7.949 MB / 426.8 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.SimpleAdvection_N_100): time 0.001694/0.001717, allocations: 1.399 MB / 454.3 MB, free: 6.539 MB / 426.8 MB Notification: Performance of NFInst.instExpressions: time 0.000522/0.002239, allocations: 450.8 kB / 454.8 MB, free: 6.094 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.291e-05/0.002282, allocations: 0 / 454.8 MB, free: 6.094 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 8.908e-05/0.002371, allocations: 3.938 kB / 454.8 MB, free: 6.09 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.002597, allocations: 55.67 kB / 454.8 MB, free: 6.035 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.002646, allocations: 16.97 kB / 454.9 MB, free: 6.02 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.003032, allocations: 0.6317 MB / 455.5 MB, free: 5.387 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 3.662e-05/0.003069, allocations: 8 kB / 455.5 MB, free: 5.379 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002953/0.003364, allocations: 299.6 kB / 455.8 MB, free: 5.086 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003261/0.00369, allocations: 320.5 kB / 456.1 MB, free: 4.773 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.003734, allocations: 32 kB / 456.1 MB, free: 4.742 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 8.619e-05/0.00382, allocations: 32 kB / 456.2 MB, free: 4.711 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0003383/0.004158, allocations: 0.7057 MB / 456.9 MB, free: 4.004 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0003537/0.004512, allocations: 491.1 kB / 457.4 MB, free: 3.523 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000562/0.005074, allocations: 0.9696 MB / 458.3 MB, free: 2.551 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.005077, allocations: 0 / 458.3 MB, free: 2.551 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005078, allocations: 3.938 kB / 458.3 MB, free: 2.547 MB / 426.8 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.005086, allocations: 0 / 458.3 MB, free: 2.547 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: 202 * Number of variables: 202 Notification: Performance of Generate backend data structure: time 0.001648/0.006734, allocations: 1.493 MB / 459.8 MB, free: 1.016 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.006766, allocations: 12.03 kB / 459.8 MB, free: 1.004 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.006934, allocations: 180.3 kB / 460 MB, free: 0.8281 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003542/0.007288, allocations: 361.9 kB / 460.4 MB, free: 456 kB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.007323, allocations: 62.38 kB / 460.4 MB, free: 392 kB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/0.007431, allocations: 128.1 kB / 460.5 MB, free: 264 kB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004971/0.007928, allocations: 0.5309 MB / 461.1 MB, free: 15.72 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.007944, allocations: 192 / 461.1 MB, free: 15.72 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.42e-05/0.007988, allocations: 32.38 kB / 461.1 MB, free: 15.69 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.008002, allocations: 19.94 kB / 461.1 MB, free: 15.67 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002461/0.008248, allocations: 241.7 kB / 461.4 MB, free: 15.43 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002349/0.0106, allocations: 1.905 MB / 463.3 MB, free: 13.49 MB / 442.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008551/0.01145, allocations: 0.9557 MB / 464.2 MB, free: 12.53 MB / 442.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001927/0.01165, allocations: 194.6 kB / 464.4 MB, free: 12.34 MB / 442.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.14e-05/0.0117, allocations: 17 kB / 464.4 MB, free: 12.32 MB / 442.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.01172, allocations: 54.38 kB / 464.5 MB, free: 12.25 MB / 442.8 MB Notification: Performance of pre-optimization done (n=101): time 2.214e-06/0.01173, allocations: 0 / 464.5 MB, free: 12.25 MB / 442.8 MB Notification: Performance of matching and sorting (n=101): time 0.0008586/0.01258, allocations: 0.7605 MB / 465.2 MB, free: 11.48 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.01262, allocations: 68.34 kB / 465.3 MB, free: 11.4 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/0.01284, allocations: 422.5 kB / 465.7 MB, free: 10.98 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 4.246e-05/0.01288, allocations: 41.7 kB / 465.8 MB, free: 10.93 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001511/0.01303, allocations: 376 kB / 466.1 MB, free: 10.55 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002752/0.01331, allocations: 0.5114 MB / 466.6 MB, free: 10.04 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002199/0.01353, allocations: 265.2 kB / 466.9 MB, free: 9.773 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.01366, allocations: 0.5199 MB / 467.4 MB, free: 9.246 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002111/0.01387, allocations: 191.8 kB / 467.6 MB, free: 9.059 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002169/0.01409, allocations: 221.8 kB / 467.8 MB, free: 8.844 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004997/0.01459, allocations: 0.5463 MB / 468.4 MB, free: 8.297 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.01459, allocations: 4 kB / 468.4 MB, free: 8.293 MB / 442.8 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.0008117/0.0154, allocations: 0.907 MB / 469.3 MB, free: 7.379 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.01542, allocations: 7.938 kB / 469.3 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.01543, allocations: 0 / 469.3 MB, free: 7.371 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.01544, allocations: 8 kB / 469.3 MB, free: 7.363 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007388/0.01618, allocations: 323.6 kB / 469.6 MB, free: 7.047 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.01619, allocations: 7.938 kB / 469.6 MB, free: 7.039 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004141/0.0166, allocations: 127.1 kB / 469.7 MB, free: 6.914 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/0.01664, allocations: 35.94 kB / 469.8 MB, free: 6.879 MB / 442.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.0001833/0.01683, allocations: 220.3 kB / 470 MB, free: 6.652 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001195/0.01695, allocations: 107.6 kB / 470.1 MB, free: 6.547 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.01768, allocations: 0.7147 MB / 470.8 MB, free: 5.82 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.01769, allocations: 12 kB / 470.8 MB, free: 5.809 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.01769, allocations: 0 / 470.8 MB, free: 5.809 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.0177, allocations: 15.89 kB / 470.8 MB, free: 5.793 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005143/0.01821, allocations: 493.5 kB / 471.3 MB, free: 5.285 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01821, allocations: 0 / 471.3 MB, free: 5.285 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008458/0.01906, allocations: 211.8 kB / 471.5 MB, free: 5.078 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.01906, allocations: 4 kB / 471.5 MB, free: 5.074 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.585e-05/0.01914, allocations: 55.92 kB / 471.6 MB, free: 5.02 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.01914, allocations: 4 kB / 471.6 MB, free: 5.016 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.01914, allocations: 3.938 kB / 471.6 MB, free: 5.012 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009849/0.02013, allocations: 1.187 MB / 472.8 MB, free: 3.805 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.02033, allocations: 131.2 kB / 472.9 MB, free: 3.676 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.02043, allocations: 51.94 kB / 473 MB, free: 3.625 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003594/0.02079, allocations: 35.98 kB / 473 MB, free: 3.59 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.549e-05/0.02087, allocations: 64.86 kB / 473.1 MB, free: 3.527 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.0209, allocations: 23.98 kB / 473.1 MB, free: 3.504 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0001172/0.02102, allocations: 267 kB / 473.3 MB, free: 3.242 MB / 442.8 MB Notification: Performance of sort global known variables: time 8e-08/0.02102, allocations: 0 / 473.3 MB, free: 3.242 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.0005678/0.02158, allocations: 0.4957 MB / 473.8 MB, free: 2.746 MB / 442.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.000172/0.02176, allocations: 176.2 kB / 474 MB, free: 2.559 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.0006493/0.02241, allocations: 0.6776 MB / 474.7 MB, free: 1.883 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.02241, allocations: 0 / 474.7 MB, free: 1.883 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.02269, allocations: 347.1 kB / 475 MB, free: 1.539 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008148/0.02351, allocations: 445 kB / 475.5 MB, free: 1.102 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005662/0.02917, allocations: 5.451 MB / 480.9 MB, free: 11.6 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001552/0.02932, allocations: 263.1 kB / 481.2 MB, free: 11.32 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.02964, allocations: 107.1 kB / 481.3 MB, free: 11.21 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007406/0.03038, allocations: 0.5057 MB / 481.8 MB, free: 10.71 MB / 458.8 MB Notification: Performance of SimCode: time 1.683e-06/0.03038, allocations: 0 / 481.8 MB, free: 10.71 MB / 458.8 MB Notification: Performance of Templates: time 0.02429/0.05467, allocations: 24.95 MB / 0.4949 GB, free: 2.332 MB / 474.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.015693914145231]