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.0009861/0.0009862, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.161/1.161, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008535/0.0008536, allocations: 90.05 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6143/0.6143, allocations: 120.5 MB / 463.1 MB, free: 8.715 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002684/0.0002683, allocations: 8 kB / 0.5433 GB, free: 42.39 MB / 394.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1052, allocations: 82.84 MB / 0.6242 GB, free: 9.223 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5354/0.6407, allocations: 125.1 MB / 0.7464 GB, free: 8.781 MB / 0.5107 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001331/0.6408, allocations: 59.47 kB / 0.7465 GB, free: 8.75 MB / 0.5107 GB Notification: Performance of FrontEnd - DAE generated: time 0.03903/0.6799, allocations: 10.19 MB / 0.7565 GB, free: 15.33 MB / 0.5263 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6799, allocations: 0 / 0.7565 GB, free: 15.33 MB / 0.5263 GB Notification: Performance of Transformations before backend: time 1.305e-05/0.6799, allocations: 4 kB / 0.7565 GB, free: 15.32 MB / 0.5263 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.004064/0.684, allocations: 1.357 MB / 0.7578 GB, free: 13.94 MB / 0.5263 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.684, allocations: 12.03 kB / 0.7578 GB, free: 13.93 MB / 0.5263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.6842, allocations: 43.56 kB / 0.7578 GB, free: 13.88 MB / 0.5263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005144/0.6893, allocations: 1.307 MB / 0.7591 GB, free: 12.54 MB / 0.5263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.6894, allocations: 28.56 kB / 0.7591 GB, free: 12.52 MB / 0.5263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/0.6895, allocations: 89.67 kB / 0.7592 GB, free: 12.46 MB / 0.5263 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.6908, allocations: 0.8684 MB / 0.7601 GB, free: 11.74 MB / 0.5263 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.6908, allocations: 0 / 0.7601 GB, free: 11.74 MB / 0.5263 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.18e-05/0.6909, allocations: 19.44 kB / 0.7601 GB, free: 11.74 MB / 0.5263 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.6909, allocations: 11.95 kB / 0.7601 GB, free: 11.73 MB / 0.5263 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007786/0.6917, allocations: 0.5482 MB / 0.7606 GB, free: 11.3 MB / 0.5263 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001846/0.6936, allocations: 1.003 MB / 0.7616 GB, free: 10.34 MB / 0.5263 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002398/0.696, allocations: 1.838 MB / 0.7634 GB, free: 8.977 MB / 0.5263 GB Notification: Performance of preOpt evalFunc (simulation): time 8.661e-05/0.6961, allocations: 9 kB / 0.7634 GB, free: 8.969 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.211e-05/0.6961, allocations: 43.44 kB / 0.7635 GB, free: 8.926 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=100): time 1.753e-06/0.6961, allocations: 0 / 0.7635 GB, free: 8.926 MB / 0.5263 GB Notification: Performance of matching and sorting (n=100): time 0.00277/0.6989, allocations: 1.905 MB / 0.7653 GB, free: 7.473 MB / 0.5263 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.6989, allocations: 64.41 kB / 0.7654 GB, free: 7.395 MB / 0.5263 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.699, allocations: 93 kB / 0.7655 GB, free: 7.297 MB / 0.5263 GB Notification: Performance of collectPreVariables (initialization): time 8.598e-05/0.6991, allocations: 43.2 kB / 0.7655 GB, free: 7.262 MB / 0.5263 GB Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.6991, allocations: 86.12 kB / 0.7656 GB, free: 7.172 MB / 0.5263 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003091/0.6995, allocations: 474.7 kB / 0.766 GB, free: 6.777 MB / 0.5263 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.048e-05/0.6996, allocations: 33.25 kB / 0.7661 GB, free: 6.77 MB / 0.5263 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6997, allocations: 376.1 kB / 0.7664 GB, free: 6.418 MB / 0.5263 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.7008, allocations: 0.8354 MB / 0.7673 GB, free: 5.781 MB / 0.5263 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/0.702, allocations: 0.9502 MB / 0.7682 GB, free: 5.055 MB / 0.5263 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/0.7032, allocations: 0.9816 MB / 0.7691 GB, free: 4.355 MB / 0.5263 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.7032, allocations: 0 / 0.7691 GB, free: 4.355 MB / 0.5263 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002716/0.7059, allocations: 2.096 MB / 0.7712 GB, free: 2.77 MB / 0.5263 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.706, allocations: 10.75 kB / 0.7712 GB, free: 2.762 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.706, allocations: 4 kB / 0.7712 GB, free: 2.758 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.706, allocations: 4 kB / 0.7712 GB, free: 2.754 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00186/0.7079, allocations: 407 kB / 0.7716 GB, free: 2.367 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.7079, allocations: 11.98 kB / 0.7716 GB, free: 2.355 MB / 0.5263 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008495/0.7088, allocations: 205.5 kB / 0.7718 GB, free: 2.18 MB / 0.5263 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.7089, allocations: 43.69 kB / 0.7718 GB, free: 2.148 MB / 0.5263 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 () * Number of clocked 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.0002833/0.7092, allocations: 219.8 kB / 0.7721 GB, free: 1.961 MB / 0.5263 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.7093, allocations: 43.53 kB / 0.7721 GB, free: 1.918 MB / 0.5263 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.7097, allocations: 179.5 kB / 0.7723 GB, free: 1.914 MB / 0.5263 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.7098, allocations: 8 kB / 0.7723 GB, free: 1.906 MB / 0.5263 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7098, allocations: 12.14 kB / 0.7723 GB, free: 1.895 MB / 0.5263 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.7098, allocations: 3.984 kB / 0.7723 GB, free: 1.891 MB / 0.5263 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.7111, allocations: 0.799 MB / 0.7731 GB, free: 1.129 MB / 0.5263 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.7111, allocations: 0 / 0.7731 GB, free: 1.129 MB / 0.5263 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002104/0.7132, allocations: 283.2 kB / 0.7733 GB, free: 0.8633 MB / 0.5263 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.303e-06/0.7132, allocations: 4.875 kB / 0.7733 GB, free: 0.8594 MB / 0.5263 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.7133, allocations: 63.61 kB / 0.7734 GB, free: 0.8086 MB / 0.5263 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.7133, allocations: 4 kB / 0.7734 GB, free: 0.8047 MB / 0.5263 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.7134, allocations: 0 / 0.7734 GB, free: 0.8047 MB / 0.5263 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/0.7159, allocations: 1.843 MB / 0.7752 GB, free: 15.37 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005674/0.7165, allocations: 248.3 kB / 0.7754 GB, free: 15.11 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001635/0.7166, allocations: 59.56 kB / 0.7755 GB, free: 15.06 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009472/0.7176, allocations: 119.5 kB / 0.7756 GB, free: 14.96 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000159/0.7178, allocations: 56.72 kB / 0.7757 GB, free: 14.91 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.46e-05/0.7179, allocations: 30.98 kB / 0.7757 GB, free: 14.88 MB / 0.5419 GB Notification: Performance of sorting global known variables: time 4.282e-05/0.7179, allocations: 87.22 kB / 0.7758 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7179, allocations: 0 / 0.7758 GB, free: 14.8 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0005163/0.7184, allocations: 270.6 kB / 0.776 GB, free: 14.57 MB / 0.5419 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 () * Number of clocked 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.0002425/0.7187, allocations: 177 kB / 0.7762 GB, free: 14.41 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.00219/0.7209, allocations: 1.679 MB / 0.7778 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7209, allocations: 3.938 kB / 0.7779 GB, free: 13.09 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009129/0.7218, allocations: 0.6755 MB / 0.7785 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.722, allocations: 19.44 kB / 0.7785 GB, free: 12.56 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002458/0.7245, allocations: 3.048 MB / 0.7815 GB, free: 9.547 MB / 0.5419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.7249, allocations: 0.9262 MB / 0.7824 GB, free: 8.598 MB / 0.5419 GB Notification: Performance of simCode: alias equations: time 0.001497/0.7264, allocations: 0.5128 MB / 0.7829 GB, free: 8.082 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.7268, allocations: 55.38 kB / 0.783 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of SimCode: time 2.91e-07/0.7268, allocations: 0 / 0.783 GB, free: 8.027 MB / 0.5419 GB Notification: Performance of Templates: time 0.01218/0.739, allocations: 8.959 MB / 0.7917 GB, free: 15.07 MB / 0.5575 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