Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo", uses=false) Using package ScalableTestSuite with version 1.11.5 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_noopt_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_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008799/0.0008799, allocations: 184.5 kB / 17.4 MB, free: 4.387 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.133/1.133, allocations: 205.4 MB / 223.6 MB, free: 8.996 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007281/0.0007281, allocations: 89.55 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 1.11.5-master/package.mo): time 0.7046/0.7046, allocations: 120.4 MB / 440.6 MB, free: 4.078 MB / 330.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0003112/0.0003112, allocations: 12 kB / 0.5188 GB, free: 57.25 MB / 394.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09343/0.09376, allocations: 80.01 MB / 0.597 GB, free: 9.117 MB / 426.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.503/0.5968, allocations: 124.3 MB / 0.7183 GB, free: 18.99 MB / 0.4953 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001561/0.597, allocations: 60.83 kB / 0.7184 GB, free: 18.99 MB / 0.4953 GB Notification: Performance of FrontEnd - DAE generated: time 0.0327/0.6297, allocations: 10.17 MB / 0.7283 GB, free: 11.53 MB / 0.4953 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6297, allocations: 0 / 0.7283 GB, free: 11.53 MB / 0.4953 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.6297, allocations: 8 kB / 0.7283 GB, free: 11.52 MB / 0.4953 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.003463/0.6332, allocations: 1.362 MB / 0.7297 GB, free: 10.12 MB / 0.4953 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.6332, allocations: 12.03 kB / 0.7297 GB, free: 10.11 MB / 0.4953 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.6334, allocations: 36.56 kB / 0.7297 GB, free: 10.08 MB / 0.4953 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00428/0.6377, allocations: 1.312 MB / 0.731 GB, free: 8.73 MB / 0.4953 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.6378, allocations: 32.31 kB / 0.731 GB, free: 8.711 MB / 0.4953 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002073/0.638, allocations: 87.47 kB / 0.7311 GB, free: 8.648 MB / 0.4953 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.6392, allocations: 0.8665 MB / 0.7319 GB, free: 7.938 MB / 0.4953 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.6392, allocations: 4.188 kB / 0.7319 GB, free: 7.934 MB / 0.4953 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.94e-05/0.6393, allocations: 23.25 kB / 0.732 GB, free: 7.926 MB / 0.4953 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/0.6393, allocations: 12 kB / 0.732 GB, free: 7.914 MB / 0.4953 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007284/0.64, allocations: 0.5452 MB / 0.7325 GB, free: 7.492 MB / 0.4953 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001515/0.6415, allocations: 1 MB / 0.7335 GB, free: 6.531 MB / 0.4953 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002178/0.6437, allocations: 1.847 MB / 0.7353 GB, free: 5.16 MB / 0.4953 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007021/0.6444, allocations: 0.5854 MB / 0.7359 GB, free: 4.727 MB / 0.4953 GB Notification: Performance of preOpt evalFunc (simulation): time 8.909e-05/0.6445, allocations: 9 kB / 0.7359 GB, free: 4.719 MB / 0.4953 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.824e-05/0.6446, allocations: 42.56 kB / 0.7359 GB, free: 4.676 MB / 0.4953 GB Notification: Performance of pre-optimization done (n=100): time 2.344e-06/0.6446, allocations: 0 / 0.7359 GB, free: 4.676 MB / 0.4953 GB Notification: Performance of matching and sorting (n=100): time 0.002459/0.647, allocations: 1.9 MB / 0.7378 GB, free: 3.219 MB / 0.4953 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.282e-05/0.6471, allocations: 64.41 kB / 0.7378 GB, free: 3.145 MB / 0.4953 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.497e-05/0.6471, allocations: 101.8 kB / 0.7379 GB, free: 3.039 MB / 0.4953 GB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.6472, allocations: 44.77 kB / 0.738 GB, free: 3 MB / 0.4953 GB Notification: Performance of collectInitialEqns (initialization): time 2.124e-05/0.6472, allocations: 82.14 kB / 0.738 GB, free: 2.918 MB / 0.4953 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002124/0.6475, allocations: 481.3 kB / 0.7385 GB, free: 2.516 MB / 0.4953 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.428e-05/0.6476, allocations: 34.31 kB / 0.7385 GB, free: 2.508 MB / 0.4953 GB Notification: Performance of setup shared object (initialization): time 7.235e-05/0.6476, allocations: 374 kB / 0.7389 GB, free: 2.156 MB / 0.4953 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.6487, allocations: 0.8359 MB / 0.7397 GB, free: 1.523 MB / 0.4953 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/0.6497, allocations: 0.9604 MB / 0.7407 GB, free: 0.7812 MB / 0.4953 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.6518, allocations: 1.733 MB / 0.7423 GB, free: 15.55 MB / 0.5109 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.6518, allocations: 0 / 0.7423 GB, free: 15.55 MB / 0.5109 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002881/0.6547, allocations: 2.101 MB / 0.7444 GB, free: 13.97 MB / 0.5109 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/0.6548, allocations: 8 kB / 0.7444 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.6548, allocations: 0 / 0.7444 GB, free: 13.96 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.6548, allocations: 8 kB / 0.7444 GB, free: 13.95 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001751/0.6566, allocations: 403.2 kB / 0.7448 GB, free: 13.57 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.487e-05/0.6566, allocations: 8 kB / 0.7448 GB, free: 13.56 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.6575, allocations: 198 kB / 0.745 GB, free: 13.39 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/0.6576, allocations: 47.5 kB / 0.745 GB, free: 13.36 MB / 0.5109 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.0003223/0.6579, allocations: 224.1 kB / 0.7453 GB, free: 13.16 MB / 0.5109 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.6581, allocations: 39.81 kB / 0.7453 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003238/0.6584, allocations: 180.4 kB / 0.7455 GB, free: 13.12 MB / 0.5109 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/0.6584, allocations: 19.92 kB / 0.7455 GB, free: 13.1 MB / 0.5109 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6584, allocations: 4 kB / 0.7455 GB, free: 13.1 MB / 0.5109 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.198e-05/0.6584, allocations: 7.969 kB / 0.7455 GB, free: 13.09 MB / 0.5109 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.6597, allocations: 0.7903 MB / 0.7463 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.93e-06/0.6597, allocations: 0 / 0.7463 GB, free: 12.33 MB / 0.5109 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/0.6616, allocations: 286.9 kB / 0.7465 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.886e-06/0.6617, allocations: 4 kB / 0.7465 GB, free: 12.06 MB / 0.5109 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001429/0.6618, allocations: 59.62 kB / 0.7466 GB, free: 12.01 MB / 0.5109 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.6618, allocations: 7.938 kB / 0.7466 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6618, allocations: 0 / 0.7466 GB, free: 12 MB / 0.5109 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.6645, allocations: 1.85 MB / 0.7484 GB, free: 10.57 MB / 0.5109 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.6648, allocations: 252.3 kB / 0.7487 GB, free: 10.3 MB / 0.5109 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001539/0.665, allocations: 55.62 kB / 0.7487 GB, free: 10.26 MB / 0.5109 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008402/0.6659, allocations: 108.4 kB / 0.7488 GB, free: 10.16 MB / 0.5109 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001769/0.666, allocations: 64.28 kB / 0.7489 GB, free: 10.11 MB / 0.5109 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.896e-05/0.6661, allocations: 31.91 kB / 0.7489 GB, free: 10.08 MB / 0.5109 GB Notification: Performance of sorting global known variables: time 3.863e-05/0.6662, allocations: 83.22 kB / 0.749 GB, free: 10 MB / 0.5109 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6662, allocations: 0 / 0.749 GB, free: 10 MB / 0.5109 GB Notification: Performance of remove unused functions: time 0.0005725/0.6668, allocations: 262.8 kB / 0.7492 GB, free: 9.781 MB / 0.5109 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.0002511/0.667, allocations: 181.1 kB / 0.7494 GB, free: 9.613 MB / 0.5109 GB Notification: Performance of simCode: created initialization part: time 0.002401/0.6694, allocations: 1.677 MB / 0.751 GB, free: 8.297 MB / 0.5109 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.6694, allocations: 0 / 0.751 GB, free: 8.297 MB / 0.5109 GB Notification: Performance of simCode: created simulation system equations: time 0.0009153/0.6704, allocations: 0.679 MB / 0.7517 GB, free: 7.766 MB / 0.5109 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002985/0.6707, allocations: 46.48 kB / 0.7517 GB, free: 7.746 MB / 0.5109 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/0.6732, allocations: 3.048 MB / 0.7547 GB, free: 4.734 MB / 0.5109 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.6737, allocations: 0.9221 MB / 0.7556 GB, free: 3.793 MB / 0.5109 GB Notification: Performance of simCode: alias equations: time 0.001703/0.6754, allocations: 0.5128 MB / 0.7561 GB, free: 3.277 MB / 0.5109 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004149/0.6758, allocations: 51.44 kB / 0.7562 GB, free: 3.227 MB / 0.5109 GB Notification: Performance of SimCode: time 4.91e-07/0.6758, allocations: 0 / 0.7562 GB, free: 3.227 MB / 0.5109 GB Notification: Performance of Templates: time 0.01289/0.6887, allocations: 8.981 MB / 0.7649 GB, free: 10.25 MB / 0.5265 GB make -j1 -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","../files/ScalableTestSuite_noopt_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches