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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009911/0.0009912, allocations: 112.3 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009553/0.0009554, allocations: 198.8 kB / 18.01 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8119/0.8119, allocations: 119.3 MB / 411.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001085/0.001085, allocations: 62.09 kB / 0.571 GB, free: 39.77 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.108, allocations: 80.68 MB / 0.6498 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001447/0.1095, allocations: 0.5238 MB / 0.6503 GB, free: 12.45 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/0.1097, allocations: 27.89 kB / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.681e-05/0.1097, allocations: 0 / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 5.635e-05/0.1098, allocations: 0 / 0.6503 GB, free: 12.43 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 1.344e-05/0.1098, allocations: 3.938 kB / 0.6503 GB, free: 12.42 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.11, allocations: 15.98 kB / 0.6503 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008261/0.1108, allocations: 1.018 MB / 0.6513 GB, free: 11.39 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.215e-05/0.1108, allocations: 4 kB / 0.6513 GB, free: 11.38 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.1112, allocations: 411.6 kB / 0.6517 GB, free: 10.98 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007075/0.1119, allocations: 0.5148 MB / 0.6522 GB, free: 10.46 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.112, allocations: 44 kB / 0.6523 GB, free: 10.42 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.1122, allocations: 44 kB / 0.6523 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.1124, allocations: 235.5 kB / 0.6525 GB, free: 10.15 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002854/0.1127, allocations: 255 kB / 0.6528 GB, free: 9.898 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.1131, allocations: 0.5567 MB / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.1131, allocations: 0 / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1132, allocations: 0 / 0.6533 GB, free: 9.34 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.1132, allocations: 0 / 0.6533 GB, free: 9.34 MB / 0.4983 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.00432/0.1175, allocations: 1.549 MB / 0.6548 GB, free: 7.734 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.1175, allocations: 11.89 kB / 0.6549 GB, free: 7.723 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.1177, allocations: 52.69 kB / 0.6549 GB, free: 7.672 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004183/0.1181, allocations: 323.9 kB / 0.6552 GB, free: 7.316 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.1181, allocations: 33.38 kB / 0.6552 GB, free: 7.285 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.1183, allocations: 88.17 kB / 0.6553 GB, free: 7.199 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001262/0.1196, allocations: 0.869 MB / 0.6562 GB, free: 6.32 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1196, allocations: 4.172 kB / 0.6562 GB, free: 6.316 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.1197, allocations: 23.94 kB / 0.6562 GB, free: 6.293 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.071e-05/0.1197, allocations: 12 kB / 0.6562 GB, free: 6.281 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.1205, allocations: 0.5386 MB / 0.6567 GB, free: 5.742 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001754/0.1223, allocations: 1.122 MB / 0.6578 GB, free: 4.566 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002581/0.1249, allocations: 1.84 MB / 0.6596 GB, free: 2.715 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008408/0.1257, allocations: 0.5932 MB / 0.6602 GB, free: 2.117 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.1258, allocations: 9 kB / 0.6602 GB, free: 2.109 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.333e-05/0.1259, allocations: 43.56 kB / 0.6603 GB, free: 2.059 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.154e-06/0.1259, allocations: 4 kB / 0.6603 GB, free: 2.055 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.002876/0.1288, allocations: 1.893 MB / 0.6621 GB, free: 160 kB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.1288, allocations: 64.41 kB / 0.6622 GB, free: 80 kB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.524e-05/0.1289, allocations: 97.86 kB / 0.6623 GB, free: 15.97 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.129, allocations: 41.7 kB / 0.6623 GB, free: 15.93 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.491e-05/0.129, allocations: 90.08 kB / 0.6624 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/0.1293, allocations: 499.8 kB / 0.6629 GB, free: 15.34 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003967/0.1297, allocations: 259.6 kB / 0.6631 GB, free: 15.08 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 8.359e-05/0.1298, allocations: 310 kB / 0.6634 GB, free: 14.77 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001196/0.131, allocations: 0.847 MB / 0.6642 GB, free: 13.93 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.1323, allocations: 0.9599 MB / 0.6652 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002379/0.1347, allocations: 1.739 MB / 0.6669 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.1347, allocations: 0 / 0.6669 GB, free: 11.21 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002882/0.1376, allocations: 2.121 MB / 0.6689 GB, free: 9.086 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1376, allocations: 11.12 kB / 0.669 GB, free: 9.078 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1376, allocations: 4.031 kB / 0.669 GB, free: 9.074 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1377, allocations: 8 kB / 0.669 GB, free: 9.066 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.1395, allocations: 395.4 kB / 0.6693 GB, free: 8.68 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.1395, allocations: 12 kB / 0.6694 GB, free: 8.668 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009199/0.1404, allocations: 207 kB / 0.6696 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.1405, allocations: 44 kB / 0.6696 GB, free: 8.422 MB / 0.5139 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002672/0.1408, allocations: 222.6 kB / 0.6698 GB, free: 8.195 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.1409, allocations: 39.81 kB / 0.6698 GB, free: 8.156 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005535/0.1415, allocations: 179.6 kB / 0.67 GB, free: 7.984 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.1415, allocations: 12 kB / 0.67 GB, free: 7.973 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.954e-06/0.1415, allocations: 0 / 0.67 GB, free: 7.973 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.1415, allocations: 3.984 kB / 0.67 GB, free: 7.969 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.1428, allocations: 0.7982 MB / 0.6708 GB, free: 7.121 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.1428, allocations: 4 kB / 0.6708 GB, free: 7.117 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/0.1447, allocations: 279.6 kB / 0.6711 GB, free: 6.844 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/0.1448, allocations: 7.984 kB / 0.6711 GB, free: 6.836 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.1449, allocations: 67.92 kB / 0.6712 GB, free: 6.77 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.1449, allocations: 4 kB / 0.6712 GB, free: 6.766 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1449, allocations: 4 kB / 0.6712 GB, free: 6.762 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002638/0.1476, allocations: 1.91 MB / 0.673 GB, free: 4.836 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000356/0.1479, allocations: 252.5 kB / 0.6733 GB, free: 4.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.1481, allocations: 51.95 kB / 0.6733 GB, free: 4.52 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009446/0.1491, allocations: 119.8 kB / 0.6734 GB, free: 4.402 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.1492, allocations: 60.91 kB / 0.6735 GB, free: 4.344 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.1493, allocations: 27.98 kB / 0.6735 GB, free: 4.316 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 4.155e-05/0.1494, allocations: 83.28 kB / 0.6736 GB, free: 4.234 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1494, allocations: 3.938 kB / 0.6736 GB, free: 4.23 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0005171/0.1499, allocations: 268 kB / 0.6739 GB, free: 3.969 MB / 0.5139 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 (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.0002206/0.1501, allocations: 182.2 kB / 0.674 GB, free: 3.781 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.002296/0.1524, allocations: 1.681 MB / 0.6757 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.1524, allocations: 0 / 0.6757 GB, free: 2.098 MB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.0009595/0.1534, allocations: 0.6848 MB / 0.6763 GB, free: 1.41 MB / 0.5139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003517/0.1538, allocations: 39.94 kB / 0.6764 GB, free: 1.371 MB / 0.5139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002481/0.1562, allocations: 2.745 MB / 0.6791 GB, free: 14.59 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003969/0.1567, allocations: 0.9143 MB / 0.68 GB, free: 13.64 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001308/0.158, allocations: 0.5167 MB / 0.6805 GB, free: 13.12 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004393/0.1584, allocations: 51.44 kB / 0.6805 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of SimCode: time 2.3e-07/0.1584, allocations: 0 / 0.6805 GB, free: 13.07 MB / 0.5295 GB Notification: Performance of Templates: time 0.01348/0.1719, allocations: 10.01 MB / 0.6903 GB, free: 3.066 MB / 0.5295 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches