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.001538/0.001539, allocations: 113.5 kB / 17.06 MB, free: 6 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.001712/0.001712, allocations: 198.9 kB / 18 MB, free: 5.078 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.309/1.309, 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.9662/0.9662, allocations: 119.3 MB / 411.2 MB, free: 9.48 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 59.23 kB / 0.5705 GB, free: 40.02 MB / 462.3 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1401, allocations: 80.7 MB / 0.6493 GB, free: 13.5 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_100): time 0.001721/0.1418, allocations: 0.5046 MB / 0.6498 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001814/0.142, allocations: 31.89 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.982e-05/0.1421, allocations: 0 / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 7.542e-05/0.1422, allocations: 7.938 kB / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 1.452e-05/0.1422, allocations: 0 / 0.6498 GB, free: 12.96 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.1423, allocations: 15.91 kB / 0.6499 GB, free: 12.94 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 0.0009047/0.1433, allocations: 1.022 MB / 0.6509 GB, free: 11.92 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.1433, allocations: 8 kB / 0.6509 GB, free: 11.91 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003738/0.1437, allocations: 411.6 kB / 0.6513 GB, free: 11.51 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.1444, allocations: 0.507 MB / 0.6518 GB, free: 11 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.1445, allocations: 44 kB / 0.6518 GB, free: 10.96 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 9.606e-05/0.1446, allocations: 47.94 kB / 0.6518 GB, free: 10.91 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.1448, allocations: 231.5 kB / 0.6521 GB, free: 10.68 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.0002698/0.1451, allocations: 262.9 kB / 0.6523 GB, free: 10.43 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.0004669/0.1456, allocations: 0.5566 MB / 0.6529 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1456, allocations: 0 / 0.6529 GB, free: 9.871 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.914e-06/0.1456, allocations: 4 kB / 0.6529 GB, free: 9.867 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.1456, allocations: 0 / 0.6529 GB, free: 9.867 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.004517/0.1501, allocations: 1.534 MB / 0.6544 GB, free: 8.277 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1502, allocations: 8.031 kB / 0.6544 GB, free: 8.27 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001138/0.1503, allocations: 82.7 kB / 0.6544 GB, free: 8.18 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000123/0.1504, allocations: 40.56 kB / 0.6545 GB, free: 8.141 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000653/0.1511, allocations: 335.7 kB / 0.6548 GB, free: 7.773 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1511, allocations: 29.38 kB / 0.6548 GB, free: 7.746 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.1513, allocations: 87.98 kB / 0.6549 GB, free: 7.66 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.1526, allocations: 0.869 MB / 0.6558 GB, free: 6.781 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.1527, allocations: 3.938 kB / 0.6558 GB, free: 6.777 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.909e-05/0.1528, allocations: 20 kB / 0.6558 GB, free: 6.758 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.135e-05/0.1528, allocations: 12 kB / 0.6558 GB, free: 6.746 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.1536, allocations: 0.5386 MB / 0.6563 GB, free: 6.207 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1556, allocations: 1.115 MB / 0.6574 GB, free: 5.039 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.1583, allocations: 1.836 MB / 0.6592 GB, free: 3.191 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008535/0.1592, allocations: 0.5932 MB / 0.6598 GB, free: 2.594 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001127/0.1593, allocations: 9 kB / 0.6598 GB, free: 2.586 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1593, allocations: 51.5 kB / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=100): time 2.825e-06/0.1593, allocations: 0 / 0.6598 GB, free: 2.527 MB / 0.4983 GB Notification: Performance of matching and sorting (n=100): time 0.00296/0.1623, allocations: 1.889 MB / 0.6617 GB, free: 0.6328 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1623, allocations: 64.41 kB / 0.6617 GB, free: 0.5547 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.1624, allocations: 97.86 kB / 0.6618 GB, free: 460 kB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 8.973e-05/0.1625, allocations: 41.7 kB / 0.6619 GB, free: 412 kB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1626, allocations: 90.06 kB / 0.662 GB, free: 316 kB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003471/0.1629, allocations: 481.2 kB / 0.6624 GB, free: 15.83 MB / 0.5139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000414/0.1634, allocations: 259.6 kB / 0.6627 GB, free: 15.57 MB / 0.5139 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1635, allocations: 306 kB / 0.663 GB, free: 15.27 MB / 0.5139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.1647, allocations: 0.847 MB / 0.6638 GB, free: 14.42 MB / 0.5139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/0.166, allocations: 0.9677 MB / 0.6647 GB, free: 13.45 MB / 0.5139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002443/0.1684, allocations: 1.739 MB / 0.6664 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.1684, allocations: 3.938 kB / 0.6664 GB, free: 11.7 MB / 0.5139 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003023/0.1715, allocations: 2.117 MB / 0.6685 GB, free: 9.574 MB / 0.5139 GB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1715, allocations: 4 kB / 0.6685 GB, free: 9.57 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1715, allocations: 8 kB / 0.6685 GB, free: 9.562 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1716, allocations: 4 kB / 0.6685 GB, free: 9.559 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001855/0.1734, allocations: 407.5 kB / 0.6689 GB, free: 9.16 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1734, allocations: 8 kB / 0.6689 GB, free: 9.152 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.1744, allocations: 202.7 kB / 0.6691 GB, free: 8.953 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.1745, allocations: 44 kB / 0.6692 GB, free: 8.91 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.0003173/0.1749, allocations: 218.8 kB / 0.6694 GB, free: 8.688 MB / 0.5139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.175, allocations: 39.81 kB / 0.6694 GB, free: 8.648 MB / 0.5139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.1754, allocations: 179.6 kB / 0.6696 GB, free: 8.477 MB / 0.5139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.1754, allocations: 11.98 kB / 0.6696 GB, free: 8.465 MB / 0.5139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.1754, allocations: 4 kB / 0.6696 GB, free: 8.461 MB / 0.5139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1754, allocations: 3.984 kB / 0.6696 GB, free: 8.457 MB / 0.5139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1767, allocations: 0.8056 MB / 0.6704 GB, free: 7.602 MB / 0.5139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1768, allocations: 0 / 0.6704 GB, free: 7.602 MB / 0.5139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002051/0.1788, allocations: 279.6 kB / 0.6706 GB, free: 7.328 MB / 0.5139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.1788, allocations: 4 kB / 0.6706 GB, free: 7.324 MB / 0.5139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001428/0.179, allocations: 63.92 kB / 0.6707 GB, free: 7.262 MB / 0.5139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.179, allocations: 4 kB / 0.6707 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.179, allocations: 0 / 0.6707 GB, free: 7.258 MB / 0.5139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002751/0.1817, allocations: 1.909 MB / 0.6726 GB, free: 5.332 MB / 0.5139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000557/0.1823, allocations: 248.4 kB / 0.6728 GB, free: 5.07 MB / 0.5139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.1825, allocations: 55.94 kB / 0.6729 GB, free: 5.016 MB / 0.5139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009611/0.1834, allocations: 111.9 kB / 0.673 GB, free: 4.906 MB / 0.5139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/0.1836, allocations: 60.91 kB / 0.673 GB, free: 4.848 MB / 0.5139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.664e-05/0.1837, allocations: 27.98 kB / 0.6731 GB, free: 4.82 MB / 0.5139 GB Notification: Performance of sorting global known variables: time 5.411e-05/0.1838, allocations: 91.27 kB / 0.6731 GB, free: 4.73 MB / 0.5139 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1838, allocations: 0 / 0.6731 GB, free: 4.73 MB / 0.5139 GB Notification: Performance of remove unused functions: time 0.0006125/0.1844, allocations: 264 kB / 0.6734 GB, free: 4.473 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.003185/0.1876, allocations: 2.531 MB / 0.6759 GB, free: 1.906 MB / 0.5139 GB Notification: Performance of simCode: created initialization part: time 0.00259/0.1902, allocations: 1.685 MB / 0.6775 GB, free: 228 kB / 0.5139 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1902, allocations: 3.938 kB / 0.6775 GB, free: 224 kB / 0.5139 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.1912, allocations: 0.6809 MB / 0.6782 GB, free: 15.54 MB / 0.5295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000383/0.1916, allocations: 32 kB / 0.6782 GB, free: 15.5 MB / 0.5295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01047/0.2021, allocations: 9.137 MB / 0.6871 GB, free: 6.273 MB / 0.5295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004749/0.2026, allocations: 0.9182 MB / 0.688 GB, free: 5.324 MB / 0.5295 GB Notification: Performance of simCode: alias equations: time 0.001311/0.204, allocations: 0.5128 MB / 0.6885 GB, free: 4.809 MB / 0.5295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/0.2045, allocations: 183.4 kB / 0.6887 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of SimCode: time 7.51e-07/0.2045, allocations: 0 / 0.6887 GB, free: 4.629 MB / 0.5295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0397/0.2442, allocations: 17.48 MB / 0.7058 GB, free: 3.281 MB / 0.5452 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.801/9.045, allocations: 10.91 kB / 0.7058 GB, free: 3.273 MB / 0.5452 GB (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 --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) 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) Reference file matches