Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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_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_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 221.5 MB / 230.3 MB, free: 7.516 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007974/0.0007974, allocations: 91 kB / 281.2 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8343/0.8343, allocations: 120.5 MB / 452.4 MB, free: 10.5 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 1.193e-05/1.195e-05, allocations: 0 / 0.5288 GB, free: 1.301 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5007/0.5008, allocations: 82.83 MB / 0.6097 GB, free: 13.05 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1356/0.6364, allocations: 124.4 MB / 0.7312 GB, free: 0.5156 MB / 0.5263 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001591/0.6366, allocations: 67.89 kB / 0.7312 GB, free: 464 kB / 0.5263 GB Notification: Performance of FrontEnd - DAE generated: time 0.04054/0.6771, allocations: 10.16 MB / 0.7411 GB, free: 6.266 MB / 0.5419 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6772, allocations: 0 / 0.7411 GB, free: 6.266 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.6772, allocations: 8 kB / 0.7412 GB, free: 6.258 MB / 0.5419 GB 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.004107/0.6813, allocations: 1.35 MB / 0.7425 GB, free: 4.863 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.6813, allocations: 8.031 kB / 0.7425 GB, free: 4.855 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.6815, allocations: 47.58 kB / 0.7425 GB, free: 4.809 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00506/0.6866, allocations: 1.311 MB / 0.7438 GB, free: 3.453 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.6866, allocations: 12 kB / 0.7438 GB, free: 3.441 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.6869, allocations: 75.61 kB / 0.7439 GB, free: 3.367 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000842/0.6877, allocations: 0.5139 MB / 0.7444 GB, free: 2.855 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.689, allocations: 0.8159 MB / 0.7452 GB, free: 2.027 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.689, allocations: 4 kB / 0.7452 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.068e-05/0.6891, allocations: 0 / 0.7452 GB, free: 2.023 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.334e-05/0.6891, allocations: 11.95 kB / 0.7452 GB, free: 2.012 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001801/0.6909, allocations: 0.9186 MB / 0.7461 GB, free: 1.051 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5107/1.202, allocations: 1.74 MB / 0.7478 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/1.203, allocations: 0.5474 MB / 0.7483 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/1.203, allocations: 11.06 kB / 0.7483 GB, free: 131.6 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/1.203, allocations: 44.69 kB / 0.7484 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=100): time 3.126e-06/1.203, allocations: 0 / 0.7484 GB, free: 131.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=100): time 0.002/1.205, allocations: 1.276 MB / 0.7496 GB, free: 131.2 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/1.205, allocations: 66.66 kB / 0.7497 GB, free: 131.1 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/1.205, allocations: 91.3 kB / 0.7498 GB, free: 131 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 7.577e-05/1.205, allocations: 25.7 kB / 0.7498 GB, free: 131 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 2.506e-05/1.205, allocations: 87.45 kB / 0.7499 GB, free: 130.9 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002703/1.205, allocations: 470.6 kB / 0.7503 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.923e-05/1.205, allocations: 0 / 0.7503 GB, free: 130.6 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 9.1e-05/1.205, allocations: 382.4 kB / 0.7507 GB, free: 130.2 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001107/1.206, allocations: 0.791 MB / 0.7515 GB, free: 130 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001252/1.208, allocations: 0.8965 MB / 0.7524 GB, free: 129.8 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/1.209, allocations: 0.93 MB / 0.7533 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/1.209, allocations: 0.7969 kB / 0.7533 GB, free: 129.5 MB / 0.5421 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002833/1.212, allocations: 1.947 MB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/1.212, allocations: 9 kB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.212, allocations: 0 / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/1.212, allocations: 11.16 kB / 0.7552 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/1.214, allocations: 404.7 kB / 0.7556 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/1.214, allocations: 6.531 kB / 0.7556 GB, free: 129 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/1.215, allocations: 175.8 kB / 0.7557 GB, free: 128.9 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.215, allocations: 42.59 kB / 0.7558 GB, free: 128.9 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002089/1.215, allocations: 124.6 kB / 0.7559 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/1.215, allocations: 42.11 kB / 0.7559 GB, free: 128.8 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/1.216, allocations: 167.9 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/1.216, allocations: 11.16 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.216, allocations: 3.688 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/1.216, allocations: 7.375 kB / 0.7561 GB, free: 128.6 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/1.217, allocations: 0.7149 MB / 0.7568 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/1.217, allocations: 0 / 0.7568 GB, free: 128.4 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001916/1.219, allocations: 279.6 kB / 0.7571 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/1.219, allocations: 3.875 kB / 0.7571 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/1.219, allocations: 56.31 kB / 0.7571 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/1.219, allocations: 11.77 kB / 0.7572 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.219, allocations: 0 / 0.7572 GB, free: 128.3 MB / 0.5421 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/1.221, allocations: 1.751 MB / 0.7589 GB, free: 127.8 MB / 0.5421 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003113/1.221, allocations: 249.6 kB / 0.7591 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/1.221, allocations: 42.95 kB / 0.7591 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/1.222, allocations: 99.02 kB / 0.7592 GB, free: 127.7 MB / 0.5421 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001209/1.222, allocations: 66.36 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-05/1.222, allocations: 38.77 kB / 0.7593 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of sorting global known variables: time 1.74e-05/1.222, allocations: 79.19 kB / 0.7594 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of sort global known variables: time 1.3e-07/1.222, allocations: 0 / 0.7594 GB, free: 127.6 MB / 0.5421 GB Notification: Performance of remove unused functions: time 0.0004595/1.223, allocations: 219.5 kB / 0.7596 GB, free: 127.6 MB / 0.5421 GB 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000252/1.223, allocations: 167.4 kB / 0.7598 GB, free: 127.5 MB / 0.5421 GB Notification: Performance of simCode: created initialization part: time 0.00168/1.225, allocations: 1.587 MB / 0.7613 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.225, allocations: 0 / 0.7613 GB, free: 127.1 MB / 0.5421 GB Notification: Performance of simCode: created simulation system equations: time 0.0006992/1.226, allocations: 0.649 MB / 0.762 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/1.226, allocations: 0 / 0.762 GB, free: 126.9 MB / 0.5421 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/1.227, allocations: 2.614 MB / 0.7645 GB, free: 125.5 MB / 0.5421 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/1.228, allocations: 0.9324 MB / 0.7654 GB, free: 124.7 MB / 0.5421 GB Notification: Performance of simCode: alias equations: time 0.001412/1.229, allocations: 0.5105 MB / 0.7659 GB, free: 124.4 MB / 0.5421 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/1.229, allocations: 51.44 kB / 0.766 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of SimCode: time 4.51e-07/1.229, allocations: 3.938 kB / 0.766 GB, free: 124.3 MB / 0.5421 GB Notification: Performance of Templates: time 0.01025/1.24, allocations: 8.819 MB / 0.7746 GB, free: 117.1 MB / 0.5421 GB make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","../files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches