Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_OB_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_OB_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_OB_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.001155/0.001155, allocations: 116.1 kB / 17.12 MB, free: 5.883 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.001049/0.001049, allocations: 196 kB / 18.06 MB, free: 4.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.4839/0.4839, allocations: 228.4 MB / 247.2 MB, free: 4.324 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.6465/0.6465, allocations: 120.7 MB / 420.8 MB, free: 7.281 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 67.23 kB / 0.5881 GB, free: 48.54 MB / 478.2 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1056, allocations: 84.64 MB / 0.6708 GB, free: 2.73 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001222/0.1069, allocations: 0.5284 MB / 0.6713 GB, free: 2.207 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001554/0.107, allocations: 23.89 kB / 0.6713 GB, free: 2.184 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.279e-05/0.107, allocations: 0 / 0.6713 GB, free: 2.184 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 5.447e-05/0.1071, allocations: 0 / 0.6713 GB, free: 2.184 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 1.245e-05/0.1071, allocations: 11.88 kB / 0.6713 GB, free: 2.172 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1072, allocations: 11.97 kB / 0.6714 GB, free: 2.16 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0008518/0.1081, allocations: 1.018 MB / 0.6724 GB, free: 1.141 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 3.649e-05/0.1081, allocations: 4 kB / 0.6724 GB, free: 1.137 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003685/0.1085, allocations: 415.6 kB / 0.6728 GB, free: 0.7305 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000682/0.1092, allocations: 0.507 MB / 0.6732 GB, free: 228 kB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.76e-05/0.1093, allocations: 51.88 kB / 0.6733 GB, free: 176 kB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.754e-05/0.1094, allocations: 44 kB / 0.6733 GB, free: 132 kB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.1096, allocations: 239.4 kB / 0.6736 GB, free: 15.89 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.0002649/0.1098, allocations: 255 kB / 0.6738 GB, free: 15.64 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0004648/0.1103, allocations: 0.5528 MB / 0.6743 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1103, allocations: 0 / 0.6743 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of FrontEnd: time 3.136e-06/0.1103, allocations: 4 kB / 0.6744 GB, free: 15.09 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 9.588e-06/0.1103, allocations: 0 / 0.6744 GB, free: 15.09 MB / 0.5139 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.003987/0.1143, allocations: 1.545 MB / 0.6759 GB, free: 13.48 MB / 0.5139 GB Notification: Performance of prepare preOptimizeDAE: time 2.845e-05/0.1143, allocations: 12.03 kB / 0.6759 GB, free: 13.47 MB / 0.5139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.1145, allocations: 44.7 kB / 0.6759 GB, free: 13.43 MB / 0.5139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004474/0.1149, allocations: 323.9 kB / 0.6762 GB, free: 13.07 MB / 0.5139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.73e-05/0.1149, allocations: 29.38 kB / 0.6763 GB, free: 13.05 MB / 0.5139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.1151, allocations: 84.17 kB / 0.6763 GB, free: 12.96 MB / 0.5139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1164, allocations: 0.8848 MB / 0.6772 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1164, allocations: 0 / 0.6772 GB, free: 12.07 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.837e-05/0.1164, allocations: 19.94 kB / 0.6772 GB, free: 12.05 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1165, allocations: 8 kB / 0.6772 GB, free: 12.04 MB / 0.5139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008036/0.1173, allocations: 0.5464 MB / 0.6778 GB, free: 11.5 MB / 0.5139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.1189, allocations: 1.115 MB / 0.6788 GB, free: 10.33 MB / 0.5139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002516/0.1214, allocations: 1.828 MB / 0.6806 GB, free: 8.488 MB / 0.5139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008159/0.1222, allocations: 0.5854 MB / 0.6812 GB, free: 7.898 MB / 0.5139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.379e-05/0.1223, allocations: 9 kB / 0.6812 GB, free: 7.891 MB / 0.5139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.1223, allocations: 43.56 kB / 0.6813 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of pre-optimization done (n=100): time 1.793e-06/0.1223, allocations: 0 / 0.6813 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of matching and sorting (n=100): time 0.002785/0.1251, allocations: 1.897 MB / 0.6831 GB, free: 5.938 MB / 0.5139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.36e-05/0.1252, allocations: 60.41 kB / 0.6832 GB, free: 5.863 MB / 0.5139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.252e-05/0.1252, allocations: 109.8 kB / 0.6833 GB, free: 5.746 MB / 0.5139 GB Notification: Performance of collectPreVariables (initialization): time 8.212e-05/0.1253, allocations: 41.7 kB / 0.6833 GB, free: 5.699 MB / 0.5139 GB Notification: Performance of collectInitialEqns (initialization): time 4.763e-05/0.1254, allocations: 86.09 kB / 0.6834 GB, free: 5.609 MB / 0.5139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003532/0.1257, allocations: 0.492 MB / 0.6839 GB, free: 5.113 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003734/0.1261, allocations: 259.6 kB / 0.6841 GB, free: 4.855 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.000111/0.1262, allocations: 310 kB / 0.6844 GB, free: 4.547 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00116/0.1274, allocations: 0.847 MB / 0.6852 GB, free: 3.699 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001235/0.1286, allocations: 0.9638 MB / 0.6862 GB, free: 2.727 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.131, allocations: 1.743 MB / 0.6879 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.131, allocations: 0 / 0.6879 GB, free: 0.9805 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002821/0.1338, allocations: 2.109 MB / 0.6899 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.1338, allocations: 4 kB / 0.6899 GB, free: 14.86 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.1338, allocations: 7.984 kB / 0.69 GB, free: 14.85 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1338, allocations: 8.031 kB / 0.69 GB, free: 14.84 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.1355, allocations: 399.4 kB / 0.6903 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.267e-05/0.1355, allocations: 8 kB / 0.6904 GB, free: 14.45 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008568/0.1363, allocations: 214.9 kB / 0.6906 GB, free: 14.23 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.181e-05/0.1364, allocations: 44 kB / 0.6906 GB, free: 14.19 MB / 0.5295 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.0002919/0.1367, allocations: 214.1 kB / 0.6908 GB, free: 13.97 MB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.1368, allocations: 47.81 kB / 0.6908 GB, free: 13.93 MB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.1372, allocations: 179.6 kB / 0.691 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.1372, allocations: 8 kB / 0.691 GB, free: 13.75 MB / 0.5295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.1372, allocations: 8 kB / 0.691 GB, free: 13.74 MB / 0.5295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.1373, allocations: 3.984 kB / 0.691 GB, free: 13.73 MB / 0.5295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.1384, allocations: 0.7903 MB / 0.6918 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.1384, allocations: 4 kB / 0.6918 GB, free: 12.89 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/0.1402, allocations: 287.6 kB / 0.6921 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.1402, allocations: 4 kB / 0.6921 GB, free: 12.61 MB / 0.5295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.1404, allocations: 63.92 kB / 0.6922 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.1404, allocations: 4 kB / 0.6922 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.1404, allocations: 4 kB / 0.6922 GB, free: 12.54 MB / 0.5295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002596/0.143, allocations: 1.91 MB / 0.694 GB, free: 10.61 MB / 0.5295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003568/0.1433, allocations: 252.5 kB / 0.6943 GB, free: 10.34 MB / 0.5295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.1435, allocations: 55.89 kB / 0.6943 GB, free: 10.29 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/0.1444, allocations: 115.8 kB / 0.6944 GB, free: 10.18 MB / 0.5295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001882/0.1445, allocations: 60.91 kB / 0.6945 GB, free: 10.12 MB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.57e-05/0.1446, allocations: 31.98 kB / 0.6945 GB, free: 10.09 MB / 0.5295 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.1447, allocations: 79.28 kB / 0.6946 GB, free: 10.01 MB / 0.5295 GB Notification: Performance of sort global known variables: time 7e-08/0.1447, allocations: 0 / 0.6946 GB, free: 10.01 MB / 0.5295 GB Notification: Performance of remove unused functions: time 0.0005389/0.1452, allocations: 264 kB / 0.6948 GB, free: 9.75 MB / 0.5295 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.0002244/0.1454, allocations: 185.3 kB / 0.695 GB, free: 9.562 MB / 0.5295 GB Notification: Performance of simCode: created initialization part: time 0.002282/0.1477, allocations: 1.619 MB / 0.6966 GB, free: 7.941 MB / 0.5295 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/0.1477, allocations: 0 / 0.6966 GB, free: 7.941 MB / 0.5295 GB Notification: Performance of simCode: created simulation system equations: time 0.0009483/0.1487, allocations: 0.677 MB / 0.6973 GB, free: 7.262 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.149, allocations: 35.94 kB / 0.6973 GB, free: 7.227 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002653/0.1516, allocations: 2.749 MB / 0.7 GB, free: 4.445 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000501/0.1521, allocations: 0.9182 MB / 0.7009 GB, free: 3.492 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001177/0.1533, allocations: 0.5128 MB / 0.7014 GB, free: 2.977 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003912/0.1537, allocations: 51.44 kB / 0.7014 GB, free: 2.926 MB / 0.5295 GB Notification: Performance of SimCode: time 3.81e-07/0.1537, allocations: 0 / 0.7014 GB, free: 2.926 MB / 0.5295 GB Notification: Performance of Templates: time 0.01946/0.1732, allocations: 10.16 MB / 0.7114 GB, free: 8.797 MB / 0.5452 GB make -j1 -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.makefile (rm -f ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; mkfifo ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe ; head -c 1048576 < ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe >> ../files/ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.sim & ./ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > ScalableTestSuite_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_OB_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_OB_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches