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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001807/0.001807, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002144/0.002144, allocations: 215.3 kB / 23.73 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo): time 0.9845/0.9845, allocations: 120.6 MB / 434.5 MB, free: 0.6445 MB / 334.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: ScalableTestSuite requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 63.91 kB / 0.6067 GB, free: 10.72 MB / 446.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.153, allocations: 85.87 MB / 0.6906 GB, free: 4.637 MB / 0.5139 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001821/0.1549, allocations: 0.5148 MB / 0.6911 GB, free: 4.129 MB / 0.5139 GB Notification: Performance of NFInst.instExpressions: time 0.0001759/0.155, allocations: 31.89 kB / 0.6911 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.399e-05/0.1551, allocations: 0 / 0.6911 GB, free: 4.098 MB / 0.5139 GB Notification: Performance of NFTyping.typeComponents: time 6.447e-05/0.1551, allocations: 3.938 kB / 0.6911 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of NFTyping.typeBindings: time 1.172e-05/0.1551, allocations: 0 / 0.6911 GB, free: 4.094 MB / 0.5139 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001691/0.1553, allocations: 11.97 kB / 0.6911 GB, free: 4.082 MB / 0.5139 GB Notification: Performance of NFFlatten.flatten: time 0.0009823/0.1563, allocations: 1.018 MB / 0.6921 GB, free: 3.062 MB / 0.5139 GB Notification: Performance of NFFlatten.resolveConnections: time 5.412e-05/0.1564, allocations: 8 kB / 0.6921 GB, free: 3.055 MB / 0.5139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.157, allocations: 423.5 kB / 0.6925 GB, free: 2.641 MB / 0.5139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009727/0.158, allocations: 0.5031 MB / 0.693 GB, free: 2.137 MB / 0.5139 GB Notification: Performance of NFPackage.collectConstants: time 0.0002362/0.1582, allocations: 44 kB / 0.6931 GB, free: 2.094 MB / 0.5139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001691/0.1584, allocations: 44 kB / 0.6931 GB, free: 2.051 MB / 0.5139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.1586, allocations: 235.5 kB / 0.6933 GB, free: 1.82 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.000476/0.1591, allocations: 239.1 kB / 0.6936 GB, free: 1.586 MB / 0.5139 GB Notification: Performance of NFConvertDAE.convert: time 0.0006534/0.1598, allocations: 0.5609 MB / 0.6941 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1598, allocations: 0 / 0.6941 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of FrontEnd: time 1.924e-06/0.1598, allocations: 0 / 0.6941 GB, free: 1.023 MB / 0.5139 GB Notification: Performance of Transformations before backend: time 1.436e-05/0.1598, allocations: 0 / 0.6941 GB, free: 1.023 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.004924/0.1647, allocations: 1.469 MB / 0.6955 GB, free: 15.52 MB / 0.5295 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.1648, allocations: 12.03 kB / 0.6956 GB, free: 15.51 MB / 0.5295 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001529/0.1649, allocations: 82.7 kB / 0.6956 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.165, allocations: 36.75 kB / 0.6957 GB, free: 15.38 MB / 0.5295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007609/0.1658, allocations: 273.9 kB / 0.6959 GB, free: 15.09 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.447e-05/0.1658, allocations: 33.38 kB / 0.696 GB, free: 15.06 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.166, allocations: 96.12 kB / 0.6961 GB, free: 14.96 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/0.1675, allocations: 0.869 MB / 0.6969 GB, free: 14.08 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.1676, allocations: 3.938 kB / 0.6969 GB, free: 14.07 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.132e-05/0.1676, allocations: 24 kB / 0.6969 GB, free: 14.05 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1677, allocations: 12 kB / 0.6969 GB, free: 14.04 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009555/0.1686, allocations: 0.5386 MB / 0.6975 GB, free: 13.5 MB / 0.5295 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1708, allocations: 1.017 MB / 0.6985 GB, free: 12.44 MB / 0.5295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002972/0.1738, allocations: 1.835 MB / 0.7002 GB, free: 10.59 MB / 0.5295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009408/0.1747, allocations: 0.5815 MB / 0.7008 GB, free: 10.01 MB / 0.5295 GB Notification: Performance of preOpt evalFunc (simulation): time 8.825e-05/0.1748, allocations: 9 kB / 0.7008 GB, free: 10 MB / 0.5295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/0.1748, allocations: 43.56 kB / 0.7009 GB, free: 9.953 MB / 0.5295 GB Notification: Performance of pre-optimization done (n=100): time 3.156e-06/0.1749, allocations: 8 kB / 0.7009 GB, free: 9.945 MB / 0.5295 GB Notification: Performance of matching and sorting (n=100): time 0.003285/0.1781, allocations: 1.889 MB / 0.7027 GB, free: 8.043 MB / 0.5295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.257e-05/0.1782, allocations: 68.39 kB / 0.7028 GB, free: 7.965 MB / 0.5295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.693e-05/0.1783, allocations: 97.86 kB / 0.7029 GB, free: 7.859 MB / 0.5295 GB Notification: Performance of collectPreVariables (initialization): time 9.434e-05/0.1784, allocations: 41.7 kB / 0.7029 GB, free: 7.812 MB / 0.5295 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.1784, allocations: 86.12 kB / 0.703 GB, free: 7.727 MB / 0.5295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004372/0.1789, allocations: 0.4958 MB / 0.7035 GB, free: 7.227 MB / 0.5295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.1793, allocations: 263.6 kB / 0.7037 GB, free: 6.961 MB / 0.5295 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.1795, allocations: 314 kB / 0.704 GB, free: 6.648 MB / 0.5295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/0.1809, allocations: 0.8431 MB / 0.7049 GB, free: 5.805 MB / 0.5295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001476/0.1824, allocations: 0.9638 MB / 0.7058 GB, free: 4.836 MB / 0.5295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002774/0.1851, allocations: 1.743 MB / 0.7075 GB, free: 3.09 MB / 0.5295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-06/0.1852, allocations: 3.938 kB / 0.7075 GB, free: 3.086 MB / 0.5295 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.00339/0.1885, allocations: 2.105 MB / 0.7096 GB, free: 0.9727 MB / 0.5295 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1886, allocations: 7.984 kB / 0.7096 GB, free: 0.9648 MB / 0.5295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.1886, allocations: 0 / 0.7096 GB, free: 0.9648 MB / 0.5295 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.1886, allocations: 8 kB / 0.7096 GB, free: 0.957 MB / 0.5295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/0.1905, allocations: 403.5 kB / 0.71 GB, free: 0.5625 MB / 0.5295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.692e-05/0.1906, allocations: 8 kB / 0.71 GB, free: 0.5547 MB / 0.5295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.1916, allocations: 214.9 kB / 0.7102 GB, free: 352 kB / 0.5295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.1917, allocations: 44 kB / 0.7102 GB, free: 308 kB / 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.0003352/0.1921, allocations: 213.4 kB / 0.7104 GB, free: 84 kB / 0.5295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001508/0.1922, allocations: 43.95 kB / 0.7105 GB, free: 40 kB / 0.5295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.1927, allocations: 187.8 kB / 0.7106 GB, free: 15.85 MB / 0.5452 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.668e-06/0.1927, allocations: 8 kB / 0.7106 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.1927, allocations: 4 kB / 0.7107 GB, free: 15.84 MB / 0.5452 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.1927, allocations: 7.984 kB / 0.7107 GB, free: 15.83 MB / 0.5452 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001384/0.1941, allocations: 0.7036 MB / 0.7113 GB, free: 15.08 MB / 0.5452 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.1941, allocations: 0 / 0.7113 GB, free: 15.08 MB / 0.5452 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002094/0.1962, allocations: 283.6 kB / 0.7116 GB, free: 14.8 MB / 0.5452 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.036e-05/0.1962, allocations: 4 kB / 0.7116 GB, free: 14.8 MB / 0.5452 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001558/0.1964, allocations: 63.92 kB / 0.7117 GB, free: 14.74 MB / 0.5452 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.1964, allocations: 7.938 kB / 0.7117 GB, free: 14.73 MB / 0.5452 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.1964, allocations: 0 / 0.7117 GB, free: 14.73 MB / 0.5452 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.1995, allocations: 1.91 MB / 0.7136 GB, free: 12.8 MB / 0.5452 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.2001, allocations: 175.4 kB / 0.7137 GB, free: 12.63 MB / 0.5452 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.2003, allocations: 59.94 kB / 0.7138 GB, free: 12.57 MB / 0.5452 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.2013, allocations: 111.9 kB / 0.7139 GB, free: 12.46 MB / 0.5452 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.2015, allocations: 64.88 kB / 0.7139 GB, free: 12.4 MB / 0.5452 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.082e-05/0.2016, allocations: 35.97 kB / 0.714 GB, free: 12.36 MB / 0.5452 GB Notification: Performance of sorting global known variables: time 5.085e-05/0.2016, allocations: 79.28 kB / 0.7141 GB, free: 12.29 MB / 0.5452 GB Notification: Performance of sort global known variables: time 8e-08/0.2016, allocations: 4 kB / 0.7141 GB, free: 12.28 MB / 0.5452 GB Notification: Performance of remove unused functions: time 0.0006324/0.2023, allocations: 264 kB / 0.7143 GB, free: 12.02 MB / 0.5452 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.003552/0.2058, allocations: 2.527 MB / 0.7168 GB, free: 9.469 MB / 0.5452 GB Notification: Performance of simCode: created initialization part: time 0.002775/0.2086, allocations: 1.615 MB / 0.7184 GB, free: 7.859 MB / 0.5452 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.2086, allocations: 0 / 0.7184 GB, free: 7.859 MB / 0.5452 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.2097, allocations: 0.6809 MB / 0.719 GB, free: 7.176 MB / 0.5452 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2101, allocations: 32 kB / 0.7191 GB, free: 7.145 MB / 0.5452 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.2222, allocations: 8.914 MB / 0.7278 GB, free: 14.13 MB / 0.5608 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.2225, allocations: 317.4 kB / 0.7281 GB, free: 13.79 MB / 0.5608 GB Notification: Performance of simCode: alias equations: time 0.001562/0.2241, allocations: 0.5128 MB / 0.7286 GB, free: 13.28 MB / 0.5608 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005777/0.2246, allocations: 183.4 kB / 0.7287 GB, free: 13.1 MB / 0.5608 GB Notification: Performance of SimCode: time 1.192e-06/0.2246, allocations: 0 / 0.7287 GB, free: 13.1 MB / 0.5608 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05051/0.2752, allocations: 17.74 MB / 0.7461 GB, free: 11.48 MB / 0.5764 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.48, allocations: 10.58 kB / 0.7461 GB, free: 11.47 MB / 0.5764 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100_res.mat --tempDir=temp_ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100_fmu --startTime=0 --stopTime=1 --stepSize=0.004 --timeout=300 --tolerance=1e-06 ScalableTestSuite_ScalableTestSuite_Thermal_Advection_ScaledExperiments_AdvectionReaction_N_100.fmu > ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100.pipe 2>&1) [Timeout 315.0] diffSimulationResults("ScalableTestSuite_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","/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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.840611767955124]