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: "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100,fileNamePrefix="ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001777/0.001777, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.002124/0.002124, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.415/1.415, allocations: 222.9 MB / 241.5 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 1.03/1.03, allocations: 119.3 MB / 411 MB, free: 9.539 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.89 kB / 0.491 GB, free: 13.62 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4909, allocations: 80.69 MB / 0.5698 GB, free: 43.38 MB / 462.3 MB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001924/0.4928, allocations: 0.512 MB / 0.5703 GB, free: 43 MB / 462.3 MB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.493, allocations: 31.53 kB / 0.5704 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.93e-05/0.4931, allocations: 0 / 0.5704 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFTyping.typeComponents: time 6.996e-05/0.4932, allocations: 0 / 0.5704 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFTyping.typeBindings: time 1.623e-05/0.4932, allocations: 4.906 kB / 0.5704 GB, free: 42.98 MB / 462.3 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001525/0.4934, allocations: 10.77 kB / 0.5704 GB, free: 42.97 MB / 462.3 MB Notification: Performance of NFFlatten.flatten: time 0.0007847/0.4941, allocations: 1.012 MB / 0.5714 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFFlatten.resolveConnections: time 5.745e-05/0.4942, allocations: 8.125 kB / 0.5714 GB, free: 42.42 MB / 462.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005925/0.4948, allocations: 415.8 kB / 0.5718 GB, free: 42.25 MB / 462.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009242/0.4957, allocations: 0.5143 MB / 0.5723 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFPackage.collectConstants: time 0.0003159/0.4961, allocations: 48.25 kB / 0.5723 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002745/0.4964, allocations: 43.44 kB / 0.5724 GB, free: 41.96 MB / 462.3 MB Notification: Performance of NFScalarize.scalarize: time 0.0002556/0.4966, allocations: 240.2 kB / 0.5726 GB, free: 41.8 MB / 462.3 MB Notification: Performance of NFVerifyModel.verify: time 0.0005318/0.4972, allocations: 257.6 kB / 0.5728 GB, free: 41.62 MB / 462.3 MB Notification: Performance of NFConvertDAE.convert: time 0.0006879/0.4979, allocations: 0.5686 MB / 0.5734 GB, free: 41.27 MB / 462.3 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.4979, allocations: 0 / 0.5734 GB, free: 41.27 MB / 462.3 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4979, allocations: 0 / 0.5734 GB, free: 41.27 MB / 462.3 MB Notification: Performance of Transformations before backend: time 1.999e-05/0.4979, allocations: 0 / 0.5734 GB, free: 41.27 MB / 462.3 MB 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.006395/0.5043, allocations: 1.693 MB / 0.5751 GB, free: 40.22 MB / 462.3 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.5044, allocations: 12.11 kB / 0.5751 GB, free: 40.21 MB / 462.3 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002534/0.5046, allocations: 87.2 kB / 0.5751 GB, free: 40.14 MB / 462.3 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002126/0.5048, allocations: 47.84 kB / 0.5752 GB, free: 40.11 MB / 462.3 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004927/0.5053, allocations: 322.7 kB / 0.5755 GB, free: 39.85 MB / 462.3 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.5054, allocations: 33.81 kB / 0.5755 GB, free: 39.83 MB / 462.3 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.5056, allocations: 88.45 kB / 0.5756 GB, free: 39.79 MB / 462.3 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.5072, allocations: 0.8745 MB / 0.5765 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.5072, allocations: 3.938 kB / 0.5765 GB, free: 39.28 MB / 462.3 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.741e-05/0.5073, allocations: 16.12 kB / 0.5765 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.5073, allocations: 9.625 kB / 0.5765 GB, free: 39.27 MB / 462.3 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/0.5084, allocations: 0.549 MB / 0.577 GB, free: 39.02 MB / 462.3 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.5104, allocations: 1.108 MB / 0.5781 GB, free: 38.26 MB / 462.3 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002928/0.5133, allocations: 1.84 MB / 0.5799 GB, free: 37.42 MB / 462.3 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009432/0.5143, allocations: 0.5929 MB / 0.5805 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001041/0.5144, allocations: 15.62 kB / 0.5805 GB, free: 37.14 MB / 462.3 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.5145, allocations: 39.41 kB / 0.5805 GB, free: 37.1 MB / 462.3 MB Notification: Performance of pre-optimization done (n=100): time 3.146e-06/0.5145, allocations: 0 / 0.5805 GB, free: 37.1 MB / 462.3 MB Notification: Performance of matching and sorting (n=100): time 0.003414/0.5179, allocations: 1.896 MB / 0.5824 GB, free: 36.24 MB / 462.3 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.606e-05/0.5179, allocations: 70.25 kB / 0.5825 GB, free: 36.17 MB / 462.3 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.518, allocations: 94.52 kB / 0.5826 GB, free: 36.07 MB / 462.3 MB Notification: Performance of collectPreVariables (initialization): time 9.692e-05/0.5182, allocations: 41.11 kB / 0.5826 GB, free: 36.03 MB / 462.3 MB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.5182, allocations: 98.03 kB / 0.5827 GB, free: 35.93 MB / 462.3 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003492/0.5186, allocations: 470.8 kB / 0.5831 GB, free: 35.52 MB / 462.3 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006061/0.5192, allocations: 263 kB / 0.5834 GB, free: 35.38 MB / 462.3 MB Notification: Performance of setup shared object (initialization): time 4.559e-05/0.5192, allocations: 306 kB / 0.5837 GB, free: 35.08 MB / 462.3 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.5205, allocations: 0.8449 MB / 0.5845 GB, free: 34.39 MB / 462.3 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.5217, allocations: 0.9638 MB / 0.5854 GB, free: 33.43 MB / 462.3 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002243/0.5239, allocations: 1.743 MB / 0.5871 GB, free: 31.68 MB / 462.3 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.5239, allocations: 7.938 kB / 0.5872 GB, free: 31.67 MB / 462.3 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.002794/0.5267, allocations: 2.109 MB / 0.5892 GB, free: 29.55 MB / 462.3 MB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/0.5268, allocations: 6.656 kB / 0.5892 GB, free: 29.55 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.5268, allocations: 4 kB / 0.5892 GB, free: 29.55 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.5268, allocations: 4 kB / 0.5892 GB, free: 29.54 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001979/0.5288, allocations: 403.5 kB / 0.5896 GB, free: 29.15 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.629e-05/0.5289, allocations: 11.94 kB / 0.5896 GB, free: 29.14 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.53, allocations: 198.7 kB / 0.5898 GB, free: 28.94 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.5302, allocations: 44 kB / 0.5899 GB, free: 28.9 MB / 462.3 MB 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.0003924/0.5306, allocations: 218.3 kB / 0.5901 GB, free: 28.68 MB / 462.3 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.5308, allocations: 39.62 kB / 0.5901 GB, free: 28.64 MB / 462.3 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004602/0.5313, allocations: 175.6 kB / 0.5903 GB, free: 28.46 MB / 462.3 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.5313, allocations: 8 kB / 0.5903 GB, free: 28.45 MB / 462.3 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.073e-05/0.5313, allocations: 7.938 kB / 0.5903 GB, free: 28.45 MB / 462.3 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.5313, allocations: 7.984 kB / 0.5903 GB, free: 28.44 MB / 462.3 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.5327, allocations: 0.7979 MB / 0.5911 GB, free: 27.59 MB / 462.3 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.5327, allocations: 4 kB / 0.5911 GB, free: 27.59 MB / 462.3 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002159/0.5349, allocations: 279.6 kB / 0.5913 GB, free: 27.31 MB / 462.3 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.375e-05/0.5349, allocations: 7.938 kB / 0.5913 GB, free: 27.3 MB / 462.3 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/0.5351, allocations: 67.92 kB / 0.5914 GB, free: 27.24 MB / 462.3 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.5351, allocations: 4 kB / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.5351, allocations: 0 / 0.5914 GB, free: 27.23 MB / 462.3 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002732/0.5379, allocations: 1.905 MB / 0.5933 GB, free: 25.31 MB / 462.3 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.5383, allocations: 252.3 kB / 0.5935 GB, free: 25.05 MB / 462.3 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.5385, allocations: 59.94 kB / 0.5936 GB, free: 24.99 MB / 462.3 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001133/0.5396, allocations: 111.9 kB / 0.5937 GB, free: 24.88 MB / 462.3 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002081/0.5399, allocations: 56.91 kB / 0.5937 GB, free: 24.82 MB / 462.3 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.54, allocations: 35.98 kB / 0.5938 GB, free: 24.79 MB / 462.3 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.54, allocations: 83.27 kB / 0.5939 GB, free: 24.71 MB / 462.3 MB Notification: Performance of sort global known variables: time 3.71e-07/0.54, allocations: 0 / 0.5939 GB, free: 24.71 MB / 462.3 MB Notification: Performance of remove unused functions: time 0.0007102/0.5407, allocations: 268 kB / 0.5941 GB, free: 24.45 MB / 462.3 MB 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.002845/0.5436, allocations: 2.527 MB / 0.5966 GB, free: 21.89 MB / 462.3 MB Notification: Performance of simCode: created initialization part: time 0.003225/0.5468, allocations: 2.329 MB / 0.5988 GB, free: 19.56 MB / 462.3 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.5468, allocations: 0 / 0.5988 GB, free: 19.56 MB / 462.3 MB Notification: Performance of simCode: created simulation system equations: time 0.0009228/0.5478, allocations: 0.6847 MB / 0.5995 GB, free: 18.87 MB / 462.3 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004607/0.5482, allocations: 41.25 kB / 0.5996 GB, free: 18.83 MB / 462.3 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009085/0.5573, allocations: 9.116 MB / 0.6085 GB, free: 9.605 MB / 462.3 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000268/0.5576, allocations: 0.9106 MB / 0.6093 GB, free: 8.672 MB / 462.3 MB Notification: Performance of simCode: alias equations: time 0.001552/0.5592, allocations: 0.5128 MB / 0.6098 GB, free: 8.156 MB / 462.3 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005752/0.5598, allocations: 187.4 kB / 0.61 GB, free: 7.973 MB / 462.3 MB Notification: Performance of SimCode: time 1.724e-06/0.5598, allocations: 0 / 0.61 GB, free: 7.973 MB / 462.3 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03857/0.5984, allocations: 16.97 MB / 0.6266 GB, free: 7.129 MB / 478.3 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.102/8.7, allocations: 8.25 kB / 0.6266 GB, free: 7.117 MB / 478.3 MB (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 & python3 -m fmpy simulate --output-file ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.csv --start-time 0 --stop-time 1 --timeout 300 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat","/var/lib/jenkins1/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